Fix to add 3 LU to analysed files because only a single audio channel is

analysed instead of stereo.
This commit is contained in:
Markus Birth 2017-04-05 15:17:17 +02:00
parent 54f56fd2ad
commit a5dab10c5d

View File

@ -53,7 +53,8 @@ for f in todo:
lra = 0.0
ldiff = 99.0
else:
lufs = float(lufs)
# FIXME: Add 3.0 LU to accomodate for loudness-scanner only analysing mono channel
lufs = float(lufs) + 3.0
lra = float(lra)
ldiff = lufs - TARGET_LUFS
print(", diff to {}: {}".format(TARGET_LUFS, ldiff))