atlifreysi / strudel

Learning Strudel

A hands-on course, in order. Each chapter adds one idea — press Try ▶ to hear anything in the scratchpad below.

Chapter 0

Start here

Understand how to use this guide and the right mindset for learning Strudel.

Strudel is live-coding music: you write a few short lines and they loop forever, and you change them while they play. This guide is a course — work through the chapters in order. Each one adds one idea.

Every example has a Try ▶ button — it drops the code into the scratchpad below and plays it. Change a number, hit play again, listen. In the editor, Cmd/Ctrl + Enter plays and Ctrl + C stops.

◆ Key idea The mindset

You're not composing a song top-to-bottom. You're writing rules for time that repeat. The way to learn is to grab a working example, change one thing, and run it — then keep the happy accidents. Treat the scratchpad like an instrument, not a document.

sound("bd sd hh sd")
Your first beat. Press Try ▶.
★ Tip How to actually learn it

Poke and break things. Take any example, change one value, and listen to what moved. That builds intuition faster than reading ever will.