21Music

How rhythm works

Rhythm is sounds spaced out in time. Four boards of a drum machine let you set a beat, switch steps on and off, spread hits evenly and play two beats at once. Nothing plays until you press play.

Tap the pad

Count it out

Rhythm is when sounds are spaced out in time. Underneath most music there is a steady beat, like a pulse, and the other sounds are placed on it or between it. Change the spacing and the same few sounds make a very different groove.

Four boards of a drum machine follow. Each makes sound when you press play, and none of them starts by itself. There is a switch for the sound. Without a script, each board shows its patterns as plain rows of x for a hit and a dot for a rest.

Board one

The steady beat

Tempo is how fast the beat goes, counted in beats per minute, or BPM. At 60 BPM there is one beat every second. At 120 BPM there are two a second. Beats are grouped into bars, and the first beat of each bar is usually the strongest.

The time signature says how many beats are in a bar. 4/4 means four, 3/4 means three, like a waltz. Change the tempo and the bar and press play. The first beat of each bar sounds different.

At 100 BPM there is a beat every 0.60 seconds. A bar of 4 beats lasts 2.4 seconds.

Seconds between beats at different tempos
TempoBetween beats
60 BPM1.00 seconds
90 BPM0.67 seconds
120 BPM0.50 seconds
160 BPM0.38 seconds

Board two

The pattern grid

A bar can be cut into equal steps, here 16 of them, four for each of four beats. A pattern is a choice of which steps get a hit. Press a step to switch it on or off, then press play.

Try the presets. Four hits on the beat sound steady. Moving hits between the beats makes the pattern feel pushed forward, which musicians call syncopation.

The grid has 16 steps at 100 BPM, four for each beat. It shows four hits on the beat. Pattern: x...x...x...x...

Patterns of 16 steps, x for a hit and a dot for a rest
PatternSteps
Four on the floorx...x...x...x...
Tresillo, twicex..x..x.x..x..x.
Offbeats..x...x...x...x.

Board three

Hits spread evenly

Pick how many hits you want and how many steps to spread them over, and the board places the hits as evenly as it can. In 2005 the computer scientist Godfried Toussaint showed that this simple rule, based on a method of Euclid, produces many rhythms that people have played for a long time in different parts of the world.

Try 3 hits in 8 steps, 5 in 8, 7 in 12 and 4 in 9. Some patterns are the same rhythm started on a different step, so your pattern may be a turn of the one with the name.

3 hits in 8 steps. This is the Cuban tresillo, often called the habanera rhythm in the USA. Pattern: x..x..x.

Named rhythms that spread hits evenly
Hits in stepsPatternWhere it is played
3 in 8x..x..x.Cuba, where it is called the tresillo, and the USA, where it is often called the habanera rhythm
5 in 8x.x.xx.xCuba, where Toussaint calls it the cinquillo, and West Africa, where some sources call it a bell pattern
7 in 12x.x.x.xx.x.xEwe drumming from Ghana, played on a bell
4 in 9x..x.x.x.Turkey, where it is the aksak rhythm, and Dave Brubeck’s Rondo a la Turk

Board four

Two beats at once

A polyrhythm plays two different beats at the same time, such as 3 evenly spaced hits against 2. The two lines start together, then drift apart, and meet again only after the whole cycle.

Choose two numbers and press play. The low sound is the first line and the high sound is the second. The ring shows both lines on one circle.

3 against 2: both lines start together at the top. Their hits fall on the same step again only after the whole cycle, and the cycle fits 6 equal steps of both.

Key takeaways

  1. Tempo is counted in beats per minute. The time between beats is 60 divided by the tempo.
  2. Beats are grouped into bars. The time signature says how many beats are in a bar, and the first beat is usually the strongest.
  3. A pattern is a choice of which equal steps of a bar get a hit. Hits between the beats make syncopation.
  4. Spreading hits as evenly as possible over a number of steps gives the Cuban tresillo (3 in 8) and other traditional rhythms, which Godfried Toussaint pointed out in 2005.
  5. A polyrhythm plays two beats at once, such as 3 against 2. The two lines meet again only after the least common multiple of their steps.

Sources

Most of these sites could not be opened while this page was written, so the facts were checked through search results that quote them. Toussaint’s 2005 paper on Euclidean rhythms and Bjorklund’s earlier use of the method for timing, 3 in 8 as the tresillo (also called the habanera rhythm), 7 in 12 as an Ewe bell pattern from Ghana and 4 in 9 as the Turkish aksak rhythm each appeared in at least two places. Sources disagree on the name of 5 in 8, so the page gives both. Three against two as a hemiola appeared in several music theory sites. The tempo sum, the least common multiple and the evenly spread patterns were checked by calculation. The sounds are made in the browser and are not real drums.