on-device · nothing leaves this page

Strudel — live coding in the browser

Strudel is TidalCycles' pattern language ported to JavaScript, running entirely on the Web Audio API — no install, no server, nothing to set up. You type a pattern, press play, and it makes sound; edit while it runs and re-evaluate to hear the change. It's the closest tool in the wider algorithmic-music landscape to this site's own local-only shape, and the language behind the Pattern Playground demo here. This page is an orientation: how it works, and where to go to learn and to watch it played.

// a two-cycle pattern: kick + snare, a bassline, and a filtered chord stack( sound("bd*2 [~ sn]").bank("RolandTR909"), note("<c2 g1>").sound("sawtooth").lpf(400), note("c4 eb4 g4").sound("triangle").room(.4).slow(2) ).cpm(120/4)

That whole passage is text you can paste into the REPL. The rest of this page unpacks what each piece is doing.

How it works

Want to try the idea without leaving mmmt-tools? The Pattern Playground implements a small, from-scratch subset of this mini-notation on the site's own audio engine — a safe sandbox before you open the real REPL.

Official docs & resources

Learn by topic

These are live YouTube searches, not fixed links, so they surface current tutorials and performances rather than going stale.

Creators & community

Algorithmic music & live coding · Pattern Playground · Learn & Train

Learn & Train