Well I dont know how to do this programmatically, maybe your ready to try somethign else,
lets be realistic here dont drop hundreds on,, I used Super Video which can also convert Audio to MP3.
Put the output container to mp3 top left panel, then set your bitrates if needed stereo etc drag and drop your folder of wavs on then check the save to directory and hit encode.
I make a lot of wavs in Audacity for background audio and found that Super supported dropping a lot of wavs on and it would convert it all one after the after
Here's a guide but scroll it back to the top
http://www.erightsoft.net/
Download here
Download SUPER © setup file
http://www.erightsoft.com/
Cheers
Main Topics
Browse All Topics





by: Matt330Posted on 2008-09-02 at 13:53:22ID: 22371604
After searching around more, I think there may be two solutions (I only post them prior to trying because I feel like it may clarify the original question - I'll update if they work).
.mp3"
1. I'm hopeful the following will work to convert all in a single directory "mp3"
a=$(find /home/me/wav -name "*.wav")
for i in $a
do
lame -h -b 192 "$i" "$/home/music/mp3/{i%.wav}
done
The only problem is I have 8 gb of mp3s filed in a single folder called "mp3"
2. the other option would be to copy the entire directory "wav" (space here is why I'm hesitant to do this - hard drive is limited, though I think I have barely enough room). Run my original :
for i in *.wav; do lame -h -b 192 "$i" "${i%.wav}.mp3";
then remove all the "wav" file (hopefully) from that directory and all subdirectories with:
find ~/Music -name "*.wav" -exec rm '{}' \;
so I retain the structure of this. I'll post back if either of these work - but if there is an easier way to streamline option #2 but not having to copy the entire "wav" directory, I'm interested in hearing (this was my original question).