ANSWERS: 1
  • Do you have Mac OSX? If so, then it should have the "Bash" shell. Here's a bash script that you can use to convert WMA to MP3 (you need MPlayer and LAME installed): <CODE> #!/bin/bash current_directory=$( pwd ) #remove spaces for i in *.wma; do mv "$i" `echo $i | tr ' ' '_'`; done #remove uppercase for i in *.[Ww][Mm][Aa]; do mv "$i" `echo $i | tr '[A-Z]' '[a-z]'`; done #Rip with Mplayer / encode with LAME for i in *.wma ; do mplayer -vo null -vc dummy -af resample=44100 -ao pcm:waveheader $i && lame -m s audiodump.wav -o $i; done #convert file names for i in *.wma; do mv "$i" "`basename "$i" .wma`.mp3"; done rm audiodump.wav </CODE> Don't copy the CODE tags if they appear (not sure if this application supports those tags). Copy the above text between the "CODE" tags into a file called "wmamp3". Give this script executable permissions (obviously, so you can execute it), then copy it to one of the directories in your PATH (so that you don't have to type the full path to this script everytime). Then, just go into the directory where you have the WMA's that you want converted, and type "wmamp3". Note that this script will replace the original WMA with the new MP3, so if you don't want that to happen, copy the original WMA to another directory before you do this. Also keep in mind that this script will convert EVERY WMA file in the current directory to MP3. So move any WMA's that you don't want converted. Hope this helps! --JoeLinux

Copyright 2023, Wired Ivy, LLC

Answerbag | Terms of Service | Privacy Policy