convert a whole folder of .wav files w/ LAME?

hdeck

Lifer
Sep 26, 2002
14,530
1
0
i'm pretty new to using EAC and LAME to rip my cds, but i was wondering if there was a way to compress a whole folder of songs at once instead of doing them 1 by 1 in the DOS prompt.
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
I'm sure there's some way to do a for loop in dos, or you could always install cygwin and do:

for i in *mp3; do lame -whatever "$i" "${i}.mp3"; done

.. or install python and do:

import glob, os
for i in glob.glob("*mp3"): os.system('lame -whatever "%s" "%s.mp3"' % (i,i))
 

hdeck

Lifer
Sep 26, 2002
14,530
1
0
:confused: you make that sound so easy.

EAC used to be able to compress the songs to mp3 as it was ripping, but now when it gets to that step it just opens the main LAME menu then closes without compressing it.
 

Sid59

Lifer
Sep 2, 2002
11,879
3
81
you can compress a whole folder but not at exactly the same time for each wav. Each wav has to be encoded. Use RazorLame, EAC, Cdex, whatever you used to rip the wavs.
 

Workin'

Diamond Member
Jan 10, 2000
5,309
0
0
In EAC, go to Tools -> Process .wavs and you can select an entire folder to convert.