How to convert from WMA to MP3

Converting Windows Media Audio files into MP3 format is rather easy with mplayer and lame. My car stereo plays MP3s, so WMA is of no use to me!
This code is based on this script but I have to wonder why they overwrote the wma file?
Piping the output of mplayer into lame is left as an easy lesson for the reader!for i in *.wma ; do mplayer -vo null -vc dummy -af resample=44100 -ao pcm -waveheader "$i" && lame -m j -h --vbr-new -b 160 audiodump.wav -o "`basename "$i" .wma`.mp3"; done; rm -f audiodump.wav

The latest version of mplayer complains about -ao pcm -waveheader – actually, it just needs to be replaced with -ao pcm:waveheader, and everything works again. Btw, thanks for the instruction, it is both useful and educational 😉

Sorry Wilson, it probably means you are on the completely wrong page because this is how to convert WMA to MP3 files for Linux and if you don’t speak computer then I very much doubt you are a Linux user

Here is a similar script I made.
It can recursively look for files in subdirectories by passing -r, as well as it can remove the wma file for you by passing -d. The script does not need to remove any whitespaces, so you can use nice file names! ;D

Thanks to this forum I managed to adapt the method to Mac OS. I used the script of Bernhard. On macs, the main difficulties are involved in installing mplayer. I described all the steps here: http://www.mimuw.edu.pl/~szymtor/wma2mp3.html. Hope its useful!

I’ve been struggling to find a way to do this without mplayer.
It’s been a pain the the a** to get it to a reasonably productive state, but this is how it goes:
1-run the command below to generate a script which will convert your files
2-check the script for apostrophes or single quites or double quotes in the names of your files
3-run the script

The Golden Compass
First of a three part fantasy/sci-fi series. Some people hate it because of it's anti God message but it's a great read. I found it hard to put down. There's even a Snopes article about the film adaptation.