ReplayGain DSP

Component for foobar2000 v1.5 and newer.

foobar2000 v1.4 version available here.

Released:2023-03-16 12:05
Size:78.0 KB
License:Modified ISC license




´╗┐Alternative ReplayGain implementation with support for smarter automatic mode selection. Automatic mode selection doesn't rely solely on the active playback mode but also analyses the playlist contents. If the source track doesn't have ReplayGain data the component tries to scan the loudness during buffering. Includes optional custom compressor as one method to prevent clipping.

The component does not include ReplayGain scanner. The original ReplayGain scanner component is required for regular ReplayGain scanning and for the automatic loudness estimation to work.

When using this component the native ReplayGain needs to be manually disabled (processing set to none).

Config overview Processing modes Loudness selection Peak handling


0.2.10 (2023-03-16):Recompile with latest SDK and foobar2000 v1.5 compatibility.
0.2.9 (2022-02-05):Added dark mode support.
0.2.8 (2021-07-26):Added protection against apparent invalid gain values.
0.2.7 (2021-07-23):Returned to older SDK to restore Windows XP compatibility. Blacklisted incompatible protocols so they won't be attempted to be decoded.
0.2.6 (2021-03-27):Opening configuration window reverted -14 LUFS target loudness to default because of incorrect range check. Replaced "experimental" in the name with "alternative"
0.2.5 (2020-09-23):Changed decoder initialization flags to allow inaccurate seeking to improve subsong scanning speed
0.2.4 (2019-08-03):Added option to disable automatic replaygain scanning of streams
0.2.3 (2019-07-26):Compression use check had incorrect logic and the feature was off when it was supposed to be on, and vice versa
0.2.2 (2019-01-08):Only calls ReplayGain scanner on valid audio chunks to prevent lock-ups
0.2.1 (2018-11-14):Uses previous scale if RG data is missing and can't be scanned
0.2 (2018-10-27):Altered compression routine. Made the component attempt to scan gain values from unreplaygained tracks.
0.1 (2018-10-24):Initial version