Hello,
I noticed that Madplay supports ReplayGain, which is nice because
ReplayGain is a very useful idea. However, Madplay currently does
not read ReplayGain information from ID3v2 RVA2 frames. (Madplay does
read RVA2 frames, but doesn't look at the identification string which
distinguishes between track-gain and album-gain.)
This is unfortunate because it seems that, out of at least five
distinct methods for storing ReplayGain information, RVA2 is now
best supported among audio players.
I would like to make the following changes to the ReplayGain code
in madplay:
* Support ReplayGain from RVA2 frames in addition to RGAD frames.
This will improve compatibility with other audio players, making
ReplayGain much more usable.
* Remove the +6 dB pre-amplification thing.
The original ReplayGain standard specified normalize to 83 dB and
amplify +6 dB. But this was later revised into simply normalize
to 89 dB, which is how all current implementations are doing it.
The +6 dB could be left in place for LAME tags older than 3.95.1.
I am willing to write and test a patch that implements these changes.
Would you accept that patch?
Greetings,
Joris van Rantwijk.