Utility Functions
-
MP3 to WAV
Run the
mp3towav.py
on CMD line, with arguments:- file name (str)
- interval (optional, slicing the audio into interval second pieces)
-
Speech to Text (jjuraska)
- Put audio files in the data folder
python3 client.py [your_api_key] [lang_code] [response_type] [recognition_mode] [path_to_audio_file]