Sonic Pi

Open source

Sonic Pi is a free, open-source tool for making and performing music by writing code, available as a desktop app and in the browser.

sonic-pi.net
Sonic Pi homepage screenshot
GitHub stars
12k
Last 30 days
+67(+1%)
Last commit
yesterday
Repository age
13 years
Version
v5.0.0
Licence
Custom
Self-hosted
Yes

About Sonic Pi

Sonic Pi turns writing code into making music. Melodies, rhythms and bass lines are written as code, such as a live loop that plays random notes from a scale with a reverb effect, and synths are code too, each documented on its own page.

The project positions it for several groups: professional musicians and DJs, composition and performance, blind and partially sighted people, and computing and music lessons. Its learning pitch is that people pick up coding by making music rather than through abstract exercises.

It comes in two forms. The app for Windows, macOS and Linux lists low-latency audio through ASIO, Core Audio or PipeWire, well-timed OSC, and Ableton Link. The web version (v5.0) has stereo audio, gamepad input and MIDI, with the site noting MIDI does not work in Safari.

Key features

  • Every synth has its own documentation page
  • OSC and Ableton Link in the desktop app
  • Low-latency audio through ASIO, Core Audio or PipeWire
  • Gamepad input in both app and web
  • Desktop apps plus a web version

Good fit for

  • Live-coded performances
  • Music and computing lessons
  • Composing with scales and chords in code
Built with
C++ tools
Tags
live coding
music
synthesizer
education
audio
creative coding

Sonic Pi: questions and answers

What is Sonic Pi used for?
Sonic Pi is a free, open-source tool for making and performing music by writing code, available as a desktop app and in the browser. It is a good fit for live-coded performances, music and computing lessons, and composing with scales and chords in code.
Is Sonic Pi open source?
Yes. Sonic Pi is open source under a custom licence. Its source code is on GitHub at sonic-pi-net/sonic-pi and is written mainly in C++.
Is Sonic Pi free?
Yes. Sonic Pi is open source, so the software itself is free to use under the terms of its own licence.
Can I self-host Sonic Pi?
Yes. Sonic Pi can be self-hosted on your own server or infrastructure.
What are some alternatives to Sonic Pi?
Similar open-source tools in the Media & Streaming category include Radium, mpv and Navidrome. SaaS products in the same category include SoundCloud, Mixvibes Cross and Apple Podcasts.
Is Sonic Pi actively maintained?
Yes. The most recent commit to Sonic Pi was on 20 November 2026, and the latest release is v5.0.0, published on 7 August 2026. The project has 12k stars on GitHub, with 67 added in the last 30 days.

Open-source alternatives to Sonic Pi

See all

SaaS alternatives to Sonic Pi

See all