I just can't type... :( the last part of the mpg123 line should have -c 2 instead of -c 3. -c is the number of channels. I named the file mp3toCD for convenience. So, to correct my typo for those who cut and paste: #!/bin/sh for i in *.mp3 do FILE=${i%.mp3} echo $FILE mpg123 -b 10000 -s ${FILE}.mp3 | sox -t raw -r 44100 -s -w -c 2 - ${FILE}.wav done