{"schemaVersion":"1.0","record":{"label":"ChucK","description":"Strongly timed programming language and virtual machine for real-time sound synthesis and musical interaction.","aliases":[],"kind":"software","website":"https://chuck.stanford.edu/","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.","license":"ChucK source: choice of MIT or GPL-2.0-or-later; associated tools and dependencies may differ","lifecycle":"active","example":false,"features":[{"name":"Explicit musical timing","status":"supported","detail":"Native time and duration values control when synthesis and concurrent processes advance.","useCase":"Programming real-time synthesis and timed musical processes","platforms":["Windows","macOS","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://chuck.stanford.edu/doc/language/time.html","locator":"Native time/duration types and explicit advancement of logical time","retrievedAt":"2026-10-07T19:26:29Z","kind":"vendor"},{"url":"https://chuck.stanford.edu/doc/language/spork.html","locator":"Sample-synchronous scheduling, parent/child lifecycle and Machine.add","retrievedAt":"2026-10-07T19:26:29Z","kind":"vendor"}]},{"name":"Dynamic synthesis graphs","status":"supported","detail":"Unit generators can be connected, disconnected and controlled over time.","useCase":"Programming real-time synthesis and timed musical processes","platforms":["Windows","macOS","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://chuck.stanford.edu/doc/language/ugen.html","locator":"Signal graph connections, variable control rates and time advancement","retrievedAt":"2026-10-07T19:26:29Z","kind":"vendor"}]},{"name":"Deployment across hosts","status":"limited","detail":"Desktop, embedded-core and WebChucK routes exist; associated integrations have separate requirements and maturity.","useCase":"Programming real-time synthesis and timed musical processes","platforms":["Windows","macOS","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://github.com/ccrma/chuck?tab=readme-ov-file","locator":"Dual MIT/GPL-2.0-or-later licensing and host/core embedding","retrievedAt":"2026-10-07T19:25:39Z","kind":"vendor"},{"url":"https://chuck.stanford.edu/webchuck/","locator":"WebAssembly/AudioWorklet browser implementation","retrievedAt":"2026-10-07T19:27:00Z","kind":"vendor"},{"url":"https://chuck.stanford.edu/","locator":"Strongly timed audio language, desktop availability and integration maturity labels","retrievedAt":"2026-10-07T19:24:35Z","kind":"vendor"}]}],"alternatives":[],"slug":"chuck","draftAlternatives":[{"targetSlug":"supercollider","status":"limited","detail":"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.","useCase":"Programming real-time synthesis and timed musical processes","platforms":["Windows","macOS","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://supercollider.github.io/","locator":"Audio synthesis and language/server architecture","retrievedAt":"2026-10-07T19:17:49Z","kind":"vendor"},{"url":"https://chuck.stanford.edu/doc/language/time.html","locator":"Native time/duration types and explicit advancement of logical time","retrievedAt":"2026-10-07T19:26:29Z","kind":"vendor"},{"url":"https://chuck.stanford.edu/doc/language/ugen.html","locator":"Signal graph connections, variable control rates and time advancement","retrievedAt":"2026-10-07T19:26:29Z","kind":"vendor"}]}],"evidence":[{"url":"https://chuck.stanford.edu/","locator":"Strongly timed audio language, desktop availability and integration maturity labels","retrievedAt":"2026-10-07T19:24:35Z","kind":"vendor"},{"url":"https://github.com/ccrma/chuck?tab=readme-ov-file","locator":"Dual MIT/GPL-2.0-or-later licensing and host/core embedding","retrievedAt":"2026-10-07T19:25:39Z","kind":"vendor"},{"url":"https://chuck.stanford.edu/doc/language/time.html","locator":"Native time/duration types and explicit advancement of logical time","retrievedAt":"2026-10-07T19:26:29Z","kind":"vendor"},{"url":"https://chuck.stanford.edu/doc/language/spork.html","locator":"Sample-synchronous scheduling, parent/child lifecycle and Machine.add","retrievedAt":"2026-10-07T19:26:29Z","kind":"vendor"},{"url":"https://chuck.stanford.edu/doc/language/ugen.html","locator":"Signal graph connections, variable control rates and time advancement","retrievedAt":"2026-10-07T19:26:29Z","kind":"vendor"},{"url":"https://chuck.stanford.edu/doc/program/options.html","locator":"Runtime replacement, silent rendering and audio-device/buffer configuration","retrievedAt":"2026-10-07T19:26:45Z","kind":"vendor"},{"url":"https://chuck.stanford.edu/webchuck/","locator":"WebAssembly/AudioWorklet browser implementation","retrievedAt":"2026-10-07T19:27:00Z","kind":"vendor"},{"url":"https://supercollider.github.io/","locator":"Audio synthesis and language/server architecture","retrievedAt":"2026-10-07T19:17:49Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://chuck.stanford.edu/","locator":"Strongly timed audio language, desktop availability and integration maturity labels","retrievedAt":"2026-10-07T19:24:35Z","id":"home","title":"ChucK overview","kind":"vendor"},{"url":"https://github.com/ccrma/chuck?tab=readme-ov-file","locator":"Dual MIT/GPL-2.0-or-later licensing and host/core embedding","retrievedAt":"2026-10-07T19:25:39Z","id":"repo","title":"ChucK source repository","kind":"vendor"},{"url":"https://chuck.stanford.edu/doc/language/time.html","locator":"Native time/duration types and explicit advancement of logical time","retrievedAt":"2026-10-07T19:26:29Z","id":"time","title":"ChucK time specification","kind":"vendor"},{"url":"https://chuck.stanford.edu/doc/language/spork.html","locator":"Sample-synchronous scheduling, parent/child lifecycle and Machine.add","retrievedAt":"2026-10-07T19:26:29Z","id":"shreds","title":"ChucK concurrency and shreds","kind":"vendor"},{"url":"https://chuck.stanford.edu/doc/language/ugen.html","locator":"Signal graph connections, variable control rates and time advancement","retrievedAt":"2026-10-07T19:26:29Z","id":"ugen","title":"ChucK unit generators","kind":"vendor"},{"url":"https://chuck.stanford.edu/doc/program/options.html","locator":"Runtime replacement, silent rendering and audio-device/buffer configuration","retrievedAt":"2026-10-07T19:26:45Z","id":"cli","title":"ChucK command-line options","kind":"vendor"},{"url":"https://chuck.stanford.edu/webchuck/","locator":"WebAssembly/AudioWorklet browser implementation","retrievedAt":"2026-10-07T19:27:00Z","id":"web","title":"WebChucK overview","kind":"vendor"},{"url":"https://supercollider.github.io/","locator":"Audio synthesis and language/server architecture","retrievedAt":"2026-10-07T19:17:49Z","id":"sc","title":"SuperCollider overview","kind":"vendor"}],"overviewCitations":["home","time","repo"],"licenseCitations":["repo"],"sections":[{"id":"timing","heading":"Time as part of the language","paragraphs":[{"id":"timing-detail","content":[{"text":"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."}],"citations":["time"]}]},{"id":"synthesis","heading":"Signal graphs and control rates","paragraphs":[{"id":"synthesis-detail","content":[{"text":"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."}],"citations":["ugen"]}]},{"id":"concurrency","heading":"Concurrent shreds","paragraphs":[{"id":"concurrency-detail","content":[{"text":"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."}],"citations":["shreds"]}]},{"id":"runtime","heading":"Live replacement and audio operation","paragraphs":[{"id":"runtime-detail","content":[{"text":"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."}],"citations":["cli"]}]},{"id":"embedding","heading":"Embedding and browser use","paragraphs":[{"id":"embedding-detail","content":[{"text":"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."}],"citations":["repo","web"]}]},{"id":"license","heading":"Availability and licensing","paragraphs":[{"id":"license-detail","content":[{"text":"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."}],"citations":["home","repo"]}]},{"id":"comparison","heading":"Substitution considerations","paragraphs":[{"id":"comparison-detail","content":[{"text":"ChucK can substitute for "},{"text":"SuperCollider","targetSlug":"supercollider"},{"text":" 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."}],"citations":["sc","time","ugen","cli"]}]}]},"id":"Q1242","revision":1290,"updatedAt":"2026-10-14T01:08:32Z","sourceUrl":"https://substitutefor.net/entities/Q1242?revision=1290"}}