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?
ffmpeg -i input.mp3 output.wav
sudo apt-get install mpg123
Then to convert mp3 to wav (using -w option)
mpg123 -w output.wav input.mp3
ls
output. Instead use for f in *.mp3; do ffmpeg -i "$f" "$(basename $f).wav"; done
. This also includes proper quoting and limits calling ffmpeg for mp3 files only.