title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Loudness (ITU BS 1770 / EBU R128) Normalization

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • schmidj
    dBpoweramp Guru

    • Nov 2013
    • 523

    #16
    Re: Loudness (ITU BS 1770 / EBU R128) Normalization

    It would be worthwhile for people to search old threads on this subject. As I have posted here before, the choice of -23LuFS/LKFS or thereabouts in the various loudness standards was based on the levels used in professional television broadcast applications (for which the standard was written and intended). Professional broadcast audio levels in the plant are very much lower than the levels that have typically been used for digital consumer products like CDs. There are various historic reasons for this, not the least of which has been "loudness wars" in the music business. But historically, most CDs were normalized for a peak level somewhere slightly below 0 dBFS. This was typically after a fair amount of dynamic processing (limiting/compression) to reduce the dynamic range, particularly on "pop" music.

    The end result of this is that if you actually take some commercial CDs and ingest the audio to an editor with an accurate loudness meter, you'll typically see loudness of -12 to -18 LKFS. This is some 6 to 12 dB louder than the levels recommended by SMPTE and now the loudness specs for professional television broadcast.

    So why wouldn't you want to use -23 for your library. If you put the files with the -23 audio on your smart phone, you probably won't be able to turn the headphones up enough to properly listen to the music, particularly in Europe, which has limits on headphone loudness to protect hearing. The gain, and the limits in smartphones were based on the louder files, recorded at -12 LKFS or so.

    The other issue is when playing the files on a device with more than one source like a receiver with a tuner or a car radio. You might well be able to turn the gain up enough to hear the -23 tracks at a reasonable level, but if you then switch the input to, let us say the tuner, you are going to be blasted with really loud audio from the tuner. This is because the circuit designers designed the gain structure for the levels to come close to matching with audio sources like commercial CDs or downloads, which are usually in that -12 to -18 LKFS range.

    Finally, there has been some considerable discussion and research in the commercial recording business about using the loudness measurements for CD and download releases, but they all revolve around suggested levels of -14 to -18 LKFS. There have been several suggestions to standardize on -16. -18 as used now by dBpoweramp is a nice conservative choice which will play nicely with most consumer equipment with a little more headroom than you find in most pop recordings.

    FYI, I am retired from a 36 year career as an audio/video systems engineer with one of the major USA commercial broadcast networks, and was responsible for overseeing the installation of loudness monitoring and control equipment there when the FCC passed a rulemaking enforcing loudness limits on television broadcasting. I also do quite a bit of live music location recording and use loudness software in processing my recordings.

    Comment

    • PureChuckles

      • Oct 2016
      • 8

      #17
      Re: Loudness (ITU BS 1770 / EBU R128) Normalization

      Just an FYI. I perused through the threads and saw pretty much what I see now. "Not much". What you say above is true and for anyone that is wishing to actually use a functional Loudness Normalization, they most likely understand all of this. It is needed for anyone that uses it professionally, as we are all aware of regulations in various regions. So it is not a small deal.

      The problem is using dBpoweramp, the Volume Normalize DSP function in dBp is broken. It doesn't adhere to the value... it applies the incorrect type of normalization... and on the incorrect scale.

      At this time, it should be labeled as, Loudness Abnormalization.

      That is why I pointed out the free utility called bs1770gain. Feel free to point out some usable solutions if you have them. Unfortunately, I have invested time in scripting dBpoweramp for past routines and I slowly need to redo things.
      Last edited by PureChuckles; October 25, 2016, 01:20 AM.

      Comment

      • schmidj
        dBpoweramp Guru

        • Nov 2013
        • 523

        #18
        Re: Loudness (ITU BS 1770 / EBU R128) Normalization

        Well I use the replay gain DSP, which is properly labeled in LKFS, set to -18. It appears to work properly, the log even tells you when it couldn't set the replay gain as high as requested because of the potential of clipping. Now, I've never actually measured the result, I'd have to play a track on a player which supports replay gain through a SPDF or AES output, record it digitally and examine the loudness of the resulting file. I'm happy with the results, so I've never bothered.

        Nonetheless, I looked at the Volume Normalize DSP, which actually applies gain/attenuation to the file and changes the audio. You have somewhat of a point, the user interface is not properly set up as it is in the replay gain DSP. Also the linked documentation still implies that "0" is -23LKFS, but if you read the release notes, you'll find that was changed to -18,

        Also be aware that this DSP has no limiter or other dynamics (unless you use the adaptive choice), so a single gain adjustment is applied to the whole file. While the documentation doesn't discuss what happens if the calculted gain would push the signal into clipping, I'd be pretty sure that the plug-in would apply a lesser amount of gain to the file, such that the loudest sample is either set to 0 dBFS or slightly below that number.

        The only reason I'd use the volume normalize function is if my player didn't support replay gain, and if that was the case, I'd keep a copy of my audio files which did not have volume normalize applied, as this effect is essentially not completely reversible.

        You might have better luck running two passes, the first to calculate replay gain, the second to use "replay gain applied" which takes the value of the replay gain in the file and adjusts the level of the file (or a copy of the file if you've written the output string to write the file to a different location) so the resulting file plays at the calculated LKFS level.

        Comment

        • gandlz

          • Jun 2016
          • 5

          #19
          Re: Loudness (ITU BS 1770 / EBU R128) Normalization

          Well, I know this is an old thread and some things are already improved but I want to add a few more:

          I tried a lot with adaptive EBU R128 window size and found out that I definitely need more than the default 6s, otherwise for example a slow solo piano intro with a few breaks will become dramatically destroyed with volume going up and down. So I got good results using 16s.
          However I noticed some strange behavior, and would also like to provide a song, where nothing seems to work if someone is interested in reproducing and analyzing this. With settings of 16s it seems that nothing is done for the first 16s and then it drops volume quickly. I had a few of this songs, where it seems that nothing gets done until the window size is over. In the mentioned song it continues with loudness changes all the time, mostly drops but then going up to -16LuFS with peaks of -6LuFS, feeling definitely too loud.

          But I also had the very other side: On dancing shows they often have a beep at the beginning of a song as a start signal for the dancers. (Well often these beeps are 0dBFS even when the following intro starts with peaks at -18dBFS, which I don&*8217;t want to discuss for now.) In this case it seems to me, that the very first peak gets measured and then the volume is set according to this peak to -18LuFS. The result is a beep at -18LuFS followed by an un-hearable intro keeping its volume for the duration of the chosen window size and then raising up to -18LuFS.

          Furthermore I also had songs, where almost no Loudness change was in the original over a period of time, but the processed file has a sudden drop of 3 to 6LuFS.
          So for me the adaptive setting is not really usable as its results are always a surprise. It only works with low dynamic music.
          I really hope that this algorithm is going to improve!

          I measure with Waves Loudness Meter in Pro Tools.

          According to the desired volume fader I understand it as an offset to the -18LuFS default setting. So keeping at 0dB results in -18LuFS. An increase/decrease of 1dB is an increase/decrease of 1LuFS. This seems technically correct to me. However, the term desired volume is quite confusing with a setting of 0dB in this scenario.

          Another thing: I see there is a Lowpass available but no Highpass. Is this for any reason? I often get bad recordings to play at a show with mumbling speaks or so. Highpass could also be used to remove DC-Offset. Would definitely help me out some time!

          Kind regards,
          Gandlz

          Comment

          • chrisjj
            dBpoweramp Guru

            • Nov 2008
            • 300

            #20
            Re: Loudness (ITU BS 1770 / EBU R128) Normalization

            Where is the window size setting? I don't see it:

            Click image for larger version

Name:	w1x0viq.png
Views:	1
Size:	22.0 KB
ID:	293976

            Originally posted by gandlz
            Highpass could also be used to remove DC-Offset.
            Are you finding DC offset is affecting the loudness calculation?

            Comment

            • gandlz

              • Jun 2016
              • 5

              #21
              Re: Loudness (ITU BS 1770 / EBU R128) Normalization

              I'm sorry, it is called "window length" and it is only available when choosing volume normalization (not replay-gain) with the mode "Adaptive (EBU R128)"

              As far as I see, the replay-gain (track-gain and EBU R128) in combination with replay-gain apply does the same thing as volume normalization (EBU R128 track-gain). This is measuring the average Loudness of the whole track and adjusting the gain so that this average measurement comes to -18LuFS (or whatever you choose). The tracks dynamic is preserved.

              According to my former post I have to say that a window length of 16s is almost the same as using the EBU R128 track-gain feature (non-adaptive), what in fact is the way I go for now. 16s to react on a loudness change is way too long. If I compare it with sitting at the mixing desk, hands on fader, I usually react to a loudness impact within 2-4s. This preserves the dynamic impact but also the overall acceptable playback volume. However, my tests with using window length between 2-4s result in heavy volume changes during dynamic parts and the measuring of the processed file approves this as it often plays for a time much longer than the window length outside the target of -18LuFS. That's why I would say that the adaptive feature is not usable.

              The Highpass was just a feature request and has nothing to do with this. I should have mentioned this somewhere else maybe.
              Last edited by gandlz; October 24, 2018, 11:18 AM.

              Comment

              • chrisjj
                dBpoweramp Guru

                • Nov 2008
                • 300

                #22
                Re: Loudness (ITU BS 1770 / EBU R128) Normalization

                Originally posted by gandlz
                I'm sorry, it is called "window length" and it is only available when choosing volume normalization (not replay-gain) with the mode "Adaptive (EBU R128)"
                Got it - https://i.imgur.com/zsfrrRX.png - thanks.

                Thanks for your report. I'll avoid this windowed version!
                Attached Files

                Comment

                Working...

                ]]>