A drum beat
Build a beat from samples and play with the tempo until it grooves.
Make music with code: beats, melodies and live-coding.
Sonic Pi turns code into music. A few lines play a beat, a loop keeps it going, and changing a number while it plays changes the song right away: that's called live-coding, and DJs do it on stage. Along the way ninjas learn loops, variables and randomness, and they end the session with a track of their own.
A few of the projects kids on this pathway have walked out with.
Build a beat from samples and play with the tempo until it grooves.
Write a tune note by note, then let the code pick random notes from a scale.
Combine loops and effects and change them live, like a DJ.
Every dojo runs this a little differently, but it usually looks like this.
One line of code plays a note, a second one plays a drum sample.
A live loop keeps the beat going while you add melodies and effects.
Change the code while the music plays and show your track to the group.
The building blocks every later pathway builds on.
No — ninjas learn about rhythm and notes along the way, and experimenting is the whole point.
Everyone works with headphones; bring your own if you have them.
Yes — Sonic Pi is free for Windows, macOS, Linux and Raspberry Pi.
Ready to try it in person?
Not sure this is the right one? Kids move between pathways freely.
Drag-and-drop blocks and real games from your very first Saturday — no experience needed.
Explore Scratch →Trade the blocks for real code and build your first text-based games and programs.
Explore Python →Design and publish your own website with HTML, CSS and a bit of JavaScript.
Explore Web Development →Code a tiny physical computer — lights, buttons and sensors you can hold in your hand.
Explore BBC micro:bit →Wire up real circuits and control them with code — lights, sensors, buzzers and more.
Explore Raspberry Pi (physical computing) →Design something in 3D on screen, then watch it actually get printed.
Explore 3D Printing →Build and program a small robot that drives, follows lines and avoids obstacles.
Explore mBot →Build your own 2D and 3D games with a real game engine.
Explore Unity →