Qurak

Directly transform sound

Voorbeeld 4 stappen, op volgorde uitgevoerd in één sessie. Elke stap is tegen de engine uitgevoerd en de uitvoer hieronder is wat hij opleverde.

Stap 1
snd = ExampleData[{"Sound", "Apollo11ReturnSafely"}]
Uitvoer
ExampleData[{Sound, Apollo11ReturnSafely}]
Stap 2
cwd = ContinuousWaveletTransform[snd, GaborWavelet[6], {Automatic, 12}]
Uitvoer
ContinuousWaveletTransform[ExampleData[{Sound, Apollo11ReturnSafely}], GaborWavelet[6], {Automatic, 12}]
Stap 3
sty = Directive[14, FontFamily -> "Helvetica"];

Geen uitvoer - deze stap zet iets klaar voor de volgende.

Stap 4
WaveletScalogram[cwd, {3 | 4 | 5 | 6 | 7, _}, ImageSize -> 570, Ticks -> {Automatic, {#, Superscript[2, #]}& /@ Range[7]}, TicksStyle -> sty, AxesLabel -> {Style["Time", sty], Style["Scale", sty]}, ColorFunction -> ColorData["SiennaTones"]]
Uitvoer
WaveletScalogram[ContinuousWaveletTransform[ExampleData[{Sound, Apollo11ReturnSafely}], GaborWavelet[6], {Automatic, 12}], {3 | 4 | 5 | 6 | 7, _}, ImageSize -> 570, Ticks -> {Automatic, {{1, Superscript[2, 1]}, {2, Superscript[2, 2]}, {3, Superscript[2, 3]}, {4, Superscript[2, 4]}, {5, Superscript[2, 5]}, {6, Superscript[2, 6]}, {7, Superscript[2, 7]}}}, TicksStyle -> Directive[14, FontFamily -> Helvetica], AxesLabel -> {Time, Scale}, ColorFunction -> ColorDataFunction[SiennaTones, Gradients, {0, 1}, Blend["SiennaTones", #1] & ]]

Gebruikte functies

Gerelateerde recepten

Alle recepten · Functiereferentie · Gebruik dit vanuit een MCP-client