FL Studio 20 interface with tempo detection highlighted.

How to Detect the Tempo of a Sample in FL Studio 20


You found a great sample, dragged it into FL Studio, and now it's drifting off the grid. That almost always means the sample's tempo doesn't match your project. Once you know its BPM, everything lines up.

Here are three ways to find a sample's tempo in FL Studio, from fastest to most precise, plus how to fix the most common mistake.

Method 1: Let FL Studio detect it

  1. Drag the sample into the Playlist. FL Studio creates an audio clip for it.
  2. Click the small menu icon at the top left of the audio clip.
  3. Choose Detect tempo. FL Studio analyzes the audio and suggests a BPM.
  4. Accept it and check by ear. Turn on the metronome and play the clip from the start. If the beat stays locked, you're done.

Detection works best on loops with clear drums. On soft pads, vocals or loops without much rhythm, it can guess wrong, so always check by ear.

Method 2: Tap it out

For loops without obvious drums, tapping is often quicker and more accurate.

  1. Play the sample on repeat.
  2. Right-click the tempo display at the top of FL Studio and choose Tap.
  3. Tap along to the pulse for 8 to 16 beats.
  4. Round the result to the nearest whole number. Most loops are made at whole-number tempos.

Full walkthrough: how to tempo tap in FL Studio.

Method 3: Calculate it (works every time)

If a sample is a clean loop, simple math gives you the exact tempo.

  1. Find how many beats the loop is. A 4-bar loop in 4/4 time is 16 beats. A 2-bar loop is 8.
  2. Find its length in seconds. Double-click the clip to open it, or open it in Edison, where the length is shown.
  3. Use this formula:

BPM = (number of beats × 60) ÷ length in seconds

Example: a 4-bar loop (16 beats) that lasts 6.4 seconds is 16 × 60 ÷ 6.4 = 150 BPM.

The double-time trap: 70 or 140?

The most common tempo mistake isn't being off by a few BPM. It's being off by double or half. A loop at 70 BPM lines up perfectly with a 140 BPM grid, because every beat lands on every other grid beat. Detection and tapping both get fooled by this.

Go by feel and genre:

  • Trap and drill: usually 130 to 160 (often felt in half time).
  • Boom bap and lo-fi: usually 70 to 95.
  • R&B: often 60 to 90.
  • House: usually 120 to 128.

If a "160 BPM" loop feels lazy and slow, call it 80. Either number works on the grid, but picking the right one makes your drums easier to program.

Make the sample follow your project tempo

Once you know the BPM, you have two choices:

  • Change your project tempo to match the sample. Best quality, because the audio isn't stretched. Do this when the sample is the heart of the beat.
  • Stretch the sample to your tempo. Open the clip's channel settings and set the time-stretching mode so it follows the project tempo. Small changes (a few BPM) sound fine. Big jumps can add artifacts, especially on vocals.

Practice on loops with known tempos

The fastest way to get good at this is to test yourself. Every loop in our free melody loops pack has its BPM and key in the file name. Try detecting or calculating the tempo first, then check your answer. For more, see the guitar melody loops.

FAQ

Why does FL Studio detect the wrong tempo?

Detection can lock onto the wrong part of the rhythm, especially on loops without clear drums. It often lands on double or half the real tempo. Check by ear, or calculate it with the formula above.

What if the sample has no steady tempo?

Live recordings can speed up and slow down. Pick the section you want to use, find the tempo of just that part, and chop it into shorter pieces you can line up on the grid.

Does this work in FL Studio 21 and 2024?

Yes. The steps are the same in recent versions of FL Studio.


Back to blog
1 of 3