WebAssembly AudioWorklet Csound
summary
A WebAssembly + AudioWorklet Csound port runs LibCsound in an AudioWorklet node with a ScriptProcessor fallback, shipping both sync and async WASM loaders. It powers live coding on live.csound.com and a reverb demo using two FFTs (one per channel) with pitch shifting and feedback, and runs on phones (Motorola G) and desktop. Performance sits around ~50% native speed, audio worklet reduces glitches but occasional dropouts link to GC and thread-priority issues, and packaging requires extra build care.
AI-written summary · about
chapters (8)
- 0:00Introduction to talk
- 0:44Csound ecosystem overview
- 2:58WebAssembly AudioWorklet Csound
- 6:36Demonstration glowing orbs
- 8:15Live Csound.com demo
- 11:38Live performance example
- 13:51Challenges with WebAssembly
- 16:26Conclusions and thanks
related talks
24mAmp Up Web Audio Applications with Rust and WebAssembly
16mWhy WebAssembly
29mMaking Minimal Techno with WebAssembly And a C Compiler
22mPractical Rust for Web Audio
29mWebAssembly - the Final Frontier
52mWebAssembly: Taking Your C++ and Going Places
47mRewrite the web with Rust and Web Assembly
28mWebAssembly: Of Portability, and Performance
