"Why does the tool report 87 when the song is clearly 174?" "I counted 120 but it says 240." Almost every such report falls into the same pattern: the detected number is not random, it is off by an integer multiple, or thrown off by a waveform quirk.

This article gives a short explanation of how detection works, then seven common causes with fixes you can use right away. For the algorithm itself, see tempo detection and time-stretching in the browser.

1. How detection works, briefly

Automatic detection looks for repeating patterns in four steps:

  1. Energy envelope: split the audio into ~4 ms windows and measure loudness, producing a curve that rises and falls.
  2. Onset strength: keep only the rising parts. Clear drum hits make tall peaks here.
  3. Autocorrelation: compare the curve with itself at many offsets. The offset with the strongest match is the beat period.
  4. Tempo folding: convert the period into BPM and decide whether it is a beat or a half-beat.

Once you know this, it is easy to guess which songs cause trouble: weak drums, free rhythm, or identical strong and weak beats.

2. Seven causes and their fixes

Cause 1: Octave ambiguity (half or double the real BPM)

The most common case. 175 reported as 87, or 120 as 240, means the detector cannot decide which offset counts as one beat.

Why: when strong and weak beats are similar in volume, the match at one beat and at two beats is nearly equal, so it picks the wrong one.

Fix: trust your ears. If doubling or halving the detected value matches what you counted, it is octave ambiguity—just set the BPM manually. The detector uses comb weighting and subdivision folding to reduce this, but your judgment remains the most reliable.

Cause 2: Free rhythm, no steady drum

Jazz improvisation, classical live, acoustic ballads, unaccompanied vocals.

Why: autocorrelation needs a stable beat period. In rubato the period keeps changing, so there is no strong repeating match.

Fix: these tracks are poor candidates for stretching. Use the Drums only mode, which leaves the song untouched and overlays a steady 180 drum beat. Listen for the difference in the mode comparison.

Cause 3: A quiet intro or weak pickup

The first seconds are ambience, a fade-in, or a cappella before the beat arrives.

Why: the energy curve is nearly flat at the start, so the detector finds no useful onsets and the whole estimate drifts.

Fix: set BPM manually. It takes one step and avoids guesswork.

Cause 4: Dense drums, double kicks or rapid hi-hats

Metal double kicks, electronic rolls, trap hi-hats.

Why: many small peaks are treated as individual beats, so the reported BPM multiplies.

Fix: count along with the kick drum, not the hi-hat, then enter that number by hand.

Cause 5: Live recordings and heavy reverb

Live versions, cathedral recordings, long reverb tails.

Why: reverb smears each hit into a long tail, blurring the onset and distorting the match.

Fix: prefer a studio version if one exists. Otherwise, set BPM manually.

Cause 6: The source was already sped up or DJ-mixed

AI-sped tracks, DJ blends, pitch-and-speed transitions.

Why: the beat period itself is not constant; the first half and second half may differ.

Fix: use the tempo of the main section you will actually run to, and set it manually.

Cause 7: Poor-quality or distorted audio

Low bitrate, clipping, hiss.

Why: noise creates false peaks that scramble the energy curve.

Fix: use a higher-quality source. This is also why bug reports should include the source format—see contact.

3. When to set BPM manually

Rule of thumb: if the number you count differs from the detected value by an integer multiple, or you already know the song's BPM, set it manually and stop fighting the algorithm.

In the editor, the detected BPM can be overwritten. You only need to do it once per song.

One more point: detection accuracy and stretch quality are separate issues. Even if detection is off, a manual BPM gives the time-stretching the correct reference. For post-export pitch problems, see why music changes pitch.

4. FAQ

The detector always reports half of what I counted. Is it broken? No, this is octave ambiguity, the single most common case. Set the correct value manually; stretching works normally.

Electronic music is accurate but vocal songs drift. Normal? Yes. Clean drum patterns autocorrelate well; voice-led or free-rhythm tracks are inherently harder.

Can it track a song whose BPM changes? It reports one representative value for the whole track. For a blended song, use the main section's tempo.

Will a wrong detection ruin the exported MP3? It can, because BPM drives the stretch. A clearly wrong value should always be corrected first.


In short: bad detection is usually octave ambiguity, weak beats, or free rhythm, not a bug. Count once, set the value manually when needed, and set your own target cadence (see what is 180 SPM) before building a playlist.