Metronome

Advertisement

Set your tempo, choose a time signature and subdivision, then press Start or hit Space. Click beat dots to customize accents. Use the speed trainer to auto-increase tempo as you practice.

120
BPM
Moderato
Click beats to set accents (accent / normal / mute)
Space: Start/Stop · ↑↓: Tempo ±1 · Shift+↑↓: ±10 · T: Tap
Speed Trainer
120 Moderato
Advertisement

About This Tool

Professional-grade online metronome using look-ahead Web Audio API (W3C) scheduling for rock-solid, sample-accurate timing that never drifts. Supports tempos from 20 to 300 BPM across six time signatures (2/4, 3/4, 4/4, 5/4, 6/8, 7/8) with customizable per-beat accent patterns—click any beat dot to cycle between accent, normal, and mute. Subdivisions let you hear eighth notes, triplets, or sixteenth notes between main beats, essential for developing internal rhythmic precision. Three distinct click sounds (click, wood block, beep) with adjustable volume suit different practice environments. The built-in speed trainer automatically increases your tempo by a set amount every N bars, so you can focus on playing rather than manually adjusting the BPM. Keyboard shortcuts (Space, arrow keys) provide hands-free control. All audio processing runs entirely in your browser—works offline with no data sent to any server.

Sources: Wikipedia · MDN

Rhythm & Tempo Fundamentals

Rhythm is the foundation of all music. It organizes sounds in time, giving music its pulse, groove, and forward motion. A metronome provides a steady, unwavering beat that serves as a reference point for musicians to develop precise timing. The concept of measured tempo dates back centuries. Johann Nepomuk Maelzel patented the mechanical metronome in 1815, and Ludwig van Beethoven was among the first major composers to add metronome markings to his scores, recognizing that Italian terms like "Allegro" were too vague. Today, BPM (beats per minute) is the universal standard for measuring tempo. Interestingly, the average human resting heart rate of 60–100 BPM roughly corresponds to the Andante–Moderato tempo range, which may explain why moderate tempos feel natural and comfortable. Research in music psychology has shown that tempo significantly affects emotional response: faster tempos tend to evoke excitement and energy, while slower tempos create feelings of calm or solemnity. Time signatures work alongside tempo to define rhythm. In 4/4 time—used in roughly 90% of popular Western music—there are four beats per measure. Waltz time (3/4) creates a distinctive swaying feel with three beats, while 6/8 time produces a lilting compound rhythm often found in Irish jigs, lullabies, and marches. Understanding both tempo and meter is essential for any musician, whether performing classical sonatas, jazz standards, or modern pop songs.

How to Use

  1. Set your tempo using the slider or tap the button repeatedly to use Tap Tempo detection.
  2. Choose your time signature (4/4, 3/4, etc.) and select a click sound that suits your practice style.
  3. Press Start to begin the metronome. Use the visual beat indicator and accent patterns to stay on tempo while practicing.

Methodology

Uses Web Audio API's AudioContext for precise timing independent of the main JavaScript thread, achieving sub-millisecond accuracy that setTimeout alone cannot provide. Beat interval is calculated as 60,000 / BPM milliseconds—for example, 120 BPM produces a 500ms interval between clicks. Click sounds are generated using OscillatorNode with a short attack/decay amplitude envelope (typically 3ms attack, 30ms decay) to create a clean, percussive sound. The accent beat uses a higher-pitched oscillator to distinguish the downbeat. Time signatures determine beats per measure and accent placement: 4/4 accents beat 1, 3/4 accents beat 1 for waltz feel, and 6/8 groups beats in two sets of three. Tap tempo records timestamps of your taps, calculates intervals between consecutive taps, and averages the last 4–8 intervals to determine BPM. Visual beat indicators are synchronized with the audio schedule for multimodal feedback, helping musicians internalize the pulse.

Understanding Your Results

Standard Italian tempo markings indicate speed ranges: Largo (40–60 BPM) for very slow, solemn pieces; Adagio (66–76 BPM) for slow, expressive passages; Andante (76–108 BPM) for a walking pace; Moderato (108–120 BPM) for a moderate, comfortable speed; Allegro (120–168 BPM) for fast, lively music; Vivace (168–176 BPM) for very fast and spirited; and Presto (168–200 BPM) for extremely rapid tempos. Time signatures tell you how beats are grouped: 4/4 (common time) has four quarter-note beats per measure and is used in most popular music; 3/4 creates the characteristic one-two-three pulse of a waltz; 6/8 (compound duple) groups six eighth notes into two sets of three, creating a lilting, swaying feel common in jigs and ballads. The accent on beat one helps you identify the beginning of each measure, which is essential for staying in sync with other musicians.

Practical Examples

A guitarist learning a new piece might start at 60 BPM (half tempo) and increase by 5–10 BPM increments as muscle memory develops. A drum student practicing paradiddles in 4/4 can use the accent pattern to reinforce the downbeat while gradually increasing speed from Andante to Allegro. For ensemble rehearsal, a conductor might set 92 BPM in 3/4 for a Viennese waltz, ensuring all players share the same pulse. A singer preparing for an audition can practice scales at Moderato (112 BPM) to build consistent phrasing before performing at the piece's intended Allegro tempo.

Practice Tips

