sometimes, you need to take your mp3s another direction, so when you need to go from mp3 to wav, use mpg123 like so
mpg123 -w name_of_wav.wav name_of_mp3.mp3
sometimes, you need to take your mp3s another direction, so when you need to go from mp3 to wav, use mpg123 like so
mpg123 -w name_of_wav.wav name_of_mp3.mp3
This assumes you’ve already run the convert spaces script. The following script will use mplayer and lame to convert WMAs to MP3s. Not much to talk about here. The wma is dumped to a wav which is then encoded in lame. You’ll end up with WMAs and MP3s of your music and you can pick and choose what you would like to do with them.
for i in `find ./ -type f |grep -i .wma`; do
mplayer -vo null -vc dummy -af resample=44100 -ao pcm:waveheader $i && lame -m s out.wav -o $i;
cp “$i” “`basename “$i” .wma`.mp3″
rm out.wav
done