I recently needed to convert mp3's to raw audio using the command line. There are many great links out there for how to do this; however, many of the command line options are deprecated and have been for a while. I liked this
link.
The following currently works:
Code:
for i in $(ls *mp3); do ffmpeg -i $i "$i.wav"; done
for i in $(ls *wav); do sox -r 48k -b 16 -L -c 1 $i $i.raw; done
Before burning you can check the sound with:
Code:
play -r 48k -s -b 32 -L -c 1 somefile.raw