1.4 Swarm Synth Lab

1.4.6 Euclidean Rhythms

Euclidean Rhythms

Touch to start the sound, then choose a mode bottom left — Auto plays by itself. Drag round the three arcs for the flock; speed and birds bottom right.

How to play. Touch the picture to start the sound. The row at the bottom left chooses how it is played:

Night turns the ground black. The panel at the bottom right sets the speed and the number of birds. A Korg nanoKONTROL2 plays it all, as the Processing program does (the controller button; Chrome, Edge or Firefox — Safari has no MIDI).

Working note. Here I implemented Godfried Toussaint's Euclidean rhythms to study how three layers of timing, each simple on its own, combine into a great variety of rhythmic patterns. Together with the boids, which strike the polygons' edges like strings and lay a melody over the beats, they make one whole piece of music. In the end the polygons are the main instrument here: as they turn, they trigger both the rhythms and the melodies.

Three rings turn together — sky blue, light green and orange, from the outside in — with three arcs round them for the flock. At the start each ring has a single beat; the birds bring in more.

Euclidean Rhythms: a ring's beats spread as evenly as its places allow and sound at the red line; every beat shakes the flock apart; a bird crossing an edge bows it, a long edge low, a short one high
Euclidean Rhythms: a ring's beats spread as evenly as its places allow and sound at the red line; every beat shakes the flock apart; a bird crossing an edge bows it, a long edge low, a short one high

The rhythms. Each ring spreads its beats as evenly as Euclid's algorithm allows over its places, and a place sounds when it passes the red line: the outer ring a low drum, the middle one a knock, the inner one a tick. Three of eight is the tresillo, five of sixteen the bossa nova.

The birds. Every beat shakes the flock apart, the low drum hardest; its own rules, set on the three arcs, pull it back together.

The birds' beats. Each ring has a zone, a faint band round its circle in its colour. On every beat the birds in it are counted, and every three of them add one more beat to that ring; the counted birds take the ring's colour, and a counter under the centre shows what comes at the next beat. When the birds leave, the beats go with them. More beats shake the flock harder, so a crowded ring tends to scatter its own birds again.

The strings. A bird crossing an edge — or an edge sweeping over a bird — bows it on the ring's next beat: a long edge sounds low, a short one high, so a ring with more beats sings higher.

Further reading

  1. 1.4.6.1 Blue Monday (New Order)
  2. 1.4.6.2 Night Flight