Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Short-term and momentary loudness max measurements #11

Open
hiccup7 opened this issue Aug 30, 2018 · 4 comments
Open

Short-term and momentary loudness max measurements #11

hiccup7 opened this issue Aug 30, 2018 · 4 comments

Comments

@hiccup7
Copy link

hiccup7 commented Aug 30, 2018

I would really appreciate these additional features:

  1. Short-term loudness max
  2. Momentary loudness max

The first is the more important feature for me.

@csteinmetz1
Copy link
Owner

I will look into adding this soon. It should be fairly simple as it would only be a matter of removing the gating that is applied in integrated measurement, and then modifying the block size if I am not mistake. I am currently in the processing of improving some structure things so I will get to this after.

Thanks for your interest in pyloudnorm!

@csteinmetz1
Copy link
Owner

Looking to pick this up soon. Attaching the reference document EBU tech 3341 (see page 6). This will require modularizing some of the code that is in integrated_loudness(), which is a probably a good thing, since its quite large.

@fan455
Copy link

fan455 commented Oct 30, 2022

Hi, based on your implementation and BrechtDeMan's implementation (https://github.com/BrechtDeMan/loudness.py), I just implemented the short-term and momentary LUFS calculation. You can find it here: https://github.com/fan455/fan455-audio-processing-codes/blob/main/modules/loudness.py

I've tested the momentary LUFS calculation in this code using some test signals from the EBU tech 3341 (https://tech.ebu.ch/docs/tech/tech3341.pdf) and errors are within the tolerance range. I compared the results with the Youlean Loudness Meter's momentary LUFS and found no difference (may be not enough comparisons though). But it still needs more checking and optimization for better performance. However, the integrated LUFS calculation is significantly different compared to Youlean but close to pyloudnorm.

@alisonbma
Copy link

alisonbma commented Mar 24, 2023

Loudness range (LRA) would also be a useful addition to the repo!

Essentia has the capability for momentary, short term, and LRA computation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants