BPM Detection and Beat-Synced Visuals: A Practical Guide
Short answer: BPM detection finds a song's tempo and the timestamps of its beats, which lets visuals snap to the musical grid instead of only reacting to loudness. Shimga Studio detects BPM automatically when you load audio, shows it in the timeline, and offers Beat Snap and J/L beat skipping. Detection can be wrong on half-time, free-time or heavily syncopated music, so check the number against the track.
Last updated 21 October 2026.
What is BPM detection and why does it matter for music videos?
BPM means beats per minute: 120 BPM is one beat every 0.5 seconds. A detector examines an audio file and returns two things: a tempo, and a list of beat timestamps. The timestamps matter as much as the tempo, because a 120 BPM song whose first beat falls at 0.04 s looks different when beat-snapped than one whose first beat falls at 0.32 s.

Photo: Pixabay on Pexels
Frequency-band reactivity responds to whatever is playing right now. Beat synchronisation adds structure on top of it, by anchoring events such as pulses and cuts to the underlying grid. The combination is what makes a video feel reactive rather than merely animated. For the band side, see audio frequency reactivity.
How does automatic BPM detection work?
Most in-browser detectors follow the same general recipe:
- Downsample the audio to reduce the amount of work.
- Low-pass filter to keep the bass region, where kicks and low toms carry the pulse.
- Detect onsets: split the signal into short frames, measure energy per frame and mark sudden increases as candidate beats.
- Autocorrelate the onset signal against itself at lags that correspond to plausible tempos. The lag with the strongest correlation gives the tempo.
- Refine the estimate with interpolation for sub-frame precision.
- Locate the first beat and lay the grid out from there.
The analysis is heavy for a full song, so Shimga runs it in a Web Worker. The studio stays responsive while detection runs, and the BPM badge appears in the timeline when it finishes.

Screenshot: shimga.app
Why does BPM detection sometimes get it wrong?
Detection works well on drum-driven genres such as hip-hop, EDM, rock and pop. It struggles with:
| Situation | What happens | What to do |
|---|---|---|
| Half-time / double-time | A 75 BPM trap beat reads as 150 BPM, or the reverse. Both are related and "correct", but only one matches the intent. | Decide which feel you want and check the grid against the kick pattern. |
| Free time, rubato, ambient | No steady pulse, so the tempo estimate is unreliable. | Turn off Beat Snap and place events by hand with keyframes. |
| Heavy syncopation | Off-beat snares can confuse onset detection. | Confirm with a second tool such as the BPM Finder. |
| Unusual intro | A vocal intro before any drums can pull the first-beat estimate to the wrong place. | Trim the intro with the Audio Trimmer or compare against the kick. |
How to use beat sync in Shimga: step by step
- Load your track in Shimga Studio. The detected tempo appears as a BPM badge in the timeline header.
- Play the track and watch whether the beat grid lands on the kicks. If the number looks double or half of what you feel, treat that as a half-time or double-time case.
- Toggle Beat Snap in the timeline so that playhead and keyframe positions snap to beats. Turn it off for music without a steady pulse.
- Step through beats with the J (previous beat) and L (next beat) keys; this is faster than scrubbing.
- Drop keyframes on beats: place one, press L to move one beat on, place another. The change then happens over exactly one beat. More in keyframe animation for visualizers.

Photo: Pixabay on Pexels
What does good beat sync look like?
The cleanest sync is often subtle:
- A particle burst on every fourth beat (the downbeat of each bar), once every 2 seconds at 120 BPM.
- A small scale pulse on each beat that is felt more than noticed.
- Lyric lines that change at the start of a bar instead of mid-bar. See adding lyrics to a music video.
- A camera shake reserved for a big sub-bass drop.
Avoid triggering a different event on every beat. That reads as strobing rather than sync, and it can be uncomfortable for some viewers.
Frequently asked questions
What does BPM detection return?
A tempo in beats per minute and a list of beat timestamps. The timestamps decide where the grid starts, so they matter as much as the tempo number.
Why does my detected BPM look double or half of the real tempo?
Tempos related by a factor of two are both mathematically valid, so detectors often pick the wrong one on half-time material such as slow trap. Compare the grid against the kick and snare pattern to see which feel matches the music.
Can I use beat sync on music with no steady tempo?
Not reliably. For ambient, rubato or free-time music, turn Beat Snap off and place visual changes manually with keyframes at the moments you choose.
Is there a separate tool for checking a track's tempo?
Yes. The BPM Finder at shimga.app/bpm-finder detects the tempo of a song in the browser, which is useful as a second opinion before you build the video.
Try beat-synced visuals
Load a track, check the BPM badge in the timeline and switch Beat Snap on to line keyframes up with the music.
Open Shimga Studio →Related reading: audio-reactive visuals and audio visualizer software.