3 ms·
You don't need to use rust + wasm to "solve the latency problem" but it's cool that you solved it for yourself and made a cool library. https://musiclab.chrome
by nox101 2y ago
You don't need to use rust + wasm to "solve the latency problem" but it's cool that you solved it for yourself and made a cool library.
https://musiclab.chromeexperiments.com/Song-Maker/song/6339181125697536 https://musiclab.chromeexperiments.com/Song-Maker/song/63391...
- chaosprint 2y agoPartially agree. It's not necessarily Rust. But C/C++/Rust -> wasm -> AudioWorklet <- SAB -> Main Thread is basically the ceiling of web audio. Of course, there is still room for improvement in interaction. Your example is a project from 2018, also based on tonejs. The main problem is not latency, but the impact of GC and the main thread on the clock.