# ChucK

Strongly timed programming language and virtual machine for real\-time sound synthesis and musical interaction\.

ID: Q1242 · Revision: 1290

Type: software · License: ChucK source: choice of MIT or GPL\-2\.0\-or\-later; associated tools and dependencies may differ[^repo] · Status: active

Website: https://chuck.stanford.edu/



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\.[^home][^time][^repo]

## 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\.[^time]

## 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\.[^ugen]

## 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\.[^shreds]

## 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\.[^cli]

## 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\.[^repo][^web]

## 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\.[^home][^repo]

## Substitution considerations

ChucK can substitute for [SuperCollider](/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\.[^sc][^time][^ugen][^cli]

## Capabilities and substitutions

### Explicit musical timing — supported

Native time and duration values control when synthesis and concurrent processes advance\.[^time][^shreds]

Use case: Programming real\-time synthesis and timed musical processes · Platforms: Windows, macOS, Linux · Region: Version, build and integration requirements apply

### Dynamic synthesis graphs — supported

Unit generators can be connected, disconnected and controlled over time\.[^ugen]

Use case: Programming real\-time synthesis and timed musical processes · Platforms: Windows, macOS, Linux · Region: Version, build and integration requirements apply

### Deployment across hosts — limited

Desktop, embedded\-core and WebChucK routes exist; associated integrations have separate requirements and maturity\.[^home][^repo][^web]

Use case: Programming real\-time synthesis and timed musical processes · Platforms: Windows, macOS, Linux · Region: Version, build and integration requirements apply

### [Substitute for SuperCollider](/supercollider) — limited

Can 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\.[^time][^ugen][^sc]

Use case: Programming real\-time synthesis and timed musical processes · Platforms: Windows, macOS, Linux · Region: Version, build and integration requirements apply

## References

[^home]: [ChucK overview](<https://chuck.stanford.edu/>) — Strongly timed audio language, desktop availability and integration maturity labels (vendor; retrieved 2026-10-07T19:24:35Z)

[^repo]: [ChucK source repository](<https://github.com/ccrma/chuck?tab=readme-ov-file>) — Dual MIT/GPL\-2\.0\-or\-later licensing and host/core embedding (vendor; retrieved 2026-10-07T19:25:39Z)

[^time]: [ChucK time specification](<https://chuck.stanford.edu/doc/language/time.html>) — Native time/duration types and explicit advancement of logical time (vendor; retrieved 2026-10-07T19:26:29Z)

[^shreds]: [ChucK concurrency and shreds](<https://chuck.stanford.edu/doc/language/spork.html>) — Sample\-synchronous scheduling, parent/child lifecycle and Machine\.add (vendor; retrieved 2026-10-07T19:26:29Z)

[^ugen]: [ChucK unit generators](<https://chuck.stanford.edu/doc/language/ugen.html>) — Signal graph connections, variable control rates and time advancement (vendor; retrieved 2026-10-07T19:26:29Z)

[^cli]: [ChucK command\-line options](<https://chuck.stanford.edu/doc/program/options.html>) — Runtime replacement, silent rendering and audio\-device/buffer configuration (vendor; retrieved 2026-10-07T19:26:45Z)

[^web]: [WebChucK overview](<https://chuck.stanford.edu/webchuck/>) — WebAssembly/AudioWorklet browser implementation (vendor; retrieved 2026-10-07T19:27:00Z)

[^sc]: [SuperCollider overview](<https://supercollider.github.io/>) — Audio synthesis and language/server architecture (vendor; retrieved 2026-10-07T19:17:49Z)

Source revision: https://substitutefor.net/entities/Q1242?revision=1290
