pattern
Installation
SKILL.md
Strudel Pattern Reference
Mini-Notation Basics
Mini-notation is the string DSL inside double quotes. One cycle = one musical loop.
| Syntax | Meaning | Example |
|---|---|---|
"a b c" |
Sequence (evenly spaced in cycle) | "c3 e3 g3" = 3 notes per cycle |
"[a b]" |
Group (subdivide) | "c3 [e3 g3]" = c3 half, e3+g3 quarter each |
"a*N" |
Repeat N times | "hh*8" = 8 hi-hats per cycle |
"a/N" |
Slow down by N | "bd/2" = bass drum every 2 cycles |
"a?" |
Random removal (50%) | "hh?" = sometimes plays, sometimes silent |
"a b , c d" |
Stack (overlay/polyrhythm) | "bd sd , hh*4" = drums + hi-hat layer |
"<a b c>" |
Alternate per cycle | "<c3 e3 g3>" = different note each cycle |
"a!N" |
Replicate (same timing) | "c3!3" = c3 three times at same speed |
"~" |
Rest (silence) | "bd ~ sd ~" = kick, rest, snare, rest |