home/ atoms/ webchuck-wasm-browser

WebChucK runs ChucK in the browser via WebAssembly and the Web Audio AudioWorklet

WebChucK brings the full ChucK language to the browser: ChucK’s C++ source is compiled with Emscripten to WebAssembly and run through the Web Audio API’s AudioWorkletNode, with near-native performance on desktop, tablet, and mobile browsers. This removes the install barrier that previously tied ChucK to the desktop, and powers the online IDE at chuck.stanford.edu/ide where a learner can write, run, and share ChucK code with nothing installed. It can also be embedded in a webpage via CDN or npm, making it a browser-native on-ramp for first-contact learners.

Examples

Open chuck.stanford.edu/ide, type SinOsc s => dac; 440=>s.freq; 1::second=>now;, and click Run — no install. The ‘More Ways to ChucK’ index lists WebChucK as ‘ChucK running natively in browsers’.

Assessment

Compare WebChucK and Strudel as browser live-coding environments: what does each optimise for, and which fits a learner focused on DSP-level synthesis vs pattern-based rhythm?

“(ChucK running natively in browsers)”