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?
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
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.
lsoutput. Instead usefor f in *.mp3; do ffmpeg -i "$f" "$(basename $f).wav"; done. This also includes proper quoting and limits calling ffmpeg for mp3 files only. – scai Feb 17 '20 at 20:32