mindspore/docs/api/api_python/dataset_audio/mindspore.dataset.audio.Det...

15 lines
919 B
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

mindspore.dataset.audio.DetectPitchFrequency
============================================
.. py:class:: mindspore.dataset.audio.DetectPitchFrequency(sample_rate, frame_time=0.01, win_length=30, freq_low=85, freq_high=3400)
检测音调频率。
基于归一化互相关函数和中位平滑来实现。
参数:
- **sample_rate** (int) - 波形的采样频率如44100 (单位Hz)值不能为0。
- **frame_time** (float, 可选) - 帧的持续时间值必须大于零。默认值0.01。
- **win_length** (int, 可选) - 中位平滑的窗口长度以帧数为单位该值必须大于零。默认值30。
- **freq_low** (int, 可选) - 可检测的最低频率Hz该值必须大于零。默认值85。
- **freq_high** (int, 可选) - 可检测的最高频率Hz该值必须大于零。默认值3400。