Sonic PI: live music, live coding
summary
Sonic Pi is a Ruby-based live coding environment that runs on Ruby 2.2.2 and ships its own scheduler so sleep and timing are accurate to the beat. Code demos show using synths, chords, effects and built-in samples (manipulated with sample_duration) and threaded live_loop hot-swap that syncs threads. Examples include recreating "Fratellino"/ringtones and looping drum samples; demos mostly work but occasionally hit errors (thread sync or server crashes) that require restarting the Ruby server.
AI-written summary · about
chapters (12)
- 0:00Introduction and welcome
- 1:44About the speaker and Ruby
- 5:11All about Torino
- 9:10Introducing Sonic Pi
- 10:32Basic music coding demo
- 13:05Writing a simple song
- 17:23Why coding music feels great
- 21:12Using samples in Sonic Pi
- 23:24Live coding and live loops
- 28:15Building a silly ringtone
- 33:24Exploring more music
- 35:15Final performance and closing








