Help - Search - Members - Calendar
Full Version: --replay-gain Flac Switch Question
Hydrogenaudio Forums > Lossless Audio Compression > FLAC
Eli
Does the flac --replay-gain switch add just per song replaygain or is their a command line switch to get EAC to add per album replay gain ALSO?
dreamliner77
IIRC, EAC is only capable of passing the commandline on a per file basis, therefore can only do track gain. Replaygain for FLAC can be used from the commandline adding multiple files for album gain.
Go2Null
Note that FLAC always add both track and album ReplayGain values, however, since only 1 track is passed, they will both be the same.
To add the correct Album Replay gain, use metaflac or foobar, etc.
If you wish, I have a windows batch file that will treat all the (FLAC) files in a directory as an album and use metaflac to add the Album gains (the track gains are also re-written).
[Edit]Correted some typos.
Eli
go2null,
thanks for the offer but Ive been using foobar and its easy enough. It would be nice if EAC could do both album and track gain but o well...

I did put a feature request over at EAC for this so if anyone else like the idea head on over and add your support:
http://www.digital-inn.de/showthread.php?t=25899
leland
I'd be interested in your batch file if you'd like to post it here.

I like foobar, but for ripping I'd like to have as few steps that require me to use a mouse as possible.
ak
You can always cd to your music dir and issue something like 'sweep if exist *.flac metaflac --add-replay-gain *.flac'.
Although this will overwrite any existing values, so you'll have to move non-rg'ed albums to some temp dir first and run from there, I think.

Oh, or you mean you want to do it from eac cmdline?
Eli
Yes, I would like to do it from the EAC command line with the --replay-gain switch, to do BOTH album and track.
Go2Null
leland, I have uploaded the batch file here.

Any feedback welcome.
Mr. Grinch
Thanks for the script, Go2Null.

I have just ripped my CDs using EAC and FLAC. They are in the folder format artist / album / track-title.flac.

It sounds like your script can do what I need. But I'm also wondering if the option in Foobar 2000, ReplayGain / Scan Selection as Multiple Albums will do the same thing.

The info on the ReplayGain site is pretty old. I'm currently scanning the forums for replaygain info, but if anyone can point me to any other resources I'd appreciate it.

Basicly, I'm looking to learn how to properly use replaygain, starting with methods of doing the same thing as Go2Null's script. I've been learning the features of Foobar 2000 so that's where I'm starting.

Thanks again for the scripts.
Go2Null
Yes, fb2k "Scan selection as album" does the same thing. I am not sure how the "Scan selection as multiple albums" works - ie, not sure how it determines the different albums (Album tag?).
There is only one difference between the metaflac's (and flac's) calculation of rg values and fb2ks' that I know about - it is discussed here.
Bear in mind that the rg values are stored in tags, and these tags can be manually updated. For example, in fb2k you can sort by the track rg vals, get the greatest value and update the album tags them. This may be a way out if you have tons of files and don't want to spend the time rescanning them to calculate the rg values.
[EDIT] Added the qualification "I".
PoisonDan
QUOTE(Go2Null @ May 17 2004, 03:54 PM)
Yes, fb2k "Scan selection as album" does the same thing. I am not sure how the "Scan selection as multiple albums" works - ie, not sure how it determines the different albums (Album tag?).

Check Preferences -> Components -> ReplayGain scanner -> Album grouping pattern.
leland
Thanks for the batch files. I'll get back to you with any comments in that thread should I have them.
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-2008 Invision Power Services, Inc.