← back to the portfolio

the studio

You don't need to know music. You don't need to know code. Click some squares, press play — you're making a beat in ten seconds.

step 1 — make a beat by clicking squares ↓

kick
snare
hats

YOUR GRID, WRITTEN AS LIVE CODE — THIS IS REAL STRUDEL NOTATION

s("[bd ~ ~ ~] [~ ~ ~ ~] [bd ~ ~ ~] [~ ~ ~ ~],
   [~ ~ ~ ~] [sd ~ ~ ~] [~ ~ ~ ~] [sd ~ ~ ~],
   [hh ~ hh ~] [hh ~ hh ~] [hh ~ hh ~] [hh ~ hh ~]")

every square you click edits this code. that's all live-coded music is ✨

now the real thing

Below is Strudel — the actual instrument people play at algorave concerts, where musicians write code live on stage and the crowd dances to it. The code inside is the score this site hums. Three tiny missions, no experience needed:

01

press play

Hit the ▶ button in the black window below. That's a whole band written in nine lines of code.

02

change one number

Find gain(.9) and make it gain(.3). Press update (or Ctrl+Enter). The drums got quieter — you just live-coded.

03

break something

Change "kalimba" to "gm_music_box", or add *2 after bd. Weird sounds are the point. Undo is Ctrl+Z.