add audio file

pull/2/head
chrisxu2016 8 years ago
parent 21161b0165
commit 25ce7ebe7b

@ -82,8 +82,8 @@ class AudioSegment(object):
def concatenate(cls, *segments): def concatenate(cls, *segments):
"""Concatenate an arbitrary number of audio segments together. """Concatenate an arbitrary number of audio segments together.
:param *segments: Input audio segments. :param *segments: Input audio segments to be concatenated.
:type *segments: AudioSegment :type *segments: tuple of AudioSegment
:return: Audio segment instance as concatenating results. :return: Audio segment instance as concatenating results.
:rtype: AudioSegment :rtype: AudioSegment
:raises ValueError: If the number of segments is zero, or if the :raises ValueError: If the number of segments is zero, or if the

@ -69,8 +69,8 @@ class SpeechSegment(AudioSegment):
def concatenate(cls, *segments): def concatenate(cls, *segments):
"""Concatenate an arbitrary number of speech segments together. """Concatenate an arbitrary number of speech segments together.
:param *segments: Input speech segments. :param *segments: Input speech segments to be concatenated.
:type *segments: SpeechSegment :type *segments: tuple of SpeechSegment
:return: Speech segment instance. :return: Speech segment instance.
:rtype: SpeechSegment :rtype: SpeechSegment
:raises ValueError: If the number of segments is zero, or if the :raises ValueError: If the number of segments is zero, or if the

Loading…
Cancel
Save