Metronome
{{ bpm }} BPM
Auto-tempo trainer

Introduction:

Tempo marks the speed of music, measured in beats per minute (BPM). A metronome emits evenly spaced clicks that musicians follow to maintain consistent pulse, refine timing and internalise rhythmic subdivisions, especially during isolated practice away from an ensemble. Accurate tempo control underpins clean articulations, confident transitions and reliable ensemble synchronization.

Tempo Generator / Metronome lets you dial any BPM, tap a tempo, or choose presets, then shapes the click with beat accents, swing percentages, subdivisions and progressive increments. A browser-based audio engine renders sample-accurate blips while a lightweight charting layer visualises pulses, giving immediate auditory and visual cues so you can lock to the grid.

Practise a tricky sixteenth-note passage at 60 BPM, enable the auto-tempo trainer to add two BPM every eight bars, and feel your fingers adapt gradually. Drummers can inject swing for shuffled grooves, while vocalists stay centered on pitch by aligning breath with the glowing pulse. Guitarists can accent downbeats to cement strumming patterns and avoid rushing.

Technical Details:

Concept Overview

A metronome transforms a chosen tempo into discrete time intervals. Each beat’s duration equals 60 ÷ BPM seconds and can be divided into smaller rhythmic units. Optional swing offsets every second subdivision by a selectable fraction of that base interval, producing a lilting feel. Bar-initial accents emphasise meter, and controlled tempo increments cultivate endurance. Visual pulse feedback strengthens sensorimotor coupling for precise corrective action.

Core Equation

Δt= 60 BPM×n

Δt is the interval between clicks; n is the subdivision level (1 = quarter-notes, 2 = eighths, 4 = sixteenths). Swing multiplies every second Δt by 1 + s, where s is the swing ratio.

Interpretation Bands

MarkingBPM RangeCommon Feel
Largo40 – 60Very slow, solemn
Andante70 – 90Walking pace
Moderato95 – 115Moderate
Allegro120 – 160Fast, bright
Presto168 – 200+Very fast

Use these ranges as contextual guides; stylistic choices and ensemble genre may demand departures.

Variables & Parameters

ParameterMeaningUnit / Range
BPMTempo setting20 – 400
beatsPerBarMeter length1 – 12
subdivLevelNote division depth1, 2, 4
swingSwing percentage0 – 70 %
autoInc / autoBarsTrainer increment / period±BPM per bars

Worked Example

At BPM = 120 with subdivision n = 2:

Δt=60120 × 2=0.25

Each eighth-note click arrives every 0.25 s. A swing of 30 % lengthens the off-beat to 0.325 s and shortens the on-beat to 0.175 s.

Assumptions & Limitations

  • Designed for common-time practice, not polyrhythmic grids.
  • Browser audio latency varies across devices.
  • Sample-accurate scheduling is limited by the host CPU load.
  • Swing applies only to even subdivisions.
  • Tempo increments cap at ±400 BPM.

Edge Cases & Error Sources

  • Rapid manual BPM entries can exceed max range.
  • Negative auto-increment values stall at floor 20 BPM.
  • Extreme swing over 70 % disrupts rhythmic feel.
  • Slow devices may drop visual frames under heavy load.

Scientific Validity & References

Timing perception research: Repp & Su (2013); sensorimotor synchronization studies: Repp (2005); recommended tempo benchmarks: London (2012).

Privacy & Compliance

No personal data leaves the browser; processing occurs entirely client-side, aligning with GDPR principles for local execution.

Step-by-Step Guide:

Follow these steps to build an effective practice routine.

  1. Enter a starting Tempo (BPM) or tap the tempo button.
  2. Choose Beats / bar to match your time-signature.
  3. Select a Subdivision for the rhythmic granularity you need.
  4. Adjust Swing to embed shuffle or leave at 0 % for straight feel.
  5. Enable the trainer: set Increment and Every N bars to ramp tempo automatically.
  6. Press Start, play your passage, and focus on aligning notes with the audible click and visual pulse.

FAQ:

Is my data stored?

No. All settings stay in the page URL or local memory and never reach a server.

Why do clicks lag on my phone?

Older devices introduce unpredictable audio latency; switch to a modern browser or reduce background tasks for best timing.

What does swing percentage mean?

It shifts the off-beat later by the specified fraction of the base interval, creating a relaxed shuffle feel.

How loud is the click?

The volume slider controls master gain from silent to unity; no amplification beyond device limits occurs.

Can I save presets?

Copy the page URL after adjusting settings; all parameters persist in the query string for instant recall.

Glossary:

BPM
Beats per minute; tempo unit.
Subdivision
Division of a beat into equal parts.
Swing
Offset that delays every second subdivision.
Accent
Emphasised beat, often the first in a bar.
Auto-tempo trainer
Feature that changes BPM after set bars.

No data is transmitted or stored server-side.