Moderator: moderators
--apply-replaygain-which-is-not-lossless[=<specification>]
Applies ReplayGain values while decoding.
WARNING: THIS IS NOT LOSSLESS. DECODED AUDIO WILL NOT BE IDENTICAL TO THE ORIGINAL WITH THIS OPTION.
The equals sign and <specification> is optional. If omitted, the default is 0aLn1 (see below).
The <specification> is a shorthand notation for describing how to apply ReplayGain. All components are optional but order is important. '[]' means 'optional'. '|' means 'or'. '{}' means required. The format is:
[<preamp>][a|t][l|L][n{0|1|2|3}]
<preamp>
A floating point number in dB. This is added to the existing gain value.
a|t
Specify 'a' to use the album gain, or 't' to use the track gain
l|L
Specify 'l' to peak-limit the output, so that the ReplayGain peak value is full-scale. Specify 'L' to use a 6dB hard limiter that kicks in when the signal approaches full-scale.
n{0|1|2|3}
Specify the amount of noise shaping. ReplayGain synthesis happens in floating point; the result is dithered before converting back to integer. This quantization adds noise. Noise shaping tries to move the noise where you won't hear it as much. 0 means no noise shaping, 1 means 'low', 2 means 'medium', 3 means 'high'.
For example, the default of 0aLn1 means 0dB preamp, use album gain, 6dB hard limit, low noise shaping.
--apply-replaygain-which-is-not-lossless=3 means 3dB preamp, use album gain, no limiting, no noise shaping.
flac uses the ReplayGain tags for the calculation. If a stream does not have the required tags or they can't be parsed, decoding will continue with a warning, and no ReplayGain is applied to that stream.
Sanjuro wrote:There are two types of replaygain, right, 'album' and 'track'? That very useful flac command lets you choose which you apply, but if lame is doing it automatically for mp3s, how do we know which one it chooses?
I've got my flacs going nicely with replaygain now (thanks very much!), but I can't be entirely sure that it's being applied to my mp3s. Placebo effect to be sure, but my mp3s seem to be slightly louder than my flacs (can't prove that in any way, of course - completely different styles of music!).
Anyway, is there anyway to check for certain?
Subsonic on Shuffle with replaygain really is bliss for long drives in the country!
cutandpaste wrote:Just use mp3gain. It can automatically process whole volumes of mp3's in either an album-centric or song-centric fashion (I strongly prefer the former).
After this is done, your music will be consistent (on whatever basis you choose) on every player that ever touches it, from Subsonic to the ruddy in-dash factory MP3 player in a Kia. The player need not understand any special tags for this to work.
And if it turns out that you don't like it, it's completely reversible.
Users browsing this forum: No registered users and 19 guests