Old 03-20-2011, 11:44 PM   #1
airon
Human being with feelings
 
airon's Avatar
 
Join Date: Aug 2006
Location: Berlin
Posts: 11,817
Default EBU R128 LUFS implementations available !!

Now you don't even have to implement it yourself!

1.Implementation

http://www.hydrogenaudio.org/forums/...howtopic=85978
http://sourceforge.net/projects/r128gain/files/

2. Implementation

http://www.hydrogenaudio.org/forums/...howtopic=86116

Quote:
Inspired by the wonderful work in this thread, I wrote my own implementation of the EBU R 128 standard.
It is written in plain ANSI C and designed as a library, so you can use it in your own code. It's licensed under the MIT license.
3.Implementation

R128 Scanner for Foobar2000 (woho!)
http://www.foobar2000.org/components/view/foo_r128scan
Source Code : http://kode54.foobar2000.org/foo_r128scan_source.zip

R128Norm - Implements a simple normalizer DSP based on gated ITU-R BS.1770 Loudness calculation.
http://www.foobar2000.org/components/view/foo_r128norm
Source code: http://kode54.foobar2000.org/foo_r128norm_source.zip

Great link resource about why this metering is better than peak metering when mixing.

http://duc.avid.com/showthread.php?t=296020

It should be easy to at the very least implement an LUFS meter in the master now, right ?

If you're considering this, -23 LUFS is the most important reference for post production.
__________________
Using Latch Preview (Video) - Faderport 16 setup for CSI 1.1 , CSI 3.10
Website
"My ego comes pre-shrunk" - Randy Thom

Last edited by airon; 03-22-2011 at 10:00 AM.
airon is offline   Reply With Quote
Old 03-21-2011, 10:21 AM   #2
plush2
Human being with feelings
 
Join Date: May 2006
Location: Saskatoon, Canada
Posts: 2,110
Default

This is great news. Please implement this. For broadcast this sort of thing is becoming essential for good reason. It's also incredibly useful for music. I love the discussion at the DUC (rare for me to say that).
plush2 is offline   Reply With Quote
Old 03-21-2011, 10:38 AM   #3
airon
Human being with feelings
 
airon's Avatar
 
Join Date: Aug 2006
Location: Berlin
Posts: 11,817
Default

I've already made myself a batch file to scan single files.

Grab the executables here: http://www-public.tu-bs.de:8080/%7Ey...ibebur128.html

and save this to a batch file. Edit the path to the executable accordingly.

Code:
@echo off
"path to executable\r128-ffmpeg.exe" %1
pause
Drop anything FFMPeg can read on to the batch file and you get an LUFS value for the file. There are options for also display the loudness range and true peak value of the file.
__________________
Using Latch Preview (Video) - Faderport 16 setup for CSI 1.1 , CSI 3.10
Website
"My ego comes pre-shrunk" - Randy Thom
airon is offline   Reply With Quote
Old 03-22-2011, 03:16 AM   #4
griz lee
Human being with feelings
 
griz lee's Avatar
 
Join Date: Jul 2006
Location: in a hotel room near you
Posts: 1,175
Default

That's a big step forwards for many users!

And very important.

Could someone contact the devs to suggest Reaper has the 'EBU mode' meter on the master.
griz lee is offline   Reply With Quote
Old 03-22-2011, 10:03 AM   #5
airon
Human being with feelings
 
airon's Avatar
 
Join Date: Aug 2006
Location: Berlin
Posts: 11,817
Default

There are some products that enable logging and provide a decent meter, but why not just have this open standard as an option for the master RMS-type meter.

Should we put this in an FR already ? Maybe it's dead easy to do for v4 and we should mention this in the pre-release forum.
__________________
Using Latch Preview (Video) - Faderport 16 setup for CSI 1.1 , CSI 3.10
Website
"My ego comes pre-shrunk" - Randy Thom
airon is offline   Reply With Quote
Old 03-22-2011, 10:31 AM   #6
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: South, UK
Posts: 14,214
Default

This looks great! would love to see it in Reaper!
musicbynumbers is offline   Reply With Quote
Old 03-22-2011, 11:42 AM   #7
timlloyd
Human being with feelings
 
