Ubuntu – Convert mp3 file to wav? using the command line

17.04command lineconvertmp3

I have an Mp3 file i need to convert to .wav to be able to import it into a voice changer program.

How do I do this using the command line?

Best Answer

Using ffmpeg - installed by default

ffmpeg -i input.mp3 output.wav 

Alternative - mpg123

sudo apt-get install mpg123

Then to convert mp3 to wav (using -w option)

mpg123 -w output.wav input.mp3