dlpy.speech_utils.convert_stereo_to_mono¶
-
dlpy.speech_utils.
convert_stereo_to_mono
(fragment, width)¶ Convert stereo fragment to mono.
Parameters: - fragment : bytes object
Specifies the original fragment.
- width : int
Specifies the fragment’s original sampwidth.
Returns: - bytes
Converted audio in mono type.