Get the app

How it works

How CrateDive picks the best loops in a song

Updated November 10, 2026 · Describes CrateDive 2.0

Short answer

CrateDive finds the beat grid and the downbeat, then tries an 8-bar loop starting at every bar of the song. It scores each one on two things: harmonic richness (60%) and how cleanly it loops (40%). Then it keeps the best-scoring loop from each fifth of the song, so you get up to five picks spread across the track instead of five copies of the chorus.

CrateDive Results screen: the Best Loops list shows Hook with Harmonic 96 and Boundary 89, Hook 2 with Harmonic 91 and Boundary 85, and Verse with Harmonic 86 and Boundary 80, all 8 bars long
The two scores, in the app Each loop in the Best Loops list shows its Harmonic and Boundary scores. "Hook" here has Harmonic 96 and Boundary 89, so its combined score is 0.6 × 96 + 0.4 × 89 = 93.2.

1. Find the beat grid and the downbeat

First CrateDive detects the tempo and the position of every beat, nudging each beat onto the actual attack in the audio. Then it works out which beat of each bar is the "one". It does that by looking at where the low end (kick and bass) hits hardest and where the chords change, since both tend to land on the downbeat.

Every candidate loop starts on a downbeat, so a loop drops straight into your beat without shifting it.

2. Try a loop at every bar

Starting from the first downbeat, CrateDive takes a loop at every bar of the song: bar 1 to 9, bar 2 to 10, and so on. Loops are 8 bars long by default. At 140 BPM and faster, phrases double up, so it suggests 16 bars instead. You can switch between 8 and 16 in the app either way.

3. Score each loop

Harmonic richness: 60% of the score

CrateDive measures how the loop's sound is spread across the 12 notes of the scale (C, C#, D and so on). A loop where many notes are active, because chords move or a melody plays, scores high. A loop that sits on one note or one chord scores lower. This is the "Harmonic" number in the app.

Clean looping: 40% of the score

This is the "Boundary" number, and it combines two checks:

4. Spread the picks across the song

If CrateDive just took the five highest scores, you'd often get the same chorus five times. So it splits the song into five equal parts and keeps the best loop from each part. It also skips any loop that overlaps an already-picked one by more than half. That's how you end up with up to five different picks, such as a hook, a verse and an intro.

5. Name them and line them up

CrateDive also detects the song's sections, and each loop is named after the section it came from: "Hook", "Verse", "Intro". Every loop is snapped to the beat grid so it starts on the downbeat. If two loops end up in the same place after snapping, only the higher-scoring one is kept.

What the scores can't tell you

The scores measure harmony and how well a loop repeats. They can't tell whether a part is famous, whether it fits the beat you hear in your head, or whether you can clear it. Treat the list as a shortlist, not the final answer. In the app you can:

Loops vs sample points

The Best Loops list is separate from CrateDive's sample points. Sample points are short moments the analysis flags on its own, such as drum breaks, melodic hooks, vocal chops, risers and drops. Each comes with a reason tag and a confidence score from 60 to 100%. Loops are for flipping a whole section; sample points are for grabbing one moment.

Questions producers ask

Why does every loop start on the downbeat?

CrateDive estimates which beat is the "one" of each bar from where the kick and bass hit hardest and where the chords change, and starts every candidate loop there. A loop that starts on the one drops straight into a beat without shifting it.

Can I change the loop CrateDive picked?

Yes. Switch between 8 and 16 bars, pick a different loop from the list, play it as 16, 8 or 4 chops and drag each chop's start and end. You can also rate a pick with thumbs up or down.

See the scores on your own track

CrateDive is free on the App Store for iPhone and iPad, with three analyses a day.

Download CrateDive

More guides