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

Too loud after silence. #117

Open
mikenrafter opened this issue Sep 16, 2021 · 2 comments
Open

Too loud after silence. #117

mikenrafter opened this issue Sep 16, 2021 · 2 comments

Comments

@mikenrafter
Copy link

I'm not sure how this relates to the standard this library's based upon, but, when I use this library (through wwmm's easyeffects) I find that after a silence of ~.3-.5s it's far too loud. It's only for a brief moment, then it goes back to whatever target dB it was set to.

I think this may have something to do with momentary loudness. A theoretical (because I'm not familiar enough with the library) solution could be, to implement a logarithmic multiplier drop-off with a threshold set below the target dB some value.

For example, lets say the audio drops by 5dB for 1s, then jumps back up by 10dB, that'd be too loud with the momentary function, but, if the momentary impact was plugged into a logarithmic function offset by the target dB and a silence-level, then it wouldn't be too loud, when it jumps back up. This all would also likely need to be tied into the input gain applied, though I'm not certain how exactly.

@mikenrafter
Copy link
Author

Anything? Does anyone else have this issue, or a configuration technique to hinder/disable this problem?

@audionuma
Copy link
Contributor

audionuma commented Oct 21, 2021

It's not clear to me what exactly is your issue, and it seems that it might be that you want to alter the standard on which this library is based (which you could implement on your side but would probably not make it into the libebur128 code which aims to be standard compliant).
Have you got some sample code and audio input with expected results and actual results ?
(edit) Maybe it is an issue you should raise with https://github.com/wwmm/easyeffects if their autogain feature does not match your expectations.

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