Teus de Jong;566127 Wrote: 
> Correct me if I'm wrong, but as far as I know this is only the case when
> the peak level doesn't allow for positive gain, because it would cause
> clipping. So, although primitive, it would only apply to albums/tracks
> with a very high peak level.
> 
> I looked at the peak level for several classical albums. It seems this
> is given as a number between 0 and 1. Most of my classical albums have
> a peak level around 0.9. So this would leave 19% volume gain without
> clipping.
> 
> But maybe this reasoning is totally wrong.
I never understood why the ReplayGain peak tags are expressed as a
number up to 1.0, while their gain tags are in dB - it is bound to
cause confusion. With that in mind, you should be aware that a peak
value of 0.9 is about -0.92dB, which means there is less than 1dB of
headroom to play with.

But let's go back to the way Squeezeboxes implement RG...

In principle, it should be possible to apply a full RG positive gain if
the peak level plus any digital attenuation exceeds the required gain.
For example, if a file's peak level is -1dB and the playback device
also has a digital attenuation of 3dB, then a positive gain of up to
4dB can be accomodated. But this is only what is theoretically possible
- it is NOT how it gets implemented in Squeezeboxes. They ignore the
digital attenuation setting, applying only as much positive gain as can
be applied based solely on the RG peak tag. So in the example here,
you'll get only 1dB of gain regardless of the SB's volume setting.

I initially thought that this was just because the programmers were
being lazy (although at the time it was good that the clipping bug got
fixed at all). However, some time ago, someone (sorry, I forget who)
made the observation that this approach can be considered to make
sense. If the digital attenuation were also taken into account, you'd
end up in the situation where changing the SB's volume control didn't
make any difference to the playback level in some circumstances. That
behaviour would seem a bit peculiar to many users.


-- 
cliveb

Transporter -> ATC SCM100A
------------------------------------------------------------------------
cliveb's Profile: http://forums.slimdevices.com/member.php?userid=348
View this thread: http://forums.slimdevices.com/showthread.php?t=71138

_______________________________________________
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to