Return
Metronome

Click a beat to cycle it: accent, normal, silent.

BPM
Andante
Speed Trainer
Change by BPM every bars, until

Keys: Space starts and stops, Up/Down change tempo (Shift for 5), T taps.

Before the Metronome

No single person invented the metronome. Historians describe the credit for the mechanical version as spread across Spanish, Italian, French, Dutch and German contributors. The historian Lynn Townsend White Jr. even credited the Andalusian inventor Abbas Ibn Firnas with a rough metronome-like device in the 9th century, and Galileo’s pendulum studies in the late 16th and early 17th centuries laid groundwork for steady mechanical timekeeping. [Wikipedia, Metronome]

A Name Born in a Patent

The word metronome joins the Greek words for “measure” and “law.” It first appeared in English in Johann Maelzel’s 1815 patent application, which describes the invention as a machine for improving all musical performance; the London patent also calls it a musical timekeeper. [Wikipedia, Metronome]

Maelzel received French patent no. 696 on 14 September 1815, and an English patent followed on 5 December. The patent ran for only five years, and he failed to protect it; historians cannot say exactly how that happened. [Cambridge University Press, Maelzel’s Metronome] [Cambridge University Press, New Currents]

The Inventor Who Lost the Credit

Most of the mechanism came from Dietrich Nikolaus Winkel of Amsterdam, including the weighted pendulum that makes slow, steady beats possible. In 1815 Maelzel approached Winkel, was refused, and then went to Paris to obtain a patent. By this account his main addition was the numbered tempo scale. [Guarneri Hall, History of the Mechanical Metronome] [Cambridge University Press, Maelzel’s Metronome]

Maelzel was a showman as much as an engineer, known for building mechanical musical automatons, and in 1816 he set up in Paris as a metronome manufacturer. A French review quoted on Winkel’s page argued the device should carry Winkel’s name while granting that Maelzel perfected it. [Linda Hall Library, Johann Maelzel] [Wikipedia, Dietrich Nikolaus Winkel]

Beethoven Signs On

Beethoven, who knew Maelzel personally, was the first notable composer to print specific metronome markings, starting in December 1815 with a corrected score of his cantata Meeresstille und glückliche Fahrt. By 1817 he had written warmly about the device and declared he would drop traditional tempo words such as allegro. [Wikipedia, Metronome] [Wikipedia, Johann Maelzel]

That year he published a tempo annex for his existing symphonies, and in 1818 he and Salieri publicly welcomed the metronome’s arrival in Vienna. Beethoven even credited some of the success of his Ninth Symphony to its newly added tempo marks. [Guarneri Hall, History of the Mechanical Metronome] [Cambridge University Press, Metronome Sense] [PLOS ONE, Conductors’ Tempo Choices]

Was Beethoven’s Metronome Wrong?

Many musicians consider a large share of Beethoven’s markings too fast to be musical. A mathematical study reported by Smithsonian magazine found that 66 of his 135 markings were widely regarded as implausibly fast, and suggested a damaged double-pendulum metronome could produce numbers like his. [Smithsonian Magazine, Beethoven’s Metronome]

A 2020 PLOS ONE study took a data-driven approach. It found that conductors, on average, systematically play slower than Beethoven’s marks, and proposed that he may have misread the metronome’s scale. The authors’ example is reading the tempo under the weight instead of above it. His own metronome was reportedly lost at a Vienna exhibition in 1921, so the theory cannot be tested on the original. [EurekAlert, Beethoven’s Metronome Study] [PLOS ONE, Conductors’ Tempo Choices]

From Rare Tool to Daily Habit

Practicing to a steady click is so common now that it is easy to forget it is a fairly modern habit. Until the mid-20th century, constant metronomic playing was uncommon and often criticized as mechanical. Composers such as Stravinsky and Bartók, who demanded strict rhythmic precision, helped shift attitudes. [Guarneri Hall, History of the Mechanical Metronome] [Journal of Antiques, Keeping Perfect Time]

Electric, Quartz and Software Metronomes

Frederick Franz patented the first electromechanical metronome in the US in 1953, replacing clockwork with a plug-in motor. Most modern metronomes are electronic and use a battery-powered quartz crystal, as wristwatches do, so they stay accurate in any position and are smaller and tougher than the older types. Software metronomes like this one are a 21st-century addition. [Wikipedia, Metronome]

Along the way, the clockmaker Seth Thomas first bought metronomes from the French maker Paquet and rebranded them before producing its own in 1887. [Journal of Antiques, Keeping Perfect Time]

Words Before Numbers

For most of Western classical history, tempo went unwritten because the musical context was assumed to make it obvious. Italian words such as andante and presto became common in the 17th and 18th centuries, but they describe character as well as speed. Vivace, typically 156 to 176 BPM, also asks for a lively mood, and allegro suggests joy as well as quickness. [PLOS ONE, Conductors’ Tempo Choices] [Wikipedia, Tempo] [Wikipedia, Metronome]

