mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-29 22:58:39 +02:00
Fixed stereo track LUFS calculation according to EBU R128.
This commit is contained in:
parent
b1598fd214
commit
58929e4c6c
@ -260,8 +260,9 @@ bool EffectNormalize::Process()
|
||||
break;
|
||||
|
||||
if (mUseLoudness)
|
||||
// Loudness: use mean of both tracks.
|
||||
extent = (extent + extent2) / 2;
|
||||
// Loudness: use sum of both tracks.
|
||||
// As a result, stereo tracks appear about 3 LUFS louder, as specified.
|
||||
extent = extent + extent2;
|
||||
else
|
||||
// Peak: use maximum of both tracks.
|
||||
extent = fmax(extent, extent2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user