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

loudness normalization using EBU-r128 #39

Open
oplatek opened this issue Sep 27, 2021 · 2 comments
Open

loudness normalization using EBU-r128 #39

oplatek opened this issue Sep 27, 2021 · 2 comments

Comments

@oplatek
Copy link

oplatek commented Sep 27, 2021

Hi!

Have you considered adding EBU-r128 normalization?

E.g. similar to the implementation below which however needs ffmpeg as a dependency?
https://github.com/slhck/ffmpeg-normalize#ebu-r128-normalization

@csteinmetz1
Copy link
Owner

Hi @oplatek,

EBU R128 uses BS.1770 as the algorithm for normalization. Using pyloudnorm should produce very similar results to ffmpeg.

Did you have a specific use case in mind? Currently pyloudnorm only measures integrated loudness but EBU R128 also includes short-term and momentary loudness. Was that what you were referring to?

@oplatek
Copy link
Author

oplatek commented Jan 20, 2023

My use-case is comparing relatively short Text-to-Speech (TTS) or Voice Converted (VC) samples converted between source speaker & condition to clean target speaker voice.

The samples are typically 2-14s long, with length normally distributed.
I noticed that RMS is sensitive to background noise e.g. for VC from noisy conditions to clean target conditions.
And as I want to compare side by side noisy and clean utterances I want them to be normalized to the same perceived loudness.

In general, I think that peak loudness normalization is the best.
I asked about EBU R 128 normalization because some other studies used it and it also uses peak normalization.

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

2 participants