Hi Klaus,
Could the averaging time be too small? I'm worried about the line
Tg = 0.4; // 3 second window for 'short-term' measurement
The comment seems to indicate it should be "Tg = 3;", i.e., 3 seconds of
averaging instead of 0.4 s.
Below is an expansion of your test program that allows for
Hi Julius,
this is, of course, the way to go.
I did some test with a series of sines, each at -18lufs, and found
these filter settings to be quite close (except for the 30Hz):
kfilter = fi.highpass(1, 60) : fi.high_shelf(4, 1800);
Hz lufs
30 -16.693
60 -18.111
80 -18.204
100 -18.211
130 -18.17