COMPARATOR CLOCK
A comparator in subtract mode creates a decrementing signal loop. The signal decreases by the side input each cycle, wrapping around for a repeating pattern.

When to Use
Analog signal patterns, musical note block sequences, complex timing patterns.
Materials
- ▸1 Redstone Comparator
- ▸Redstone Dust
- ▸1 Redstone Repeater
- ▸Solid blocks
Overview: what the Comparator Clock is and does
A comparator in subtract mode creates a decrementing signal loop. The signal decreases by the side input each cycle, wrapping around for a repeating pattern.
As a clock it produces a repeating on/off pulse on its own, driving anything that needs to fire at a steady rhythm.
In practice it is used for analog signal patterns, musical note block sequences, complex timing patterns. The build below targets vanilla Java Edition 1.21.
How it works: the redstone mechanics
A comparator in subtract mode fed back into its own side input decrements the signal each cycle, stepping down through strength values rather than producing a clean square wave. The repeater in the loop sets how fast each step happens.
It is assembled from 1 Redstone Comparator, redstone Dust, 1 Redstone Repeater, and solid blocks, and each of those parts plays a specific timing or logic role in the circuit rather than being interchangeable filler.
Because this is a clock circuit, the thing to watch as you build is the period — the total tick delay around the loop sets how fast it runs.
How to build it
- 1Place a comparator in subtract mode (front torch lit).
- 2Loop the output back to the side input using dust and a repeater.
- 3Provide an initial signal to the back input.
- 4The comparator subtracts the looped signal, creating a stepping pattern.
- 5Adjust the repeater delay and initial signal to change the pattern.
- 6Power it up and watch one full cycle: confirm it pulses at the rhythm you expected before wiring it into a larger contraption.
Uses & applications
- ▸Analog signal patterns, musical note block sequences, complex timing patterns.
- ▸Fading comparator clock (signal strength decreases each tick) — a variant suited to particular space or timing needs.
- ▸Ring counter (multiple comparators in a loop) — a variant suited to particular space or timing needs.
- ▸Analog wave generator (produces sawtooth or triangle waves) — a variant suited to particular space or timing needs.
Tips & common mistakes
- !Its output is an analog staircase, not a steady on/off pulse, so buffer it through a repeater if downstream gear expects a clean signal.
- !If the clock will not be running constantly, add a lever in the loop so you can switch it off and spare the server the block updates.
- !Remember that bare redstone dust loses 1 signal strength per block, so insert a repeater before any run exceeds 15 blocks inside this circuit.
Comparator Clock FAQ
What is a Comparator Clock used for?
A Comparator Clock is used for analog signal patterns, musical note block sequences, complex timing patterns. As a clock it produces a repeating on/off pulse on its own, driving anything that needs to fire at a steady rhythm.
What do you need to build a Comparator Clock?
You need 1 Redstone Comparator, redstone Dust, 1 Redstone Repeater, and solid blocks. Place a comparator in subtract mode (front torch lit).
How does a Comparator Clock work?
A comparator in subtract mode fed back into its own side input decrements the signal each cycle, stepping down through strength values rather than producing a clean square wave. The repeater in the loop sets how fast each step happens.
Are there different versions of the Comparator Clock?
Yes — common variants include fading comparator clock (signal strength decreases each tick), ring counter (multiple comparators in a loop), and analog wave generator (produces sawtooth or triangle waves). Pick the one that fits your available space and timing requirements.