Qurak

Directly transform sound

Ví dụ 4 bước, chạy theo thứ tự trong một phiên. Từng bước đều được thực thi trên bộ máy và đầu ra bên dưới là những gì nó tạo ra.

Bước 1
snd = ExampleData[{"Sound", "Apollo11ReturnSafely"}]
Đầu ra
ExampleData[{Sound, Apollo11ReturnSafely}]
Bước 2
cwd = ContinuousWaveletTransform[snd, GaborWavelet[6], {Automatic, 12}]
Đầu ra
ContinuousWaveletTransform[ExampleData[{Sound, Apollo11ReturnSafely}], GaborWavelet[6], {Automatic, 12}]
Bước 3
sty = Directive[14, FontFamily -> "Helvetica"];

Không có đầu ra - bước này chuẩn bị cho bước kế tiếp.

Bước 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"]]
Đầu ra
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] & ]]

Các hàm được dùng

Công thức liên quan

Tất cả công thức · Tài liệu tham chiếu hàm · Dùng cái này từ một client MCP