Drum machine

Draw a pattern, change the subdivision, and listen.

Subdivision of the beat
Click a cell to cycle through medium, strong, soft and off. The pattern survives a change of subdivision where the positions exist.
Presets
Styles:
Style presets also set the tempo and the swing; each is a one-bar sketch reduced to kick, snare and hi-hats.
Accents:
Feel and reference
Swing ratio:
The slider sets how much of each pair of subdivisions the first note takes. It has no effect on the triplet grid.
More about this app

How it works

One bar of four beats is divided into two, three or four, so that the same four beats carry a different feel. The three subdivisions are eighth notes (8 steps), triplets (12 steps, the 12/8 feel) and sixteenth notes (16 steps); each thick line starts a beat. In the style presets the snare row stands in for rim, clave or comping where the style has no backbeat, and the closed hi-hat row for ride or bell. Swing delays every second subdivision so that a pair of eighths or sixteenths becomes long–short; the triplet grid is already long–short by construction.

Things to try

Keep the rock pattern and switch to sixteenths, then to triplets, and notice that the beat has not changed while the feel has. Put hi-hats on every step at each subdivision and raise the tempo until the subdivisions stop sounding like separate events. Set only beat 1 with the subdivision tick on and count the divisions aloud. The space bar starts and stops.