Can Sonic Pi Be Used for Live Performances?
Updated
Yes. Sonic Pi is explicitly built as a live performance instrument, not just a teaching tool or a studio sketchpad. The official site describes it as "a new kind of musical instrument" and states it is designed "for composition and performance" by "professional musicians and DJs." If you want to perform electronic music by writing and editing code on stage, Sonic Pi is intended for exactly that use.
What "live" means in Sonic Pi
Live coding in Sonic Pi means you write and modify code while the music is already playing. You start a live_loop, and it keeps running. Then you edit that loop and re-run it — the change takes effect without stopping the sound.
A minimal example from the site:
with_fx :reverb, mix: 0.2 do
live_loop :bleeps do
play scale(:Eb2, :major_pentatonic, num_octaves: 3).choose, release: 0.1, amp: rand
sleep 0.1
end
end
The live_loop keeps cycling. You can change the scale, the synth, the timing, or the effects and re-evaluate the block while it plays. That edit-while-running cycle is the core of a live set.
Evidence that it's used on real stages
The Sonic Pi site lists several performance examples rather than just describing the possibility:
| Performance | Who | Context |
|---|---|---|
| "Array" | DJ_Dave | Live-coded track |
| Sonic Pi Band | Sam Aaron & Ben Smith | Live performance |
| Set at The Lot Radio | alsoknownasrox | Radio/live set |
| "Daft Punk – Aerodynamic" | Sébastien Rannou | Coded cover |
| Royal Albert Hall | 1,000 young musicians + Sonic Pi quartet | Large-scale event |
The site also notes Sonic Pi has been seen "from school assemblies to the Royal Albert Hall, and all the way up to the International Space Station." The range matters: the same tool covers a solo ambient set, a club-oriented dance set, and a massed ensemble performance.
What makes it workable on stage
Three features matter most for performance:
- Live loops — patterns run continuously and can be edited mid-performance.
- Synths as code — every synth is controlled by code, giving "algorithmic precision and control over the sound." Each synth has its own documentation page where you can play from its keys and shape it with its dials.
- Networking and sync — Sonic Pi can act as a "fully networked live coding music studio" using OSC, MIDI, and Ableton Link.
Platform and hardware support for performance
The feature table on the site distinguishes the desktop app from the web version:
| Feature | App | Web |
|---|---|---|
| Gamepad input | yes | yes |
| Live audio in and out | yes (multichannel) | yes (stereo) |
| Well-timed MIDI in and out | yes | yes (not Safari) |
| Low-latency audio via interface (ASIO, Core Audio, PipeWire) | yes | no |
| Well-timed OSC in and out | yes | no |
| Ableton Link and Link Audio | yes | no |
For a live set, the desktop app is the relevant choice: low-latency audio through your interface, well-timed OSC, and Ableton Link are all app-only. The web version can handle gamepad input, stereo audio, and MIDI (outside Safari), but it lacks the timing and sync features a performance depends on.
Sonic Pi runs on Windows, macOS, and Linux.
Practical conditions to check before performing
- Audio interface and driver — low-latency output depends on ASIO (Windows), Core Audio (macOS), or PipeWire (Linux). Set this up and test it before the show.
- Sync with other gear — if you're playing alongside hardware or other software, Ableton Link and OSC are app-only, so plan around the desktop app.
- MIDI controllers — well-timed MIDI in/out is supported in both app and web (except Safari), so controllers are viable either way.
- Set preparation — because edits apply live, you can prepare loops in advance and still change them on stage. The site's examples range from ambient sets to dance music in nightclubs, so the format is flexible.
Bottom line
Sonic Pi is a legitimate live performance tool, backed by documented performances from DJs, musicians, and large events. Choose the desktop app for anything requiring tight timing, low latency, or sync with other equipment. The web version is more limited for stage use.