home/ atoms/ euclidean-rhythm-live-variation

Varying the k parameter of a euclidean rhythm live smoothly morphs the groove without changing the step count

The euclidean-rhythm is the workhorse of generative rhythmic variation: (k,n) spreads k hits over n steps as evenly as possible. Varying k live — for example cycling 3 to 5 to 7 hits in 8 steps — morphs the groove smoothly, because the distribution algorithm keeps the hits as even as possible at each k, so successive values feel related rather than jarring. Rotating the pattern (offsetting the start point) shifts the accent without changing k or n. Using euclidean rhythms ensures even random-looking patterns keep internal spacing regularity and cannot sound arhythmic.

Examples

// Strudel: s(“bd”).euclid(3,8) s(“bd”).euclid(5,8) s(“bd”).euclid(7,8) // groove morphs smoothly as k rises

Assessment

How does varying k in euclid(k,8) change the groove, and what does rotating the pattern do to the accent?

“**`euclidean-rhythm`**: the workhorse — `(k,n)` spreads *k* hits over *n* steps evenly. Varying *k* live (3→5→7 hits in 8 steps) morphs a groove smoothly. Rotating the pattern shifts the accent.”
context/ · L2-composer/music/generative.md · chunk 1