Master Strudel & music theory by building real tracks.
Every lesson builds directly onto a real multi-scene Creation inside LILA IDE. Hear each step live before you code, get instant checklist feedback, and master Aether HD voices and live controls with zero setup.
Lesson 1 of 6: Pulse, Cycles & The Backbeat
Set a chill 84 BPM tempo and code the foundational kick-and-snare groove of your track.
Structured Curriculum
Choose a Project Path
Every path is 100% unlocked. Preview the finished track live or inspect each step below before opening LILA IDE.
Strudel Zero-to-Track: Build a 3-Scene Lo-Fi Beat
Designed for coders and creators new to Strudel. Every lesson adds a new layer directly onto the track you are building—pairing core Strudel mini-notation with intuitive music theory and built-in Aether HD instruments (lila_rhodes, lila_kalimba).
A playable 3-Scene Lo-Fi Creation (Intro -> Main Groove -> Breakdown) with drums, 8th-note hats, 4-bar sub-bass, warm Rhodes 7th chords, and a scale-locked kalimba melody.
setcps(84/60/4)
// Lesson 6: Complete 3-Scene Lo-Fi Track (Intro -> Main Groove -> Breakdown)
const drums = s("bd ~ sd [~ bd]");
const hats = s("hh*8").gain(0.25);
const bass = note("<c2 ab1 f1 g1> ~").s("sine").decay(0.45).sustain(0).gain(0.45);
const chords = note("<[c4,eb4,g4,bb4] [ab3,c4,eb4,g4] [f3,ab3,c4,eb4] [g3,b3,d4,f4]>")
.s("lila_rhodes")
.lpf(1400)
.room(0.38)
.gain(0.34);
const melody = n("0 ~ 2 3 ~ 4 2 ~")
.scale("C5:minor")
.s("lila_kalimba")
.delay(0.25)
.room(0.32)
.gain(0.32);
const intro = stack(chords, hats);
const mainGroove = stack(drums, hats, bass, chords, melody);
const breakdown = stack(hats, bass, chords, melody);
arrange(
[4, intro],
[8, mainGroove],
[4, breakdown]
)- 4mMusic Theory · 4/4 Time & Backbeat
Why Beats 1 and 3 Anchor the Groove
Almost all hip-hop, lo-fi, pop, and electronic music is counted in 4-beat bars ("1, 2, 3, 4"). Leaving empty space (rests) between heavy kick hits (
bd) and snappy snare hits (sd) gives the beat room to breathe.Strudel Syntax · setcps(), s(), and ~One Cycle = One Bar of Time
In Strudel, time flows in repeating loops called cycles where 1 cycle equals 1 bar (4 beats). Four space-separated items inside
s("bd ~ sd ~")each get 1 beat, and~is a silent rest. Writingsetcps(84/60/4)sets 84 BPM in 4/4 time cleanly.setcps(84/60/4) s("bd ~ sd ~")Includes live coding checklist (75 pts) + concept checkpoint (25 pts) - 5m
- 6m
- 6m
- 5m
- 6m
Full reference for 60fps presets(), live controls, comment directives, metadata headers, and IDE shortcuts.
Audition all 30 built-in instruments—from Rhodes keys and kalimbas to 808s, acid bass, and stereo supersaws.
Stack curated drum, bass, and chord building blocks directly into any LILA IDE session.