Join Date: Mar 2010
Posts: 4,713
Default

absolutely
timlloyd is offline   Reply With Quote
Old 03-23-2011, 02:21 AM   #8
airon
Human being with feelings
 
airon's Avatar
 
Join Date: Aug 2006
Location: Berlin
Posts: 11,817
Default

A very good video introduction to loudness measurement.

http://tech.ebu.ch/events/webinar_lo...e/off?id=13224
__________________
Using Latch Preview (Video) - Faderport 16 setup for CSI 1.1 , CSI 3.10
Website
"My ego comes pre-shrunk" - Randy Thom
airon is offline   Reply With Quote
Old 03-23-2011, 01:11 PM   #9
plush2
Human being with feelings
 
Join Date: May 2006
Location: Saskatoon, Canada
Posts: 2,110
Default

Thanks for the video link. That webinar really does a great job of explaining the problem and the proposed solution.
plush2 is offline   Reply With Quote
Old 04-04-2011, 02:03 AM   #10
griz lee
Human being with feelings
 
griz lee's Avatar
 
Join Date: Jul 2006
Location: in a hotel room near you
Posts: 1,175
Default all you need is lufs (as the man said in the loudness video)

LUFS people:

A new freeware lufs meter vst plugin is available --

https://www.audiocation.de/plugin

and go to 'ac-r128'

found this on kvr the other day thought it might be useful.
griz lee is offline   Reply With Quote
Old 03-16-2012, 06:34 AM   #11
Dstruct
Human being with feelings
 
Join Date: Jul 2006
Posts: 12,480
Default

I think it would be nice to also have that in the Render options (target file volume = EBU R128).
Dstruct is offline   Reply With Quote
Old 03-16-2012, 11:30 AM   #12
airon
Human being with feelings
 
airon's Avatar
 
Join Date: Aug 2006
Location: Berlin
Posts: 11,817
Default

Neat. That could be a nice post processing option.

A 64-bit double-float intermediate format, a loudness normalization pass with an optional limiter for -1dBTP conformation, and a status report on how much gain was applied.
__________________
Using Latch Preview (Video) - Faderport 16 setup for CSI 1.1 , CSI 3.10
Website
"My ego comes pre-shrunk" - Randy Thom
airon is offline   Reply With Quote
Old 03-16-2012, 12:07 PM   #13
Sigilus
Human being with feelings
 
Join Date: Jun 2009
Posts: 2,763
Default

Quote:
Originally Posted by Dstruct View Post
I think it would be nice to also have that in the Render options (target file volume = EBU R128).
Oh, definitely agree!
Sigilus is offline   Reply With Quote
Old 03-16-2012, 01:39 PM   #14
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: South, UK
Posts: 14,214
Default

double ditto!
musicbynumbers is offline   Reply With Quote
Old 03-20-2012, 07:44 AM   #15
Dstruct
Human being with feelings
 
Join Date: Jul 2006
Posts: 12,480
Default

Quote:
Originally Posted by airon View Post
3.Implementation[indent]
R128 Scanner for Foobar2000 (woho!)
http://www.foobar2000.org/components/view/foo_r128scan
Source Code : http://kode54.foobar2000.org/foo_r128scan_source.zip
This one is outdated. Foobar2000 1.1.11 ships with it by default.
Dstruct is offline   Reply With Quote
Old 06-28-2012, 12:09 AM   #16
klangfreund
Human being with feelings
 
Join Date: Jun 2012
Posts: 2
Default LUFS Meter, EBU R128 compliant loudness metering

You might also be interested in my new LUFS Meter. Its a VST- and AU plugin (32bit and 64bit). Mac only, but I'm already working on a PC version. Open source, released under the GPLv2 license.
Its in an early development state (alpha), please report bugs and feature requests.

http://www.klangfreund.com/lufsmeter/
klangfreund is offline   Reply With Quote
Old 06-28-2012, 12:18 AM   #17
timlloyd
Human being with feelings
 
Join Date: Mar 2010
Posts: 4,713
Default

^ Great stuff, will provide feedback
timlloyd is offline   Reply With Quote
Old 07-06-2012, 10:07 PM   #18
klangfreund
Human being with feelings
 