Start slow, then accelerate. Begin at a tempo where you can play a passage perfectly, then increase by 5 BPM at a time. This builds reliable muscle memory rather than reinforcing mistakes at higher speeds. Practice with the accent. The downbeat accent helps internalize the measure structure. Once comfortable, try emphasizing different beats (e.g., beats 2 and 4 in rock/pop) to develop feel for different styles. Use the tap tempo feature to determine the BPM of a song you're learning. Tap along with the recording for 8–10 beats, and the metronome will calculate the tempo automatically. Don't neglect slow practice. Many professional musicians spend significant practice time well below performance tempo. Slow practice develops accuracy, tone quality, and musical awareness that fast practice alone cannot achieve. When preparing for a performance, gradually increase tempo over multiple practice sessions rather than trying to reach full speed in one sitting. This systematic approach, called "tempo ramping," is recommended by music educators worldwide.

All calculations are performed locally in your browser. No data is sent to any server.

Embed This Tool

Get embed code

Was this tool helpful?
Want to tell us more?
0/500
Want us to follow up?
Thanks for your feedback!

Frequently Asked Questions

What BPM should I practice at?
Start slower than you think you need to! Begin at a tempo where you can play perfectly without mistakes, even if it feels too slow. Gradually increase by 5-10 BPM as you master each tempo. Common tempos: Largo (40-60), Andante (76-108), Allegro (120-168), Presto (168-200).
What is tap tempo?
Tap tempo lets you set the metronome speed by tapping a button to the beat. Tap at least 3-4 times at your desired tempo, and the metronome will automatically calculate and set the BPM.
What are time signatures?
Time signatures tell you how many beats are in each measure and which note value gets one beat. 4/4 (common time) has 4 beats per measure, 3/4 (waltz time) has 3 beats, 6/8 (compound time) has 6 beats. The metronome accents the first beat of each measure.
Can I practice with subdivisions?
Yes! Select from four subdivision modes: Quarter (main beats only), 8th (two per beat), Triplet (three per beat), or 16th (four per beat). Subdivision clicks play at a lower volume and pitch than main beats, making it easy to distinguish them. Small dots appear between the main beat indicators to show subdivisions visually. This is essential for developing even note spacing in scales, arpeggios, and complex rhythmic passages.
How do I use the metronome for speed training?
Start at a comfortable tempo where you can play perfectly. Increase by 5-10 BPM only when you can play cleanly at the current speed. Rushing leads to sloppy technique—patience builds speed properly.
What does the accent toggle do?
The accent emphasizes the first beat of each measure with a different sound or volume. This helps you feel the downbeat and stay oriented within the time signature, especially useful in compound meters like 6/8.
Can I use this metronome on stage or in rehearsal?
Yes! Connect headphones or earbuds to hear the click privately. The metronome works offline once the page is loaded, so you don't need internet during your session. Keep your device plugged in for longer rehearsals.
Why does the sound sometimes lag or stutter?
Audio timing can be affected by browser tabs, background apps, or low battery mode. For best performance, close other tabs, disable power saving features, and use Chrome or Firefox. If issues persist, try refreshing the page.
How do I use subdivisions?
Select a subdivision (8th, Triplet, or 16th) to hear additional clicks between the main beats. Eighth notes give you two clicks per beat, triplets give three, and sixteenths give four. Subdivision clicks are quieter than main beats, making it easy to distinguish them. This is invaluable for practicing scales, arpeggios, and passages that require even note spacing.
What is the speed trainer and how does it work?
The speed trainer automatically increases the metronome tempo by a set number of BPM after a set number of bars. For example, you can start at 80 BPM and have it increase by 5 BPM every 4 bars until it reaches your target tempo of 140 BPM. This hands-free approach lets you focus entirely on your playing while systematically building speed—a technique recommended by music teachers worldwide.
Can I customize the accent pattern?
Yes! Click on any beat dot in the visualizer to cycle through three states: accent (emphasized, red border), normal (standard click), and mute (silent, dimmed). This lets you create custom accent patterns for any style—for example, accenting beats 2 and 4 for a rock/pop backbeat feel, or accenting beat 1 and the "and" of beat 2 for a bossa nova pattern.
What keyboard shortcuts are available?
Space bar starts and stops the metronome. Up/Down arrow keys adjust tempo by 1 BPM; hold Shift for ±10 BPM jumps. Press T for tap tempo. These shortcuts let you adjust the metronome while keeping your hands on your instrument—just make sure no text input field is focused.
How accurate is this online metronome?
This metronome uses a look-ahead scheduling technique with the Web Audio API, which schedules audio events directly in the audio hardware thread rather than relying on JavaScript timers. This achieves sub-millisecond accuracy—comparable to dedicated hardware metronomes and significantly better than metronomes using setTimeout or setInterval alone. The visual indicator may vary by a few milliseconds, but the audio timing remains rock-solid.
What are the best time signatures for different music styles?
4/4 is the most common time signature, used in rock, pop, hip-hop, electronic, and most jazz. 3/4 creates waltz time, common in classical waltzes, country, and some ballads. 6/8 produces a lilting compound feel found in Irish jigs, blues shuffles, and many ballads. 5/4 creates an asymmetric groove heard in progressive rock ("Take Five" by Dave Brubeck is the classic example) and film scores. 7/8 is used in Balkan folk music, progressive rock, and modern jazz for its distinctive off-kilter feel. 2/4 is traditional for marches, polkas, and some Latin styles.