Sonic Pi
Screenshot of Sonic Pi
Developer(s)Sam Aaron and others
Initial release2012
Stable release
4.2.0 / 14 September 2022; 5 days ago (2022-09-14)
Written inRuby, Erlang, Elixir, Clojure, C++, and Qt
Operating systemLinux, macOS, Windows, Raspberry Pi OS
TypeLive coding environment
LicenseMIT License

Sonic Pi is a live coding environment based on Ruby, originally designed to support both computing and music lessons in schools, developed by Sam Aaron in the University of Cambridge Computer Laboratory[1] in collaboration with Raspberry Pi Foundation.[2][3]


Sam Aaron, creator of Sonic Pi, demonstrating the program
Sam Aaron, creator of Sonic Pi, demonstrating the program

Thanks to its use of the SuperCollider synthesis engine and accurate timing model,[4] it is also used for live coding and other forms of algorithmic music performance and production, including at algoraves. Its research and development has been supported by Nesta, via the Sonic PI: Live & Coding project.[5]

See also

Further reading


  1. ^ Blackwell, Alan; McLean, Alex; Noble, James; Rohrhuber, Julian (2014). "DROPS - Collaboration and learning through live coding (Dagstuhl Seminar 13382)". doi:10.4230/DagRep.3.9.130. Retrieved 2 May 2015.
  2. ^ Cellan-Jones, Rory (7 October 2013). "Baked in Britain, the millionth Raspberry Pi". BBC News. Retrieved 2 May 2015.
  3. ^ "Making music with Raspberry Pi - CBBC Newsround". Retrieved 2 May 2015.
  4. ^ Aaron, Samuel; Orchard, Dominic; Blackwell, Alan F. (2014). "Temporal semantics for a live coding language" (PDF). Proceedings of the 2nd ACM SIGPLAN international workshop on Functional art, music, modeling & design - FARM '14. FARM '14. ACM. pp. 37–47. doi:10.1145/2633638.2633648. ISBN 978-1-4503-3039-8.
  5. ^ "Sonic Pi - The Live Coding Music Synth for Everyone". SONIC PI. Retrieved 5 October 2019.