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

17 lines
654 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.DeemphBiquad
====================================
.. py:class:: mindspore.dataset.audio.DeemphBiquad(sample_rate)
给音频波形施加CDIEC 60908去重音一种高音衰减搁置滤波器效果。
接口实现方式类似于 `SoX库 <http://sox.sourceforge.net/sox.html>`_
参数:
- **sample_rate** (int) - 波形的采样频率只能为44100或48000(Hz)。
异常:
- **TypeError** - 当 `sample_rate` 的类型不为int。
- **ValueError** - 当 `sample_rate` 不为44100或48000。
- **RuntimeError** - 当输入音频的shape不为<..., time>。