Skip to main content

Module replay_gain

Module replay_gain 

Source
Expand description

ReplayGain 2.0 track/album gain from integrated loudness.

ReplayGain 2.0 normalises to a reference of −18 LUFS. Given a program’s measured integrated loudness (LUFS, e.g. from integrated_lufs), the recommended gain is target − measured dB. Pure scalar arithmetic, zero-heap.

Constants§

REPLAY_GAIN_2_TARGET_LUFS
ReplayGain 2.0 reference loudness (LUFS).

Functions§

replay_gain_db
ReplayGain adjustment in dB for a given integrated loudness (LUFS).
replay_gain_scale
The same adjustment as a linear amplitude scale factor (10^(gain/20)).