92

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?

TellMeWhy
  • 17,964
  • 41
  • 100
  • 142

2 Answers2

128

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
TellMeWhy
  • 17,964
  • 41
  • 100
  • 142
0

soundconverter is also able to do it

sudo apt install soundconverter
soundconverter -b input.mp3 -f wav -o output

Will create a directory output and convert input.wav into it.

sezanzeb
  • 308