home/ atoms/ tidal-euclidean-notation

Tidal uses (k,n) notation inside a pattern to generate Euclidean rhythms — evenly distributing k onsets over n steps

TidalCycles integrates Euclidean rhythms directly into mini-notation: "bd(3,8)" distributes 3 kick hits as evenly as possible across 8 steps. An optional third parameter rotates the pattern: "bd(3,8,2)" rotates by 2. The draw function visualizes what the pattern looks like, and drawLine shows multiple cycles. Tidal’s author includes the full Toussaint list of named Euclidean rhythms (tresillo E(3,8), cinquillo E(5,8), Bossa-Nova E(5,16), etc.). This allows expressing traditional world rhythms as compact parameter pairs, and provides a strong foundation for polyrhythmic pattern combination.

Examples

d1 $ sound "bd(3,8)" — tresillo. d1 $ sound "bd(5,8)" — cinquillo. drawLine "bd(3,8)" shows the pattern visually.

Assessment

Write TidalCycles code for the Cuban tresillo and cinquillo. What does E(5,16) represent and where is it from?

“Euclidean Algorithm Generates Traditional Musical Rhythms”
corpus · tidalcycles-course-1-structured-4-week-course · chunk 5
“If you give two numbers in brackets after an element in a pattern, then **Tidal** will try to distribute the first number of sounds equally across the second number of steps”
corpus · tidalcycles-workshop-hands-on-beginner-course · chunk 6