home/ atoms/ strudel-mini-notation

Strudel mini-notation squishes a space-separated sequence of sounds into one cycle

Strudel inherits the Tidal mini-notation — a domain-specific syntax written inside strings. A sequence of names separated by spaces is squished into a single cycle, so more elements means each is shorter, not slower. Square brackets [] create a sub-sequence squished into one step; angle brackets <> alternate one element per cycle without changing tempo; *N speeds an element up (a fast repeat); ~ or - inserts a rest; and a comma plays patterns in parallel. These compose, and the same mini-notation runs inside s(), note(), n(), and most other Strudel functions.

Examples

s("bd hh sd hh")        // 4 sounds squished into one cycle
s("bd [hh hh] sd hh")  // two hats in the space of one step
s("<bd cp>")            // alternates each cycle

Assessment

Write the mini-notation for: kick on step 1, two hi-hats in the space of step 2, snare on step 3, rest on step 4. Then make a clap alternate into step 3 every other cycle using angle brackets.

“the content of a sequence will be squished into what's called a cycle”