This should be replaced with AudioWorklet. Use WASM + SharedArraybuffer for calculation.
Here is a similar idea (karplus) implemented with Rust + WASM, which is much better in terms of audio quality:
https://jackschaedler.github.io/karplus-stress-tester/
This should be replaced with AudioWorklet. Use WASM + SharedArraybuffer for calculation.
Here is a similar idea (karplus) implemented with Rust + WASM, which is much better in terms of audio quality:
https://jackschaedler.github.io/karplus-stress-tester/