The meanings have also drifted over the centuries. Terms such as largo and adagio now imply different speeds than they once did, which is part of why numbers were such a welcome addition. [Wikipedia, Tempo]

Reading the Marks

These are the commonly published ranges this app uses to name your tempo:

  • Grave: below 40 BPM
  • Largo: 40 to 60 BPM
  • Larghetto: 60 to 66 BPM
  • Adagio: 66 to 76 BPM
  • Andante: 76 to 108 BPM (a walking pace)
  • Moderato: 108 to 120 BPM
  • Allegro: 120 to 156 BPM
  • Vivace: 156 to 168 BPM
  • Presto: 168 to 200 BPM
  • Prestissimo: above 200 BPM

Published tables disagree by several BPM, and some let vivace run up to 176 while presto starts at 168. This app switches at 168, so treat the name on screen as a guide rather than a rule. [Classical Music, Guide to Tempo] [MasterClass, Tempo Markings]

The Famous 40 to 208 Scale

Since Maelzel’s era, tempo has almost always been counted in beats per minute. A mechanical metronome usually covers 40 to 208 BPM, and its scale is not evenly spaced: the steps are 2 BPM from 40 to 60, then 3 BPM, then 4 BPM up to 120, and wider beyond that. This app allows 20 to 300 BPM in steps of 1. [Wikipedia, Metronome]

Accents and Subdivisions

Electronic metronomes can use different pitch, volume or tone color to separate the downbeat from other beats, and to handle compound and complex meters. This app does the same. Click any beat in the row to set it to accent (high pitch), normal, or silent, and use beats per bar to match your time signature, from 1 to 12. [Wikipedia, Metronome]

The BPM number counts main beats, usually quarter notes. Choosing eighth notes inserts one soft click between beats, triplets insert two, and sixteenth notes insert three. The subdivision clicks are quieter and lower so the main beat stays easy to follow. At 60 BPM, each beat lasts exactly one second.

Inside a Mechanical Metronome

A Maelzel metronome has an adjustable weight on an inverted pendulum rod, and sliding the weight sets the tempo. It runs on a spring-wound clockwork escapement rather than a battery. Temperature, air pressure and gravity can cause small speed variations, and it keeps steadier time on a hard, level surface away from strong magnets. [Wikipedia, Metronome]

Many models also include a bell that rings every few beats. One clockwork example in the University of Edinburgh’s collection has a pull-rod at the side of the case to set the bell to ring every 2, 3, 4 or 6 beats. That is the mechanical ancestor of this app’s accented first beat. [University of Edinburgh, Musical Instrument Collection]

The Pendulum on Screen

The drawing follows the real instrument’s logic: the weight sits lower on the rod for faster tempos and higher for slower ones. Like a mechanical metronome, the pendulum clicks at the far end of each swing, so the arm reaches one side on odd beats and the other on even beats. The movement is timed from the audio clock, and the display adjusts for the device’s reported output delay when the browser provides it.

Two Clocks in Your Browser

Ordinary JavaScript timers can wobble because layout, rendering and other page work delay their callbacks. The Web Audio API instead exposes the audio hardware’s clock as AudioContext.currentTime, precise enough to place sound at the individual-sample level. [web.dev, A Tale of Two Clocks]

The recommended pattern, used here, is a frequent timer that schedules each click a short moment ahead on the audio clock. This app wakes every 25 milliseconds and queues any clicks due in the next 120 milliseconds, using a background worker for the timer when the browser allows it. Timing stays tight while tempo changes and stopping remain responsive. [web.dev, A Tale of Two Clocks]

Why You Have to Press Start

Browsers do not let pages start audio on their own. The guidance is to create or resume the audio context from inside a user gesture such as a click, and a context created outside one begins in a suspended state. That is why the sound only begins when you press Start or the spacebar. [MDN, Web Audio API Best Practices]

Sounds Without Audio Files

Every click is synthesized on the spot, so there is nothing to download. Click uses a very short square-wave burst, wood block a quickly falling triangle-wave tone, beep a short sine tone, and hi-hat a burst of filtered noise. Accent beats use a higher pitch and a louder level than normal beats.

When Metronomes Fall in Step

In February 1665, Christiaan Huygens noticed that two pendulum clocks he had built were swinging in perfect time together. [arXiv, Synchronization of Clocks and Metronomes]

In 2002, James Pantaleone showed the same effect with metronomes on a light, movable platform. Each swing nudges the platform, which passes timing information between them, and in his two-metronome setup they synchronized within a few tens of seconds. Larger groups can take minutes. The setup is now a popular classroom demonstration of synchronization. [Pantaleone, American Journal of Physics 2002] [arXiv, Synchronization of Clocks and Metronomes]