-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Auto duck misses sections #1389
Comments
It doesn't actually need to be a long audio file. It can be reproduced with quite short tracks:
The precise threshold setting required for Auto Duck to (incorrectly) miss only the second "gap" is likely to be in the range -40 to -50 dB. (I've not seen it ignore only the first gap). |
There is also a documentation issue: The manual implies that the "Threshold" setting is a peak amplitude setting, but it appears to actually be some sort of mean square over a 100 sample window?? |
In bool EffectAutoDuck::Process(), I changed rmsSum to be a double rather than a float, and can no longer reproduce the bug using Steve's steps. |
Initially reported on https://forum.audacityteam.org/viewtopic.php?f=46&t=119468
Describe the bug
Auto duck misses sections on long audio files, if the control track has quiet sections, but not full silences and the threshold is choosen to be very low.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
All sections are ducked
Screenshots
can be found in the forum: https://forum.audacityteam.org/viewtopic.php?f=46&t=119468
Additional information (please complete the following information):
Additional context
It works when ducking shorter sections (~20 mins) of the whole file.
There is a workaround available (temporarily amplify the control track, apply the auto-duck with a higher threshold, de-amplify it again).
I'll try finding a root cause next week.
The text was updated successfully, but these errors were encountered: