14. Patterns that (almost) play themselves

← Learning path

.track can generate rhythms and variations for you:

seed 7
steps 16
hat   spread 11
perc  x . x? . [x|o] . x*3 . x . x? . [x|o] . x*3 .

↑ A real, playable song now: 11 hats spread evenly, then a perc line mixing a maybe-hit, a random [x|o] choice, and a 3-hit roll.

Real names: chords, ratchets/rolls, probability, Euclidean rhythms (spread), arpeggios (arp), and seeded randomness (a fixed seed makes the randomness repeatable — important so a song sounds the same every time it plays).

Live now: chords (A3+C4+E4), counts (4x, 7_, 3.), seed, and all of the generators above — rolls (*N), maybe (?/?P), <cycle>, [choice], Euclidean spread, the row transforms rev / fast N / slow N, and arp up / arp down. The random ones (?, [choice]) are tied to seed, so a song plays the same every time — set seed 42 to roll a different-but-fixed version. See the language reference §5 for the exact rules.

Still coming: gate/glide, FM and sub-oscillators, more filter types, drive/crush/chorus, wobble, sidechain, fades, and automation rows — see the “NOT yet in the language” list in the reference cheat sheet.


← Index · Next → 15. Mixing, master & the limiter