Join Date: Jun 2012
Posts: 2
Default

The LUFS Meter is now also available as VST plugin for Windows, 32 and 64 bit.
http://www.klangfreund.com/lufsmeter/

On my system (MacBookPro 2.2GHz i7), it is quite ressource friendly (~1.5 % CPU usage).
klangfreund is offline   Reply With Quote
Old 07-07-2012, 04:47 AM   #19
Sigilus
Human being with feelings
 
Join Date: Jun 2009
Posts: 2,763
Default

very cool. for multiple tracks, it'd still be nice to have native support on the DAW meters
Sigilus is offline   Reply With Quote
Old 07-07-2012, 03:16 PM   #20
airon
Human being with feelings
 
airon's Avatar
 
Join Date: Aug 2006
Location: Berlin
Posts: 11,817
Default

Nice. I'll try it out.

Thanks for sharing.
__________________
Using Latch Preview (Video) - Faderport 16 setup for CSI 1.1 , CSI 3.10
Website
"My ego comes pre-shrunk" - Randy Thom
airon is offline   Reply With Quote
Old 07-07-2012, 04:37 PM   #21
dea-man
Human being with feelings
 
dea-man's Avatar
 
Join Date: Oct 2009
Posts: 6,290
Default Anyone want to take a stab at......

...explaining in a very, very simple manner:

1. What this is for?

2. How to use it in Reaper?

3. What one will gain, on a practical level, by using it?
__________________
"F" off.
dea-man is offline   Reply With Quote
Old 07-07-2012, 06:54 PM   #22
airon
Human being with feelings
 
airon's Avatar
 
Join Date: Aug 2006
Location: Berlin
Posts: 11,817
Default

It's a metering plugin available in VST or Audio Units format.

I generally place this on the master and sometimes check it to know what general idea of levels I have at the moment.

It's an extra bit of metering that uses the most recent metering standard, which is Loudness metering, using the ITU-R BS.1770-2 standard, which is also used by the EBU R128 recommendation.

You can read a little more about this subject, and watch videos about it here: http://tech.ebu.ch/loudness
__________________
Using Latch Preview (Video) - Faderport 16 setup for CSI 1.1 , CSI 3.10
Website
"My ego comes pre-shrunk" - Randy Thom
airon is offline   Reply With Quote
Old 07-07-2012, 07:46 PM   #23
dea-man
Human being with feelings
 
dea-man's Avatar
 
Join Date: Oct 2009
Posts: 6,290
Default Dear Airon -

Excellent! Thank you.
__________________
"F" off.
dea-man is offline   Reply With Quote
Old 07-07-2012, 07:50 PM   #24
dea-man
Human being with feelings
 
dea-man's Avatar
 
Join Date: Oct 2009
Posts: 6,290
Default Another question.

Does this measurement enable ones work to be of equal loudness to commercially released radio and CD's, or commercial broadcast specs?
__________________
"F" off.
dea-man is offline   Reply With Quote
Old 07-08-2012, 05:09 PM   #25
airon
Human being with feelings
 
airon's Avatar
 
Join Date: Aug 2006
Location: Berlin
Posts: 11,817
Default

No, many CDs are still mastered to have no or very little dynamic range.

When loudness normalized, those tracks are no louder than one with a great dynamic range, but they sound small and for me personally, uninteresting.

You might be interested to know that loudness normalization is part of ITunes and thus iPods. There that loudness normalization is called Sound Check. It's actually quite helpful so you usually do not have to adjust the volume between tracks. It is however, not on by default. The target loudness level is around -16.7 LUFS according to a member of the PLOUD group of the EBU.

Spotify, the streaming music service on the other hand has loudness normalization on by default. I don't know what its reference loudness level is, but it works well. More dynamic tracks live well next to the ones without dynamics.

Broadcast material (TV so far) is now mixed to a target loudness level of -23 LUFS (almost everyone) or -24 LKFS(old A/85 standard - US only). LUFS = LKFS if measured as momentary or short-term. For integrated loudness measurement (over entire song or program), the EBU R128/ITU-R BS.1770-2 standards use a series of gates to screen out some loudness levels.

