Live Coding Music with Sonic Pi
summary
Sonic Pi is a Ruby DSL & IDE that runs on desktop and Raspberry Pi, plays synths and samples with sample-accurate timing (claims down to milliseconds), supports multi-threaded performance via live_loop concurrency, lets code change live without tearing down, offers deterministic random seeds so riffs reproduce, imports live audio and MIDI, and ships with a 40k‑word tutorial. Demos build working beats, layered threads, and synchronized MIDI/audio rigs onstage.
AI-written summary · about
chapters (11)
- 0:00Programming's social perception
- 3:53Code as expression
- 6:23Introducing Sonic Pi
- 10:15Sonic Pi like a guitar
- 14:10Sample manipulation and sound design
- 17:00Open-source access
- 18:52Teaching concurrency
- 21:43Live coding performance
- 24:18Randomization vs determinism
- 27:05Audio input and MIDI
- 30:05Q&A








