Juliacon 2024

Sonic Pi - Live Coding as a tool for next-gen education.
07-11, 17:10–18:10 (Europe/Amsterdam), REPL (2, main stage)

Sonic Pi is a free code-based music creation and performance tool that targets both education and professional musicians. It is possible for beginners to code fresh beats, driving bass lines and shimmering synth riffs. All this whilst teaching core computer science concepts such as sequencing, functions, variables, loops, data structures and algorithms.

This talk will briefly introduce Sonic Pi before taking a deep technical nose-dive into some of the interesting requirements of live coding.


Sonic Pi is a free code-based music creation and performance tool that targets both education and professional musicians. It is possible for beginners to code fresh beats, driving bass lines and shimmering synth riffs. All this whilst teaching core computer science concepts such as sequencing, functions, variables, loops, data structures and algorithms.

This talk will briefly introduce Sonic Pi before taking a deep technical nose-dive into some of the interesting requirements of live coding systems. We'll touch on concurrency, distributed programming, temporal logic, deterministic randomisation, event streams, hot swapping code and domain specific languages.

Get ready for some serious live coded beats and a window into an exciting future of computing education.

Dr Sam Aaron is the creator of Sonic Pi, an internationally renowned live coding performer, public speaker and science communicator. Sam has a PhD in Computer Science from Newcastle University and held a research position at the University of Cambridge Computer Laboratory where he initially developed Sonic Pi.