A deep dive into the architecture patterns used to build modular audio nodes for a browser-based DAW called Web Synth. Covers the core module interface (connectables, serialization, UI rendering), how AudioWorkletProcessors are used for real-time DSP with Rust/Wasm, the async initialization sequence for loading Wasm onto the audio thread, and how SharedArrayBuffer enables efficient live data synchronization between the audio thread and UI thread for visualizations.

9m read timeFrom cprimozic.net
Post cover image
Table of contents
High-Level ArchitectureAudioWorkletProcessorLive VisualizationsConclusion

Sort: