Help - Search - Members - Calendar
Full Version: Introducing LameGain
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - General
Jebus
LameGain is a fairly simple VBScript application that takes a source WAVE and CUE sheet (generated by EAC), and automatically does the following:

1) Cuts it into separate tracks (in a temporary directory)
2) Runs a WaveGain album analysis.
3) Runs Lame with the --scale option from WaveGain on all the files.
4) Tags and copies the MP3s to your "My Music" folder.


Now, why this is cool, and why you might want to use this over Wack (which I shamelessly borrowed from).

1) Its just a script, you can edit it yourself if you don't like how i do something.
2) It doesn't HAVE to be run from EAC directly. As a parameter it just takes a WAVE file, and then looks for a cue sheet named CDImage.cue in the same directory. All track splitting and tag information is taken from the cue sheet. This means you could for instance just rip to image/cue from EAC, FLAC the image for storage, and use this to rip a quick set of MP3s at a later time with minimal interaction.

Why you might want to use Wack or Mareo instead:
1) This thing only supports Lame, baby. I guess you could change it though.


Some possibly controversial settings you might want to change:

1) By default it rips to "My Music/artist_name/album_title". WILL clobber any existing folder of the same artist/album name.
2) Tags are ID3v2.3 only, including artist/title/album/genre/track#/year/comment.
3) track number is in xx/xx format.
4) Comment string says "EAC secure rip, attenuated x.x dB" (based on --scale used.)
5) I'm using LAME 3.97 (alpha 10)... just replace the binary if you want to use a different one.
5) using "-V 2 --vbr-new --replaygain-accurate -c --scale X.XXXX". Again, free to change it. You'll probably want to if you change to an older LAME version.


Feedback/feature requests appreciated, but I'm not going to argue over my setting decisions... its how i like things to be done.

Download Here

Cheers!
Jeremy

EDIT: Version 1.1 now up, much easier to customize. Can toggle between tag types, turn on/off scaling, fiddle with LAME parameters etc.
kalmark
QUOTE (Jebus @ May 30 2005, 06:14 PM)
I'm using LAME 3.97 (alpha 10)... just replace the binary if you want to use a different one.

I think you should not distribute an alpha version, thus encouraging people to use it. You should settle with 3.90.3 or 3.96.1 in your upload, and, of course, use whatever you wish for your own purpose.

Just my 2 cents... rolleyes.gif
Jebus
Well if the LAME devs complain i'll pull it, but otherwise I think 3.97 is stable enough for use, and at this point I'll be surprised if a final is ever released (4.0 might be out sooner than that).
wolfsong
Should the scaleFactor in line 105 be .89 instead of .98?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.