Welcome Guest ( Log In | Register )

Reply to this topicStart new topic
How does a player implement Replay Gain?, ... surely not by simply multiplying the bitstream by a constant ...
post Dec 4 2012, 17:04
Post #1

Group: Members
Posts: 1
Joined: 4-December 12
Member No.: 104966

With a music library of over 5000 songs I discovered what the Loudness Wars have done to music.
Replay Gain seems to solve this issue, by reducing the volume of overly compressed audio to a level that is in line with properly mastered music.
However, I can not find how this is implemented.

The iTunes website implies to use a limiting algorithm (as part of its Sound Check processing) in case the gain turns out to be larger than 1. This is an audiophile's nightmare. For the other end of the dynamic range, the bitstream needs to be re-dithered after multiplication with the gain factor.

I suppose Replay Gain is implemented by the DSPs in the players, but how is that done exactly? Ideally, the Replay Gain only influences the volume setting of the analog pre-amp following the DAC, but that would probably be impractical. Alternatively, I could imagine using e.g. a 24 bit DSP, using bits <21:6> to insert the 16 bits from the WAV file (leaving 12 dB headroom for Replay Gain >1) and applying the Replay Gain in the DSP, dither the result and only then DA Convert it.

Are there any players that work this way? What are good players in this respect and which ones should be avoided?

Go to the top of the page
+Quote Post
post Dec 4 2012, 17:15
Post #2

Group: Members
Posts: 4718
Joined: 2-September 02
Member No.: 3264

Multiplication by a constant.

Scaling the analog volume wouldn't help with clipping.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 21st April 2014 - 13:42