Glicol: A Graph-Oriented Live Coding Language Developed With Rust, WebAssembly And AudioWorklet
summary
Glicol is a live‑coding language and Rust audio engine compiled to WebAssembly and run in an AudioWorklet, able to run in-browser, on embedded Bela boards, or as a JS lib. It represents audio as DAGs, parses with Pest, uses dasp_graph nodes, and applies longest common subsequence node diffing to update graphs with minimal changes. A phase-preserving preprocessing keeps oscillator state across edits, SharedArrayBuffer-based comms move code/samples to the audio thread, and syntax errors fall back to the previous running graph.
AI-written summary · about
chapters (10)
- 0:00Introduction to Greco
- 0:28Background and Motivation
- 1:18Greco Features and Rust
- 2:14Syntax and Node Management
- 3:07Web App and Functionality
- 4:11Technical Architecture
- 5:46Parsing and Signal Flow
- 6:45Performance Optimization
- 7:38Web Assembly and Library
- 8:48Conclusion
related talks
24mAmp Up Web Audio Applications with Rust and WebAssembly
23mLearnable Programming with Rust
22mPractical Rust for Web Audio
47mRewrite the web with Rust and Web Assembly
20mWebAssembly AudioWorklet Csound
41mLet's build with WebAssembly!
23mAccelerating Musical Live Coding With On-Device AI
41mCreating High-Performance Web Apps with WebAssembly
