ReplayGain DSP

Component for foobar2000 v1.5 and newer.

foobar2000 v1.4 version available here.

Version:0.2.17
Released:2024-09-24 07:01
Size:88.3 KB
License:Modified ISC license

Download

foo_dsp_replaygain

Description

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. Interpolates the gain adjustment on track transitions to prevent sudden loudness change from causing unwanted pops.

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

Changes

0.2.17 (2024-09-24):Fixed only-prevent-clipping mode also applying gain when track didn't need rescanning.
0.2.16 (2024-09-19):Changed the loudness boost option to also take target level based amplification into account. Added advanced config option to set maximum allowed gain for realtime scanner (default is +20 dB). Changed compress clip prevention mode to not require peak value. Added also dbFS formatting to reported peak scan results.
0.2.15 (2024-09-18):Fixed the console showing incorrect dB amounts of peaks exceeding maximum allowed values. Fixed peak compression.
0.2.14 (2024-09-18):Added option to prevent loudness boost for tracks where peak information is missing or only partially scanned.
0.2.13 (2024-09-17):Added optional album based "only prevent clipping" operating mode.
0.2.12 (2024-09-14):Added more options to the automatic replaygain scanning. It's now possible to force rescanning of all tracks and disable scanning entirely.
0.2.11 (2024-05-08):Fixed smooth interpolation from one gain value to the next between track or album boundaries never working correctly.
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