FLAC software
Reply #10 – 2003-03-14 06:10:39
From my limited experience working with FLAC's replay gain, it appears that to properly add replay-gain (both album and track gains) to a set of files (say all the files in a directory) you would do a metaflac --add-replay-gain *.flac after all your files are encoded. To get the album gain calculated correctly, metaflac needs to know it's dealing with more than one file. When I tried doing an --add-replay-gain with flac at the initial rip and encoding time, it only considered one song at a time, so my track gain was the same as my album gain for each song (which is generally not what you want). I'm not sure how this works with various frontends...I tried a few early on, but eventually decided that it would all just be a lot easier if I stuck with running commands directly (and since I use Linux primarily the command line is usually my only choice). If you need a way to remove the replay gain information, the best way I've figured out so far is to remove each one like any other comment. Try metaflac --remove-vc-field=REPLAYGAIN_TRACK_PEAK --remove-vc-field=REPLAYGAIN_TRACK_GAIN --remove-vc-field=REPLAYGAIN_ALBUM_PEAK --remove-vc-field=REPLAYGAIN_ALBUM_GAIN *.flac You could also export the comments to a file, edit the file, then import the comments back into the file, but you'd have to do that for every song. Maybe Josh will implement a "--remove-replay-gain" in a future version of FLAC...seems like a logical thing to do...