When using the web audio API to make an oscillator, Im always hearing that clicking sound when stopping it. Ive searched arround, but none of the solutions would work for me. I tried all implementations from How can I avoid this 'clicking' sound when I stop playing a sound? and more
I read one solution would be to wait for the next zero amplitude value and then stop playing immediately. Is there a way to do so with the web audio api?
I was thinking about switching to Tone.Js for my project, because the sounds play without the clicking. How do they solve the problem?
Im surprised that there is no build in solution for that