INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Help with Expression Column  (Read 492 times)

rxp

  • Recent member
  • *
  • Posts: 5
Help with Expression Column
« on: August 02, 2020, 06:01:59 am »

Hey,

Just found out jriver can use r128 to calculate loudness. Saved me a ton of time trying to use ffmpeg-normalize to do so.

I'd like to read the figures as LUFS. All that involves is taking the Volume Level minus 23 (the target volume). I've been playing with the expression but can't get it to work.

Could someone please help me?

Or is there another way to specify a loudness target? I'd like to have a couple - one for big action blockbusters and one for quieter films. Rather than just a flat 83db.

I'd also be cool if you could calculate the dbA - this will tell you the potential hearing damage impact. In my own manual calcs using Audacity with an A weighted Graphic EQ curve loaded - a very loud movie like Skyfall which 8.5 LU was only 83dbA. So safe to listen with 0 on your AVR. Despite the LUFS being 93db K weighted

Thanks
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Help with Expression Column
« Reply #1 on: August 02, 2020, 12:57:41 pm »

You mean like this?
Code: [Select]
Math(Number(Replace([Volume Level (R128)],/,,.)) - 23) LUFS
Logged

rxp

  • Recent member
  • *
  • Posts: 5
Re: Help with Expression Column
« Reply #2 on: August 02, 2020, 02:52:33 pm »

Hey, thanks for responding.

Kind of - but I need to flip the R128 Volume Level to be a plus number. I can do that via

Code: [Select]
FormatNumber(Math([Volume Level (R128),0]-2*[Volume Level (R128),0]), 1,,/ LU,)
But then how do 23 minus the output of the above?
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Help with Expression Column
« Reply #3 on: August 02, 2020, 03:20:49 pm »

One way to do above:
Code: [Select]
Math(Replace(Mid([Volume Level (R128),0],1,-1),/,,.) - 23) LU
or with formatnumber (didn't check formatting parameters, just copied from your example)
Code: [Select]
FormatNumber(Math(Replace([Volume Level (R128),0],/,,.) * -1 - 23), 1,,/ LU,)
Used Replace() function so it will work also in countries where decimal point is comma
Logged

rxp

  • Recent member
  • *
  • Posts: 5
Re: Help with Expression Column
« Reply #4 on: August 02, 2020, 09:35:57 pm »

Thanks lepa, that last one worked perfect!

I only discovered recently that european countries use commas instead of periods for decimals!
Logged
Pages: [1]   Go Up