Interactive
Rhythm Lab: hear agreement as a pattern
A step sequencer is a grid. Each row is a voice, each column is a moment in time, and a switched-on cell sounds its tone when the playhead reaches it. The grid is simple, but it carries an idea that matters for Bitcoin: every voice has to keep the same clock, or the pattern falls apart.
The sequencer
Press Tab to move between steps. Press Enter or Space to switch a step on or off. A step that you switch on plays its tone straight away, so you can hear what you added.
Reading the grid
The grid has sixteen steps, numbered one to sixteen, and then it repeats. Think of it as one bar of music split into sixteen small moments. When the playhead lights a column, every switched-on cell in that column sounds at the same time, which is the point of the exercise: a shared moment that all voices must hit.
Each voice has its own tone and its own job in the analogy. The analogy is a teaching tool, not a model of the protocol.
- Anchor
- A steady, low tone. It marks the start of each cycle, much as a shared starting point anchors a chain of blocks.
- Ledger
- A warmer mid tone. It stands for the record that every voice must keep in the same order.
- Witness
- A higher, clear tone. It stands for an independent check, a participant that re-reads what another has written.
- Tick
- A short, bright click. It is the clock that every voice listens to, the beat that makes the others easy to place.
Things to try
-
One voice alone
Clear the grid. Switch on Anchor at step 1 only, then press Play. Listen to how a single voice sets the length of the cycle.
-
Add a clock
Switch on Tick for every other step. A steady clock makes the other voices easier to place, and that is the role shared time plays in any agreement.
-
Find the agreement
Add Ledger and Witness. Look for the steps where they land together, then move the tempo slider. The pattern changes speed, but every voice still shares the same grid.
Why this matters for Bitcoin
Bitcoin nodes do not listen to one clock. They reach agreement on order through proof of work and a simple rule: the chain carrying the most accumulated work is the one to follow. The rhythm is a way of making the idea of shared order something you can hear rather than only read.
To go further, read the entries on blocks and rhythm and agreeing on order in the guide.
Your browser needs you to press Play or switch on a step before it can produce sound. Nothing here plays automatically, and the lab does not collect or send anything you do on the grid.