Qurak

Directly transform sound

Example 4 steps, run in order in one session. Every step was executed against the engine and the output below is what it produced.

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

No output - this step sets something up for the next one.

Step 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"]]
Output
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] & ]]

Functions used

Related recipes

All recipes · Function reference · Use this from an MCP client