software · Q1242
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]
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]
Capabilities & limitations
Explicit musical timing
supportedNative time and duration values control when synthesis and concurrent processes advance.[3][4]
Programming real-time synthesis and timed musical processes · Windows, macOS, Linux · Version, build and integration requirements apply
2 sources · check evidence
Native time/duration types and explicit advancement of logical time
vendor · checked 2026-10-07Sample-synchronous scheduling, parent/child lifecycle and Machine.add
vendor · checked 2026-10-07Dynamic synthesis graphs
supportedUnit generators can be connected, disconnected and controlled over time.[5]
Programming real-time synthesis and timed musical processes · Windows, macOS, Linux · Version, build and integration requirements apply
1 source · check evidence
Signal graph connections, variable control rates and time advancement
vendor · checked 2026-10-07Deployment across hosts
limitedDesktop, embedded-core and WebChucK routes exist; associated integrations have separate requirements and maturity.[1][2][7]
Programming real-time synthesis and timed musical processes · Windows, macOS, Linux · Version, build and integration requirements apply
3 sources · check evidence
Dual MIT/GPL-2.0-or-later licensing and host/core embedding
vendor · checked 2026-10-07WebAssembly/AudioWorklet browser implementation
vendor · checked 2026-10-07Strongly timed audio language, desktop availability and integration maturity labels
vendor · checked 2026-10-07Can substitute for
These are products or services this entry can replace. Check the task and limitations for each comparison.
SuperCollider for Programming real-time synthesis and timed musical processes
limitedCan cover programmed synthesis and real-time musical processes; its strongly timed VM model differs from SuperCollider's client/server environment and does not imply source or plugin compatibility.[3][5][8]
Windows, macOS, Linux · Version, build and integration requirements apply
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
Discussion & disputes
Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.
No discussion yet.
Revision history
Open a revision to read an earlier version of this article.
| Revision | Timestamp | Edit summary |
|---|---|---|
| 1290 | 2026-10-14 01:08:32 | /* wbeditentity-create-item:0| */ sf:2fe1b232-1bca-4df4-9d46-082ddaa141b8:v1 | Adds timed synthesis programming with shred lifecycle, logical-time versus physical-latency distinctions, embedding and dual licensing; browser and integration | attribution: /proposals/2fe1b232-1bca-4df4-9d46-082ddaa141b8 |