Live Coding Time & State with Sonic Pi
summary
Sonic Pi turns text into music and shows what programming can be beyond business: a live coding environment that runs on Raspberry Pi and desktops, teaches kids as young as six (8–9 a sweet spot), and supports club-stage performances. It implements live loops that run as concurrent threads, schedules events with sample-accurate synchronization, and enforces deterministic total ordering across Ruby, Erlang and SuperCollider processes so hot-swapping code and simultaneous threads reliably produce the same sound. Funding and community usage are real risks and strengths.
AI-written summary · about
chapters (13)
- 0:00Why programming needs broader appeal
- 2:34Introducing Sonic Pi
- 6:22Sonic Pi features and setup
- 8:07First program in Sonic Pi
- 10:37Building melodies and chords
- 13:27Effects and live loops
- 17:00Threads and concurrency
- 18:45Live coding performances
- 20:16Timing and academic depth
- 21:18MIDI and light control
- 22:31Real-time code modification
- 23:37Deterministic event ordering
- 24:40Supporting Sonic Pi
