Convert audio files with pydub.
Use the package manager pip to install pydub.
pip install pydub
$ python audioconverter.py song.mp3 wav
Converting from mp3 to wav
File saved to /home/user/music/song.wav
python audioconverter.py <path to audio file> <format>
Run ffmpeg -formats to view supported formats, since Pydub uses ffmpeg.