dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Replaygain prevent clipping on by default

Re: Replaygain prevent clipping on by default

From: Jonas Wielicki <>
Date: Tue, 16 Oct 2012 20:04:08 +0200

On 15.10.2012 23:55, Torne Wuff wrote:
> I could easily be wrong, I don't know how our dsp system works very
> well :) I looked in dsp_replaygain_update in
> lib/rbcodec/dsp/dsp-misc.c and it looks like it just takes the peak
> value from the metadata and checks if the replaygain value would put
> it over, and if so makes it smaller. This appears to get called on
> track change and on replaygain settings change, then it just sets it
> as the static gain value applied on decoding.
If that is correct, the previous argument of songs of the same album
become desynchronized in volume is invalid, as replaygain also features
a Albumwide-Peak-Value, at least if created with metaflac.

-- Jonas
Received on 2012-10-16

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy