Open ChuckMash opened 9 months ago
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