Sonic Pi is an open environment where you make music by writing code live. It serves both education and performance, from classrooms to professional live coding sets.
Overview
Sonic Pi is a musical instrument where sound comes from live-written code rather than traditional physical playing. It balances simplicity for learners, playful exploration, and enough depth for personal musical expression.
Originally designed for schools, it teaches programming concepts through composing sounds. It has grown into a performance tool for live coding artists and DJs, with live loops, synths, samples, effects, and deterministic randomness so pieces replay identically.
Desktop releases are available for Windows, macOS, and Linux, including installers and AppImage builds for several CPU architectures. A browser-based edition runs without local installation on supported browsers, with some differences in MIDI, OSC, and audio I/O compared to the desktop app.
The desktop app supports multichannel live audio, MIDI in and out, OSC messaging, and Ableton Link sync. Optional VST3 and Audio Unit plugins extend use inside DAWs. Built-in documentation and a translated tutorial cover synths and language features, and the project welcomes translation contributions.
Key features
- Live-coded music performance
- Synths, samples, and audio effects
- Live loops and deterministic randomness
- Built-in tutorial and synth documentation
- MIDI and OSC on desktop app
- Ableton Link synchronization
- Browser edition without install
- VST3 and Audio Unit plugins
Use cases
- Teaching programming through music
- Live coding performances and DJ sets
- Composing in classrooms or workshops
- Learning synthesis via documented synth pages
- Integrating with a DAW through plugins