Replay Gain - HowTo exactly ?
Reply #13 – 2008-11-19 17:51:23
1. IIRC, replaygain itself is only about calculating the gain values. Peak-info and clipping prevention is not part of replaygain itself, but was introduced by fb2k as optional additional info. 2. As a consequence of 1., replaygain itself only defines by which degree to amp a track/album - what to do about clipping is left up to the software-dev/user. I personally do not think that clipping prevention via peakinfo makes sense - it goes against the purpose of replaygain and introduces additional complexity. I think that the most efficient approach is simply to use a limiter. 3. The RG gain value does not even actually define *absolutely* by which amount a track/album should be amped. The gain value is relative to that 89dB REFERENCE. What does this mean? Well, it means that RG values only define which tracks should be played louder and which ones quieter, and how much. They do not define absolute playback volume. So, a user may choose to *generally* amp all his tracks 3dB lower than the RG-info of the tracks says. 4. What this in practice means is that the user still owns the volume knob - both digital and analogue, software and hardware. The RG values of the track only define by how many dBs a track/album is "off" the "norm"(reference). THIS is what an RG-value actually means.... an arbitrary loudness is choosen and then defined as the norm (reference, 89dB) and then for each track info is stored about its loudness relative to that "norm". 5. In conclusion, the following implementation would be valid as well: Give the user a software volume knob. If that volume knob is at lets say -3dB, and a track RG-value is at -2dB, then that track will get amped by -5dB. What is that good for? Well, remember my previous proposal to use a limiter instead of using peak-info to prevent clipping. In such a case, that volume slider would also be a dynamics slider. A user with weak speakers may want to get as much loudness as possible out of those speakers, so he sets the volume knob to +7dB. Dynamic material will get limited, thus significantly reducing its dynamic (how else do you expect to get to "eleven"?). Elsewhere on these boards, i also proposed a generic volume knob (which goes to eleven). 6. Replaygain has no clue which tracks are supposed to be quieter than others. It does not know if a track is i.e. a ballad. This can result in seemingly false loudness when trackgain is used. Albumgain is less affected by this issue. P.S.: I am here only talking about "normal" Replaygain - not the stuff which mp3gain does.