A metronome steadily marks musical time so performers internalise tempo, rhythm and phrasing. Reliable clicks free attention for articulation, dynamics and expressive nuance while maintaining ensemble cohesion.
This browser-based metronome generates audio pulses and animated gauges from any modern device. You set tempo in beats per minute, choose subdivisions and swing percentages, accent the first beat, and even schedule automatic tempo shifts to build speed safely.
Use it to practise scales, tighten ensemble grooves or guide studio overdubs; one tap turns silent counting into an exact audible guide.
The tool schedules future audio events with a short look-ahead window, ensuring each click starts within a few milliseconds of its ideal timestamp despite thread latency. A Web Audio oscillator or noise buffer produces the sound, routed through a master gain node for volume control. Visual feedback derives from a small data buffer that a lightweight charting layer redraws at animation-frame pace. All logic executes client-side; no data leaves the device.
Symbol | Meaning | Unit | Typical Range | Sensitivity |
---|---|---|---|---|
BPM | Tempo | beats /min | 20 – 400 | linear |
n | Subdivision level | – | 1 – 4 | inverse |
s | Swing factor | % | 0 – 70 | affects odd 8ths/16ths |
Δ | Auto-increment | BPM | -20 – +20 | stepwise |
N | Bars per step | bars | 1 – 16 | intervalic |
At 120 BPM with eighth-note subdivision, each click is 250 ms apart.
Odd subdivisions lengthen by 0.30 × t; even shorten accordingly, keeping the bar length unchanged.
The scheduler maintains O(1) complexity by pushing fixed-size events into the queue. A 100 ms look-ahead balances timing precision with CPU load. All processing uses native browser APIs, so performance scales with device capabilities while remaining offline-capable.
Follow this flow to create a personal click track.
Any modern browser with Audio Worklet or ScriptProcessor support handles the timing engine; mobile and desktop are equally compatible.
No. All parameters stay in the address bar or memory and never leave your device.
The auto-trainer bumps tempo after the chosen bar count. Set increment 0 BPM to disable this behaviour.
The engine timestamps each click ahead of playback, achieving sub-5 ms accuracy on typical hardware.
Accent is currently fixed on the first beat. Duplicate browser tabs for polymetric practice.