You can effectively measure this stuff offline with the Replaygain scanner of Foobar2000 (.org). It uses a reference loudness level of -18 LUFS. There's a nice Wikipedia article on Replaygain. I recommend you read that too.
__________________
Using Latch Preview (Video) - Faderport 16 setup for CSI 1.1 , CSI 3.10
Website
"My ego comes pre-shrunk" - Randy Thom
airon is offline   Reply With Quote
Old 07-11-2012, 01:03 PM   #26
kailuamusicschool
Human being with feelings
 
Join Date: Sep 2011
Posts: 327
Default

thank you thank you thank you thank you!!!!!!!!!!!
kailuamusicschool is offline   Reply With Quote
Old 07-11-2012, 02:54 PM   #27
ramses
Human being with feelings
 
Join Date: Jul 2009
Posts: 1,231
Default

It would be so incredibly nice to have this implementeed in the Reaper metering. Crossing my fingers!
ramses is offline   Reply With Quote
Old 07-11-2012, 05:23 PM   #28
dea-man
Human being with feelings
 
dea-man's Avatar
 
Join Date: Oct 2009
Posts: 6,290
Default Am I correct ?

This is a tool to more accurately measure your master track level?
__________________
"F" off.
dea-man is offline   Reply With Quote
Old 07-26-2012, 01:35 AM   #29
kailuamusicschool
Human being with feelings
 
Join Date: Sep 2011
Posts: 327
Default

the klangfruend one is awesome! I wish it went higher than -14
kailuamusicschool is offline   Reply With Quote
Old 07-27-2012, 05:39 AM   #30
XITE-1/4LIVE
Human being with feelings
 
XITE-1/4LIVE's Avatar
 
Join Date: Nov 2008
Location: Somewhere Between 120 and 150 BPM
Posts: 7,968
Default

Quote:
Originally Posted by plush2 View Post
Thanks for the video link. That webinar really does a great job of explaining the problem and the proposed solution.
Yes it does and thanks for the links.
I always have had trouble using virtual instruments mixed with hardware live, so I have neded up using Expanders and Limiters to tame everything, evern used a Mastering Tool called the Optimaster, sidechained the strongest synth into COmpressors where the less powerful synths can control the strength of these Analog Hardware beasts, yet still, I still can't seem to get the levels at -6db where I prefer it without a Brickwall Limiter, which really changes the sounds.
Since I record the same way, this would be very useful in Reaper.
I actually think this was so much easier when it was all hardware, or all virtual, but the hybrid rigs are difficult to control...
XITE-1/4LIVE is offline   Reply With Quote
Old 07-27-2012, 06:40 PM   #31
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

Is this meter useful for comparing my pop rock mixes to commercial mixes for loudness ?
__________________
Track Freezing Scripts

Coachz Repo
Coachz is online now   Reply With Quote
Old 07-27-2012, 06:50 PM   #32
dea-man
Human being with feelings
 
dea-man's Avatar
 
Join Date: Oct 2009
Posts: 6,290
Default Over my head?

Quote:
Originally Posted by Coachz View Post
Is this meter useful for comparing my pop rock mixes to commercial mixes for loudness ?
I can't quite make out "exactly" what is the advantage of having this meter.

I've followed the links, read the material but, it's just out of reach of my understanding.

Can someone put it into one simple sentence what this does, and why it's better or preferred, over any other meter, or Reapers stock meters?
__________________
"F" off.
dea-man is offline   Reply With Quote
Old 07-28-2012, 02:16 AM   #33
airon
Human being with feelings
 
airon's Avatar
 
Join Date: Aug 2006
Location: Berlin
Posts: 11,817
Default

Go and get Foobar2000, an audio player with a loudness scanner that uses the EBU R128/ITU-R BS.1770-2 standard for determining the loudness of a track with its replaygain scanner.

http://foobar2000.org

Throw in your commercial mix and your rock mix. Select them both, right-click on them and do a per-track replaygain scan. Agree to tag the files.

Now play them back to back. Overall they will be of similar if not equal loudness. The replaygain tag value will in fact tell you how loud the tracks are in relation to the replaygain-reference loudness level of -18 LUFS(broadcast uses a target of -23 LUFS for various reasons).



You can now compare sound, instead of loudness.


