3. Afro-Cuban: Clave and the Rhythmic Matrix
Cuban music is organised around clave. Not a specific instrument, not a particular song form, but a rhythmic matrix — a two-bar pattern that every musician in the ensemble feels, whether or not anyone is playing it aloud (Peñalosa 2009). The clave is the gravitational centre of the arrangement. Parts that align with it feel grounded. Parts that push against it create tension. Parts that ignore it sound wrong.
What makes clave remarkable from a Euclidean perspective is that its most common forms are simple distributions — the same algorithm that produces West African bell patterns generates the rhythmic DNA of Cuban son, rumba, and timba.
The Tresillo: E(3,8)
Section titled “The Tresillo: E(3,8)”Before there is clave, there is tresillo. Three onsets across eight pulses — E(3,8) — is the irreducible rhythmic cell of Afro-Caribbean music. It arrived in Cuba with enslaved Yoruba and Fon people, carrying the same distributional logic as the West African bell patterns explored in the previous chapter.
The tresillo groups eight pulses as 3-3-2: two long intervals followed by a short one. This asymmetry creates a forward momentum that wants to resolve on the next downbeat — the same generative tension found in E(7,12), compressed into a smaller frame.
You hear the tresillo everywhere: in the bass tumbaos of Cuban son, in the montuno piano figures of salsa, in the kick patterns of reggaeton, in the habanera rhythm that Jelly Roll Morton called “the Spanish tinge” (Lomax 1950; Acosta 2003 traces the Cuban musicians in New Orleans behind it). It is arguably the most widely distributed rhythmic pattern on earth.
The Cinquillo and Its Relationship to Tresillo
Section titled “The Cinquillo and Its Relationship to Tresillo”Where tresillo distributes three hits across eight pulses, the cinquillo distributes five. E(5,8) is the tresillo’s dense complement — it fills the spaces tresillo leaves open and shares two of its three onset positions.
The cinquillo was central to nineteenth-century Cuban contradanza and remains embedded in the conga patterns of modern salsa. When you layer tresillo and cinquillo in Poly, their interlocking creates a composite pattern that covers nearly every pulse — dense but never cluttered, because the underlying distributions are mathematically balanced. (Mauleón 1993)
Rotation and the Two Faces of a Pattern
Section titled “Rotation and the Two Faces of a Pattern”The 3-2 son clave places three hits in the first bar and two in the second; the 2-3 clave reverses this. In Cuban practice, these are not two different patterns — they are the same pattern experienced from two different starting points. A song is “in 3-2” or “in 2-3” depending on which bar the ensemble treats as the first bar. The pattern does not change; the listener’s perspective on it does.
The tresillo — the three-onset skeleton beneath the clave, which really is Euclidean at E(3,8) — makes this rotational identity easy to see:
E(3,8) at rotation 0 gives the 3-side feel: three hits clustered in the first half.
E(3,8) at rotation 3 shifts the pattern so that the two denser hits fall in the second half — the 2-side feel. In Poly, you do not need to program two different patterns for 3-2 and 2-3 tresillo. You program one and rotate it.
The full 16-pulse son clave inherits this rotational logic from the tresillo but is not itself a Euclidean pattern. Where E(3,8) is a genuine even distribution, the son clave contains an asymmetry that no E(k,n) family produces. That distinction — Euclidean skeleton, non-Euclidean elaboration — is exactly what the next section unpacks.
Son Clave, Rumba Clave, and Their Euclidean Neighbour
Section titled “Son Clave, Rumba Clave, and Their Euclidean Neighbour”Both the son clave and the rumba clave are non-Euclidean patterns. They share four of five hits and differ by a single displacement on the 3-side:
Son clave 3-2 (16 pulses): x . . x . . x . . . x . x . . .
Hits at positions 0, 3, 6, 10, 12. Inter-onset gaps: 3-3-4-2-4 (Peñalosa 2009). The 2-gap between hits 4 and 5 (positions 10 and 12) is the asymmetry that no Euclidean distribution produces — E(k,n) can only generate patterns whose gaps take one of two consecutive values (here, 3s and 4s).1
Rumba clave 3-2 (16 pulses): x . . x . . . x . . x . x . . .
Hits at positions 0, 3, 7, 10, 12. Inter-onset gaps: 3-4-3-2-4. The third hit shifts from pulse 6 to pulse 7, widening the gap on the 3-side and creating a different — but still non-Euclidean — asymmetry that gives rumba its characteristic lurch.
Neither pattern can be produced by E(k,n) at any rotation. This is a matter of arithmetic, not stylistic interpretation: the son clave’s gap sequence contains a 2, and Euclidean distribution of 5 onsets across 16 pulses produces gaps of only 3 and 4 (specifically, 3-3-4-3-3, summing to 16). That Euclidean pattern — E(5,16) — is a real musical object, but its cultural home is the bossa nova bass, not Cuban clave; see Chapter 10 (Brazilian) for the bossa reading.
E(5,16) sits close enough to the son clave — differing only in the fifth hit’s position (13 vs 12) — that Poly’s Cuban Son Montuno preset ships it as a compact Euclidean shorthand. The one-pulse difference is small musically and keeps the clave on a compact, editable Euclidean lane rather than a hand-drawn timeline. The clave itself stays fixed, though: like the Ewe bell it takes no ornamentation, no dynamics contour, and no mutation (see theory-afro-cuban Rule 1), so this shorthand is about keeping the lane simple to edit, not about running the timeline through Poly’s macro modulation.
For the exact traditional pattern, Poly gives you a two-step workflow that turns the Euclidean approximation into the real thing:
- Start from the Euclidean approximation. On the clave lane, set Steps to 16, Hits to 5, and Rotation to 0. The engine plays E(5,16) — hits at positions 0, 3, 6, 10, and 13.
- Enable Timeline mode and shift one step. Click the Timeline mode toggle in the lane’s pattern pane. Poly seeds the step grid from the current Euclidean pattern, so you see those same five hits already lit up. Now click the button at position 13 to turn it off, and click position 12 to turn it on. The lane plays the exact 3-2 son clave — hits at 0, 3, 6, 10, 12 — and holds that pattern regardless of Density, Complexity, or Mutation.
For rumba clave, start from the same E(5,16) seed, flip Timeline mode, then make two shifts: position 6 → 7 (click 6 off, 7 on) and position 13 → 12. The lane plays the rumba clave at hits 0, 3, 7, 10, 12.
See Chapter 18 (Editors and Advanced Views) for the timeline-mode UI in detail. The Euclidean-seed-then-adjust workflow is the pattern for any tradition whose signature rhythm sits close to but not on a Euclidean distribution — start from the closest E(k,n), flip into timeline mode to inherit those hits as an editable starting point, then shift steps to reach the exact target.
Building a Cuban Son Ensemble
Section titled “Building a Cuban Son Ensemble”A son ensemble layers clave with cascara (the shell pattern played on the side of the timbale), a tumbao bass, congas, and a shaker or guiro providing continuous subdivision. Each part has a defined relationship to the clave — some reinforce it, some complement it, some deliberately play against it.
| Lane | Role | Steps | Hits | Rotation | Subdivision | Note | Velocity | Ghost | Swing |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Clave (E(5,16) approximation) | 16 | 5 | 0 | 1/16 | 75 | 100 | 0 | 0.25 |
| 2 | Cascara shell | 8 | 5 | 1 | 1/8 | 37 | 80 | 45 | 0.25 |
| 3 | Tumbao bass | 8 | 3 | 0 | 1/8 | 36 | 95 | 0 | 0.20 |
| 4 | Conga | 16 | 7 | 2 | 1/16 | 63 | 85 | 55 | 0.30 |
| 5 | Shaker ghost | 8 | 7 | 0 | 1/8 | 70 | 50 | 30 | 0.20 |
Lane 1 is the Euclidean approximation, not the son clave itself: E(5,16) puts its fifth hit at 13 where the clave has 12. See Son Clave, Rumba Clave, and Their Euclidean Neighbour for the two-step workflow that turns one into the other.
Notice the swing values. Cuban rhythm is not straight and it is not swung in the jazz triplet sense — it sits in a zone around 0.20-0.30 on the Swing parameter, a subtle lilt that gives the groove its characteristic sway. The global Syncopation macro at 0.4-0.6 will shift emphasis toward the offbeats, reinforcing the clave feel without overriding the lane-level settings.
From Son to Timba
Section titled “From Son to Timba”Modern Cuban timba pushes these relationships further — denser conga patterns, more syncopated bass lines, and deliberate clave “crossings” where parts momentarily contradict the matrix for dramatic tension. In Poly, you explore this territory by increasing the Density and Syncopation macros, pushing mutation higher on the conga and bass lanes, and experimenting with phrase gating to create the sectional contrasts (verse vs montuno) that define timba arranging.
The connection from E(7,12) in the Ewe bell to E(3,8) in the tresillo — the Euclidean skeleton beneath the son clave — is not a metaphor. It is the same mathematical principle, carried across the Atlantic and adapted to new musical contexts. The son clave and its rumba cousin then elaborate that skeleton into non-Euclidean patterns whose asymmetries carry the Cuban musical fingerprint. Poly makes both the Euclidean lineage and the non-Euclidean elaboration audible.
Preview audio uses CC0 and CC-BY drum samples. Every sample is credited on theCredits & Licenses page.