TidalCycles stripe repeats a pattern n times at random speeds while keeping total duration constant
stripe n p repeats pattern p n times, each repetition played at a random speed, but constrained so the repetitions together still fill the same total time. stripe 2 plays the pattern twice over two cycles, dividing that span into two randomly-sized (but complementary) portions. This injects rhythmic unpredictability at the phrase level without changing where the pattern begins and ends on the cycle grid. slowstripe n is the same but the whole result is slowed by n, so the mean stripe duration is exactly one cycle and every nth stripe lands on a cycle boundary (the sam, in Indian classical terms). Use stripe to make a repeating loop feel less mechanical while staying locked to the bar.
Examples
d1 $ stripe 3 $ sound "bd sd ~ [mt ht]"
d2 $ sound "cp" -- every third repetition of d1 lands with the clap
d1 $ slowstripe 3 $ sound "bd sd ~ [mt ht]" -- mean stripe = one cycle
Assessment
Explain how stripe 2 differs from fast 2 in what it does to timing. What guarantee does stripe make about total duration? What does slowstripe 3 add over plain stripe 3?