Thank you for making this DSP kode54, now I can finally get rid of that horrible Vlevel.
I wish I could but I cant do so, on classical music, r128norm is unusable [..] its far from being as smooth as Vlevel
The thing is, I'm not sure if VST supports such latency as this component needs. It needs to absorb the first 10 seconds worth of sample data fed into it, and then it maintains a constant latency of 4 seconds. Not to mention that I've only ever worked on a VST (instrument) host, not the plug-in side of things, even if it shouldn't be that much different.
Yes, I did make a lot of constants into variables, because I plan to add a configuration dialog. The current variables are:Startup latency. The minimum amount of input sample data which will be processed into the EBU R128 scanner before any volume level is calculated and eventually applied. Currently 10 seconds.Processing window. The duration worth of gated loudness samples, taken 2.5 times per second by the library, which will be retained and processed every time a gain correction is made. Currently 20 seconds.Minimum latency / look-ahead. The minimum amount of sample data which will remain buffered after the startup period occurs. Volume changes occur at least this much behind the data which has been fed through the scanner. Currently 4 seconds.Volume change sensitivity. This is the rate at which volume changes occur between the current level and the new level. Currently 1dB per 50ms.Reference loudness level. This is the volume level that the scanner tries to achieve. Currently -18 LU, which is equivalent to the ReplayGain scanner component.
@kode54Can you add like this?1. If There is ReplayGain information, R128Norm pass through.
2. Add check box for Preamp of foobar2000 (eg. Use R128Norm for Without RG info)I think the latter is more better