3 ms·
But is a browser-based audio environment ever going to have the low latency and robustness requirements for something like live performance?
by ris 7y ago
But is a browser-based audio environment ever going to have the low latency and robustness requirements for something like live performance?
- julesrms 7y agoWASM will probably start catching up with natively-compiled C++ eventually, but we're working on the hypothesis that even natively-compiled C++ can't quite get the best performance out of audio hardware, because running it on the CPU in a normal OS is the wrong place for a realtime task like that. Something we do want to create will be network-attached SOUL audio i/o devices which can run the code using native JIT engines. Then, Javascript in a browser can send its SOUL code to be compiled + executed directly on these bare-metal devices and get super-low latency.
- sletz 7y agoLow-Latency is one thing (now much better with AudioWorklet model), real-time rendering is another thing. With AudioWorklet the audio code now runs in a dedicated thread, but without real-time priority for now.