-
Notifications
You must be signed in to change notification settings - Fork 441
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
Small click when using mixer #655
Comments
Some more information: The click remains when trying with other generator file formats. If I set stub[0] (background audio) to gain of 0, it sounds like there is no click. If I set all stubs to gain of 0, there is a barely perceivable short duration change in the (lack of) audio, a momentary shift in the silent hiss where the click would be. I'm not sure what this is indicative of, but I found it interesting |
The issue seems to be from SetRate() Found a workaround in #329 By adding custom AudioOutput layer AudioOutputFixedRates between each generator and mixer stub, the click is removed. |
PR #656 fixes the above issue by adding a quick check to see if rate actually needs updating or if it matches what is currently set, eliminating the issue as long as rates match. |
Hello,
I am using mixer to mix 2 stubs with MP3s from an SD card, one is an long ongoing background track and the other is various sound clips played at various times.
The issue is that there is a audible click each time the second stub with the sound clip is used.
I have searched the repo and found a few other issues commenting on such clicks, but have so far been unable to implement any of the suggested fixes or mitigations while also using mixer.
Here I have a reduced version of the example code
My hope is that I have overlooked something obvious
The only thing coming from audioLogger is
sounds.zip
The text was updated successfully, but these errors were encountered: