ChucK Strongly timed programming language and virtual machine for real-time sound synthesis and musical interaction.
Overview ChucK is a programming language and virtual machine for real-time sound synthesis and music. Time is explicit in the language, allowing concurrent musical processes to coordinate at the sample level. It supports changing running code and connecting external controls, while its core can also be embedded in other applications.[1] [2] [3]
Contents Time as part of the language ChucK provides native time and duration types and a special logical-time value named now. Explicitly advancing that value suspends the current process until its intended time and permits other processes and audio computation to proceed. The timing model therefore belongs to the program's semantics, not merely to an external scheduler that occasionally invokes a callback.[3]
Signal graphs and control rates Unit generators are objects connected into signal-processing networks. They may be connected or disconnected dynamically, and their parameters can be controlled at varying rates through the timing mechanism. Merely constructing a graph does not generate continuing audio unless time advances. This is an important distinction when translating an instrument from a system whose audio server runs independently of its control code.[5]
Concurrent shreds ChucK calls its concurrent processes shreds and documents deterministic, sample-synchronous, non-preemptive scheduling. A sporked child normally ends when its parent exits, while Machine.add creates a separately managed process without that parent-child relationship. Choosing between those mechanisms affects whether a musical layer survives when another part of a performance is replaced or stopped.[4]
Live replacement and audio operation The command-line interface can add, remove and replace running shreds. It also separates real-time audio output from silent operation useful for rendering, while retaining logical timing. Device selection, channel count, sample rate and buffer size are explicit configuration concerns. Sample-precise language scheduling should not be confused with a guarantee of negligible physical latency on every audio interface.[6]
Embedding and browser use The repository documents a core-only build and C++ host examples for embedding the compiler, virtual machine and synthesis engine. WebChucK takes another route, compiling the C++ implementation to WebAssembly and using Web Audio's AudioWorklet interface. These establish integration options, but do not prove that every native extension or peripheral works unchanged in a browser.[2] [7]
Availability and licensing ChucK is freely available for Windows, macOS and Linux. Its current source repository explicitly offers a choice between MIT and GPL-2.0-or-later licensing. Associated tools should be distinguished from the language itself: the homepage labels ChuGL graphics as alpha and some game-engine or visual-patching integrations as early development. Their existence is not evidence of production equivalence with the host tools.[1] [2]
Substitution considerations ChucK can substitute for SuperCollider for custom audio synthesis and timed musical processes when its language and virtual-machine model suit the instrument. SuperCollider's separate language-client and synthesis-server design is a material architectural difference. A switch requires rewriting control and synthesis code and checking external interfaces; no source compatibility, plugin parity or measured performance advantage is claimed.[3] [5] [6] [8]
References ChucK overview Strongly timed audio language, desktop availability and integration maturity labels
vendor · retrieved 2026-10-07 ChucK source repository Dual MIT/GPL-2.0-or-later licensing and host/core embedding
vendor · retrieved 2026-10-07 ChucK time specification Native time/duration types and explicit advancement of logical time
vendor · retrieved 2026-10-07 ChucK concurrency and shreds Sample-synchronous scheduling, parent/child lifecycle and Machine.add
vendor · retrieved 2026-10-07 ChucK unit generators Signal graph connections, variable control rates and time advancement
vendor · retrieved 2026-10-07 ChucK command-line options Runtime replacement, silent rendering and audio-device/buffer configuration
vendor · retrieved 2026-10-07 WebChucK overview WebAssembly/AudioWorklet browser implementation
vendor · retrieved 2026-10-07 SuperCollider overview Audio synthesis and language/server architecture
vendor · retrieved 2026-10-07 Also included: 3 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.