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?