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

13 lines
355 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.Gain
============================
.. py:class:: mindspore.dataset.audio.Gain(gain_db=1.0)
放大或衰减整个音频波形。
参数:
- **gain_db** (float) - 增益调整单位为分贝dB。默认值1.0。
异常:
- **TypeError** - 当 `gain_db` 的类型不为float。