{"schemaVersion":"1.0","record":{"label":"Sonic Pi","description":"Live-coding music environment with synthesizers, samples, effects and synchronized code loops.","aliases":[],"kind":"software","website":"https://sonic-pi.net/","overview":"Sonic Pi is a code-based music creation and performance environment built around synthesizers, samples, effects and live loops. Its current site offers version 5 desktop and browser editions with different connectivity and sample capabilities. It can cover algorithmic composition and performance tasks, while providing a more packaged musical environment than a general synthesis-programming platform.","license":"MIT main source; GPL obligations for GUI binaries; AGPL-3.0-or-later web/audio components; separate media terms","lifecycle":"active","example":false,"features":[{"name":"Live loop performance","status":"supported","detail":"Named loops can be updated independently while running and emit synchronization cues.","useCase":"Composing and performing music through live code","platforms":["Windows","macOS","Linux","Web browser"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://sonic-pi.net/tutorial-09.html","locator":"Named live loops, independent updates and automatic cue events","retrievedAt":"2026-10-07T19:17:14Z","kind":"vendor"}]},{"name":"Desktop/web connectivity parity","status":"limited","detail":"Web lacks desktop OSC, Link and low-latency interface support; browser MIDI excludes Safari in the current matrix.","useCase":"Composing and performing music through live code","platforms":["Windows","macOS","Linux","Web browser"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://sonic-pi.net/","locator":"Version 5 desktop/web feature matrix, platforms and offline availability","retrievedAt":"2026-10-07T19:16:40Z","kind":"vendor"}]},{"name":"External sample playback","status":"limited","detail":"Local external samples are documented for the app; the current web tutorial supports built-in samples only.","useCase":"Composing and performing music through live code","platforms":["Windows","macOS","Linux","Web browser"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://sonic-pi.net/tutorial-03.html","locator":"Sample manipulation, external file portability and current web exclusion","retrievedAt":"2026-10-07T19:17:37Z","kind":"vendor"}]}],"alternatives":[],"slug":"sonic-pi","draftAlternatives":[{"targetSlug":"supercollider","status":"limited","detail":"Can cover live-coded musical patterns using packaged synths, samples and effects; it does not establish replacement of arbitrary sclang programs, UGens or server deployments.","useCase":"Composing and performing music through live code","platforms":["Windows","macOS","Linux","Web browser"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://supercollider.github.io/","locator":"Synthesis server, language client and editor architecture","retrievedAt":"2026-10-07T19:17:49Z","kind":"vendor"},{"url":"https://sonic-pi.net/","locator":"Version 5 desktop/web feature matrix, platforms and offline availability","retrievedAt":"2026-10-07T19:16:40Z","kind":"vendor"},{"url":"https://sonic-pi.net/tutorial-09.html","locator":"Named live loops, independent updates and automatic cue events","retrievedAt":"2026-10-07T19:17:14Z","kind":"vendor"}]}],"evidence":[{"url":"https://sonic-pi.net/","locator":"Version 5 desktop/web feature matrix, platforms and offline availability","retrievedAt":"2026-10-07T19:16:40Z","kind":"vendor"},{"url":"https://sonic-pi.net/tutorial-09.html","locator":"Named live loops, independent updates and automatic cue events","retrievedAt":"2026-10-07T19:17:14Z","kind":"vendor"},{"url":"https://sonic-pi.net/tutorial-10.html","locator":"Set/get state sharing, sync waiting and logical time","retrievedAt":"2026-10-07T19:17:14Z","kind":"vendor"},{"url":"https://sonic-pi.net/tutorial-03.html","locator":"Sample manipulation, external file portability and current web exclusion","retrievedAt":"2026-10-07T19:17:37Z","kind":"vendor"},{"url":"https://github.com/sonic-pi-net/sonic-pi/blob/dev/LICENSE.md","locator":"MIT main source, GPL GUI distribution, AGPL web/engine, CC0 samples and separate synth definitions","retrievedAt":"2026-10-07T19:17:02Z","kind":"vendor"},{"url":"https://supercollider.github.io/","locator":"Synthesis server, language client and editor architecture","retrievedAt":"2026-10-07T19:17:49Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://sonic-pi.net/","locator":"Version 5 desktop/web feature matrix, platforms and offline availability","retrievedAt":"2026-10-07T19:16:40Z","id":"home","title":"Sonic Pi overview and downloads","kind":"vendor"},{"url":"https://sonic-pi.net/tutorial-09.html","locator":"Named live loops, independent updates and automatic cue events","retrievedAt":"2026-10-07T19:17:14Z","id":"loops","title":"Sonic Pi live coding tutorial","kind":"vendor"},{"url":"https://sonic-pi.net/tutorial-10.html","locator":"Set/get state sharing, sync waiting and logical time","retrievedAt":"2026-10-07T19:17:14Z","id":"state","title":"Sonic Pi Time State tutorial","kind":"vendor"},{"url":"https://sonic-pi.net/tutorial-03.html","locator":"Sample manipulation, external file portability and current web exclusion","retrievedAt":"2026-10-07T19:17:37Z","id":"samples","title":"Sonic Pi samples tutorial","kind":"vendor"},{"url":"https://github.com/sonic-pi-net/sonic-pi/blob/dev/LICENSE.md","locator":"MIT main source, GPL GUI distribution, AGPL web/engine, CC0 samples and separate synth definitions","retrievedAt":"2026-10-07T19:17:02Z","id":"license","title":"Sonic Pi component licenses","kind":"vendor"},{"url":"https://supercollider.github.io/","locator":"Synthesis server, language client and editor architecture","retrievedAt":"2026-10-07T19:17:49Z","id":"sc","title":"SuperCollider overview","kind":"vendor"}],"overviewCitations":["home","loops"],"licenseCitations":["license"],"sections":[{"id":"performance","heading":"Live loops as musical structure","paragraphs":[{"id":"performance-detail","content":[{"text":"A named live loop can be changed and reevaluated while the music continues. Separate names identify independently running parts, so a bass pattern and percussion loop can evolve without restarting the entire program. The name is operationally important: two concurrent live loops cannot share it. This provides a performance-oriented editing model rather than requiring every musical change to be scheduled in advance."}],"citations":["loops"]}]},{"id":"synchronization","heading":"Coordinating parts","paragraphs":[{"id":"synchronization-detail","content":[{"text":"Live loops emit cue events, and sync can align another part to those events. The Time State tutorial distinguishes deterministic set/get sharing from ordinary variables across threads. Sync waits for a future event and inherits its logical time; it is not merely a request for the latest stored value. These details matter when porting a composition whose timing depends on interaction between parts."}],"citations":["loops","state"]}]},{"id":"samples","heading":"Samples and portability","paragraphs":[{"id":"samples-detail","content":[{"text":"Sample playback supports changing rate, envelopes and selected portions of a sound. In the desktop app, external audio can be referenced by file path, but those files must accompany the code for another machine to reproduce the piece. The current web tutorial explicitly excludes the user's own sample files and supports built-in samples instead. A code-only handoff is therefore insufficient for an app composition built around a private sample collection."}],"citations":["samples"]}]},{"id":"editions","heading":"Desktop and browser differences","paragraphs":[{"id":"editions-detail","content":[{"text":"The current feature matrix gives desktop editions multichannel audio, low-latency audio-interface integration, OSC and Ableton Link support. The browser edition has stereo live audio and MIDI except in Safari, but lacks those desktop integrations and is not listed as offline-capable. Browser access can simplify a first session, yet it does not establish suitability for the same connected stage setup as the app."}],"citations":["home"]}]},{"id":"availability","heading":"Available distributions","paragraphs":[{"id":"availability-detail","content":[{"text":"The site lists Sonic Pi 5.0.0 for Windows, macOS and Linux, alongside the web edition. Current Mac downloads require macOS 13 or later; Windows architecture-specific packages distinguish x64 Windows 10/11 from ARM64 Windows 11. Linux AppImages cover several architectures. Older platform support is routed to earlier releases, so broad operating-system labels should not be read as support for every older machine."}],"citations":["home"]}]},{"id":"licensing","heading":"Component-specific licensing","paragraphs":[{"id":"licensing-detail","content":[{"text":"The repository identifies MIT terms for its main source while requiring GPL compliance for distributed GUI binaries containing linked GPL software. Web code and the SuperSonic/Clockwork components have AGPL-3.0-or-later terms. Bundled samples are separately identified as CC0, while tutorials, examples and some synth designs have other terms. Describing the whole distribution simply as MIT would therefore omit material distinctions."}],"citations":["license"]}]},{"id":"comparison","heading":"Substitution considerations","paragraphs":[{"id":"comparison-detail","content":[{"text":"Sonic Pi can substitute for some "},{"text":"SuperCollider","targetSlug":"supercollider"},{"text":" composition and performance workflows when the work can be expressed with its musical commands, bundled instruments and live loops. SuperCollider exposes a broader language/server architecture for custom synthesis systems. This is not evidence that arbitrary SuperCollider projects or extensions transfer unchanged. The assessment concerns documented authoring models, with no installation or playback test performed during research."}],"citations":["sc","home","loops"]}]}]},"id":"Q157","revision":141,"updatedAt":"2026-10-10T10:23:20Z","sourceUrl":"https://substitutefor.net/entities/Q157?revision=141"}}