# How to find samples by BPM and key

> Filter by tempo and key, then verify. On Sound Server, type it in the query (“vocal chop 140 bpm”, “808 in F minor”) or use the BPM and key filters; half and double tempo and the relative major or minor also match, because they fit the same track. Not every source labels tempo and key, so unlabelled sounds are kept but ranked lower unless you switch on strict matching.

Production guide, updated 2026-10-23. Search loops, 808s and melodic samples by tempo and key, why half-time and relative keys match, and how to check a sample's real BPM and root note.

## Tempo and key in a search

Matching tempo and key is what makes a sample drop into a project without fighting it. Sound Server reads both from your query and from filters:

- **BPM**: "140 bpm" in the query or `bpm=140`; ranges such as `bpm=120-128` for house. Half and double time match (a 70 BPM search returns 140 BPM loops).
- **Key**: "F minor", "F#m", "Eb" or "A major", in the query or as `key=`. The relative key matches too (F minor with A♭ major).
- **Strict**: `strict=true` drops sounds whose tempo or key is unknown, instead of ranking them lower.

The same parameters work on the [REST API](https://sound.shep.bot/docs/api) and in the MCP tool `search_samples`, so an AI agent can ask for "a dark 808 in F minor" and get tuned results.

## Where the numbers come from

Sources label tempo and key in different ways. Freesound analyses every upload and publishes the results, sample packs usually put tempo and key in file names, and many community uploads give nothing. Sound Server combines what the source states with what the title says, and can measure duration, BPM, key, root note and loudness on demand when you open a sample's details (`analyze=true` on the API).

## Checking a loop by ear

A quick test for tempo: set your project to the stated BPM and drop the loop at bar 1. If it ends exactly on a bar line after one, two, four or eight bars, the tempo is right. If it ends halfway, the real tempo is half or double. For key, loop a bass note of your key under the sample: if they sit together without beating, you're in key; if not, try the relative key or a shift of a semitone or two.

## Collections to start from

The [808 collection](https://sound.shep.bot/samples/free-808-samples) shows root notes where known, and the [lo-fi](https://sound.shep.bot/samples/free-lofi-loops) and [guitar loop](https://sound.shep.bot/samples/free-guitar-loops) collections show BPM and key. Each card plays in the page, so you can audition before downloading.

## Step by step

1. **Know your project's tempo and key.** Read the BPM from your DAW and identify the key from your chords or bassline. If you're starting from a sample, use its tempo and key as the project's.
2. **Search with them.** Add them to the query, for example 'piano loop 90 bpm A minor', or use the BPM (a number or a range like 120-128) and key filters. Combine with a category such as keys or vocals.chop.
3. **Decide on strict matching.** By default, sounds with unknown tempo or key stay in the results, ranked lower. Turn on strict to keep only labelled ones when you need a guaranteed match.
4. **Verify before you commit.** Check the loop's length lines up with whole bars at your tempo, and play pitched samples against your bassline. Labels on community sites are sometimes wrong.
5. **Adjust what's close.** Time-stretch loops a few BPM either way and pitch-shift up to two or three semitones. Beyond that, quality drops, so look for a closer match instead.

## Questions

**Why does a 70 BPM search return 140 BPM loops?**

Because they fit. A 140 BPM loop plays at half time over a 70 BPM beat, and trap and drill are often labelled either way. Sound Server matches half and double tempo for that reason.

**Why do A minor results include C major?**

A minor and C major use the same notes; they are relative keys. A sample in one usually works over a track in the other, so both match.

**How does Sound Server know a sample's key?**

From the source when it records it (Freesound analyses tempo and key, many packs label them in file names), from words in the title, and, when you ask for details with analysis, by measuring the audio.

**Do drum one-shots have a key?**

Kicks, toms and 808s have a clear pitch and benefit from tuning. Snares, claps and hats are mostly noise; their key matters much less.

## Try it

- [808 in F minor](https://sound.shep.bot/search?q=808&category=bass.808&key=F+minor)
- [Vocal chops at 140 BPM](https://sound.shep.bot/search?q=vocal+chop&category=vocals.chop&bpm=140)
- [Piano loops at 90 BPM](https://sound.shep.bot/search?q=piano&category=keys&form=loop&bpm=90)
- [House drum loops, 120-128 BPM](https://sound.shep.bot/search?q=drum+loop&category=drums&form=loop&bpm=120-128)

## Collections

- [Free 808 samples](https://sound.shep.bot/samples/free-808-samples.md): Free 808 bass samples for trap, drill and hip hop, from clean sub booms to distorted glides, with key, length and a commercial-use verdict for each.
- [Free lo-fi loops](https://sound.shep.bot/samples/free-lofi-loops.md): Free lo-fi hip hop loops: dusty keys, jazzy guitar, mellow drums and tape-warped textures with BPM and key where known, and a licence verdict on every loop.
- [Free guitar loops](https://sound.shep.bot/samples/free-guitar-loops.md): Free guitar loops: clean electric riffs, acoustic strums, funk licks and ambient textures with BPM and key where known, each with a commercial-use verdict.
- [Free vocal chops](https://sound.shep.bot/samples/free-vocal-chops.md): Free vocal chop samples for house, future bass and pop: short sung syllables, cuts and stutters with BPM and key where known, and a licence verdict on each.

## Related guides

- [One-shots vs loops: which samples should you use?](https://sound.shep.bot/guides/one-shots-vs-loops.md): One-shots are single hits you program yourself; loops are recorded patterns that repeat at a tempo. When to use each, how to match them, and how to search.
- [What is an 808? The drum machine and the bass](https://sound.shep.bot/guides/what-is-an-808.md): An 808 is Roland's TR-808 drum machine (1980), and in trap and hip hop its long, tuned bass drum used as a bassline. History, tuning and free 808 samples.
- [How to build a drum kit from free samples](https://sound.shep.bot/guides/build-a-drum-kit-from-free-samples.md): Pick a kick, snare, clap, hats and 808 that suit each other, check every licence, then play the kit in Strudel or any sampler via an SFZ or General MIDI map.
- [WAV, AIFF, FLAC or MP3: which sample format should you use?](https://sound.shep.bot/guides/sample-formats-wav-mp3-flac.md): Use lossless WAV, AIFF or FLAC for production and MP3 or Ogg only for previews. Sample rate and bit depth explained: 44.1 or 48 kHz, 16 or 24-bit.

This guide is practical information, not legal advice.

---
Source: https://sound.shep.bot/guides/find-samples-by-bpm-and-key
