This feature is enabled for MPlatform SDK only.
Since the 22.214.171.12476 beta version, you can implement audio normalization according to EBU tech-3343 standard in accordance with R 128.
We implemented points A, B, and C of the standard that are required for proper normalization. The rest (D and E) are optional.
To enable the audio normalization, you should set "audio.gain_normalization" property to "true" for your source object (MFile, MPlaylist, MLive) with the PropsSet method:
You can enable or disable this mode dynamically when necessary. But please note that the normalization needs about 3-5 seconds to calculate a programme loudness that should be calculated (according to the standard) at least for 3 seconds.
Note please that the normalization requires LUFS meters enabled with "audio.lufs" property for your source object.
According to the standard, a target programme loudness is -23. But if you need to set the loudness to a different value, you should set "gain_normalization.target_i" property to a required level in dB.
By default, the audio normalization in MPlatform SDK takes 20 frames to pre-initialize a normalization. You can vary this interval with "object::gain_normalization.skip_frames" property. This interval is required to avoid incorrect behavior of the normalization for files with a peak gain at the very beginning. If you don't have such files in your playlist, consider reducing the "gain_normalization.skip_frames" interval.