I myself use a commandline scanner that I call up as an external editor in Reaper. It gives me a shell window popup that reports the loudness level of the file, the loudness range (LRA) and truepeak measurement.



I've uploaded the Windows binaries to Mediafire(just 4 MB each).

v0.40 Win32 SSE2
v0.40 Win64

Then you just make a small batch file script like this, and call it up as an external editor in Reaper. Presto, you have a loudness scanner in Reaper. Of course we want native functionality and more in the actual request(see link in my sig).

Code:
@echo off
w:\hatever path to the executable\r128-scanner.exe -p dbtp -l %1
pause
__________________
Using Latch Preview (Video) - Faderport 16 setup for CSI 1.1 , CSI 3.10
Website
"My ego comes pre-shrunk" - Randy Thom
airon is offline   Reply With Quote
Old 07-29-2012, 05:54 PM   #34
kailuamusicschool
Human being with feelings
 
Join Date: Sep 2011
Posts: 327
Default

Oh man, this would have saved my ass yesterday!!!
kailuamusicschool is offline   Reply With Quote
Old 07-29-2012, 06:10 PM   #35
kailuamusicschool
Human being with feelings
 
Join Date: Sep 2011
Posts: 327
Default

what extension do I end the file with?
kailuamusicschool is offline   Reply With Quote
Old 07-29-2012, 07:50 PM   #36
airon
Human being with feelings
 
airon's Avatar
 
Join Date: Aug 2006
Location: Berlin
Posts: 11,817
Default

The extension field in the External Editors section is empty. It can take almost any audio file you throw at it, because it too uses FFMPEG to decode the audio. It can even scan some video files.
__________________
Using Latch Preview (Video) - Faderport 16 setup for CSI 1.1 , CSI 3.10
Website
"My ego comes pre-shrunk" - Randy Thom
airon is offline   Reply With Quote
Old 11-11-2012, 09:02 AM   #37
Castanuelas
Human being with feelings
 
Join Date: Sep 2012
Posts: 74
Default

Does foobar2000's built-in ReplayGain scanner use BS-1770-3 (latest version) for measurement of integrated loudness and (true) peak?

If I change the "Target MP3 alteration volume level (dB)" in foobar2000's preferences from the default of 89 to 89+X, is the target integrated loudness changed from -18 LUFS to -18+X LUFS?
Castanuelas is offline   Reply With Quote
Old 11-11-2012, 10:34 AM   #38
airon
Human being with feelings
 
airon's Avatar
 
Join Date: Aug 2006
Location: Berlin
Posts: 11,817
Default

1770-3, I don't know. They build their scanner on the libebur128 library, which has an MIT license, so maybe they can update it themselves.

I'm not sure they do Truepeak scanning with their replaygain scanner, but only non-oversampled peaks.

I looked at the new document, and I don't know what's changed actually. Maybe some coefficients for the filters. Dunno.
__________________
Using Latch Preview (Video) - Faderport 16 setup for CSI 1.1 , CSI 3.10
Website
"My ego comes pre-shrunk" - Randy Thom

Last edited by airon; 11-11-2012 at 10:43 AM.
airon is offline   Reply With Quote
Old 05-06-2015, 08:06 AM   #39
Dstruct
Human being with feelings
 
Join Date: Jul 2006
Posts: 12,480
Default

Quote:
Originally Posted by Castanuelas View Post
Does foobar2000's built-in ReplayGain scanner use BS-1770-3 (latest version) for measurement of integrated loudness and (true) peak?

If I change the "Target MP3 alteration volume level (dB)" in foobar2000's preferences from the default of 89 to 89+X, is the target integrated loudness changed from -18 LUFS to -18+X LUFS?
I think they don't do True peak but other wise it's BS-1770-3 just with the ReplayGain target value of -18LUFS. If you need -23LUFS you have to set foobar's preamp to -5dB for Replaygain files.
Dstruct is offline   Reply With Quote
Old 05-06-2015, 01:45 PM   #40
dea-man
Human being with feelings
 
dea-man's Avatar
 
Join Date: Oct 2009
Posts: 6,290
Default

It's almost like we're falling in LUFS.......
__________________
"F" off.
dea-man is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:45 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.