提交 1bafb9c6 编写于 作者: chrisxu2014's avatar chrisxu2014

add augmentor class

上级 a061d1b8
......@@ -11,7 +11,7 @@ class ResampleAugmentor(AugmentorBase):
:param rng: Random generator object.
:type rng: random.Random
:param new_sample_rate: New sample rate in Hz
:param new_sample_rate: New sample rate in Hz.
:type new_sample_rate: int
"""
......@@ -27,4 +27,4 @@ class ResampleAugmentor(AugmentorBase):
:param audio: Audio segment to add effects to.
:type audio: AudioSegment|SpeechSegment
"""
audio_segment.resample(self._new_sample_rate)
\ No newline at end of file
audio_segment.resample(self._new_sample_rate)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册