dlpy.speech_utils.convert_one_audio_file¶
-
dlpy.speech_utils.
convert_one_audio_file
(local_audio_file, converted_local_audio_file)¶ Convert a local audio file into a wav format that only contains 1 channel with 16 bits and 16K HZ.
Parameters: - local_audio_file : string
Local location to the audio file to be converted.
- converted_local_audio_file : string
Local location to store the converted audio file
Returns: - None
Raises: - DLPyError
If anything goes wrong, it complains and prints the appropriate message.