How to Find the Key of a Sample - Producer Guide | BeatKey
Free Sample Key Detection

How to Find the Key of a Sample

Drop any audio file into BeatKey and get the musical key, BPM, and Camelot code in seconds. No DAW plugin, no account, no server uploads.

Detect Sample Key Free

Why Key Detection Matters for Sampling

🎵

Avoid Clashing Notes

Samples in the wrong key clash with your bassline and melody. Finding the key first prevents dissonant, unprofessional-sounding beats.

🎛️

Pitch to Any Key

Once you know the sample key, you can pitch it up or down by the exact number of semitones to match your track without guessing.

🎧

Harmonic Mixing

DJs use Camelot codes to mix tracks that share keys or adjacent keys. The same logic applies to layering samples in a beat.

3 Ways to Find the Key of a Sample

1

BeatKey Audio Analysis (Fastest)

Recommended

Upload any audio file and get the key and BPM detected automatically using audio analysis. Works on unreleased samples, loops, stems, and any file not in a database.

  1. 1. Go to beatkey.app
  2. 2. Drag your sample file onto the upload zone (or click to browse)
  3. 3. BeatKey analyzes the audio locally in your browser (no upload to a server)
  4. 4. See the BPM, key (e.g. A minor), and Camelot code (e.g. 8A) in seconds
  5. 5. Use the Camelot code to find compatible samples or transpose to match your track
2

Chord Detection for Pitched Samples

For samples with clear chords (soul samples, R&B loops, jazz cuts), detecting the chord progression reveals the key. A progression in Am-Dm-Em is in A minor.

  1. 1. Upload the sample to chords.beatkey.app
  2. 2. Look at the chord progression detected (e.g. Am - F - C - G)
  3. 3. The most common chord is usually the tonic (home chord)
  4. 4. An Am - F - C - G progression is in A minor (Camelot 8A)
  5. 5. Cross-reference with BeatKey for the key name confirmation
3

DAW Piano Roll Method (Slower, No Internet)

If you prefer to work inside your DAW, drag the sample into the Piano Roll and look for the dominant note clusters. The note that most melodic content returns to is likely the tonic.

  1. 1. Drag the sample into your DAW's Piano Roll as a pitch-detected audio region
  2. 2. In FL Studio: click the sample in Channel Rack, go to Piano Roll, use "Detect chord" or zoom in
  3. 3. In Ableton: use the "Convert Melody to MIDI" feature (clip right-click)
  4. 4. Look for the note cluster that appears most frequently and feels like "home"
  5. 5. Compare to a scale reference using scales.beatkey.app to confirm the key

This method is slower and requires a trained ear. BeatKey automates the same analysis in 2 seconds.

What To Do After Finding the Key

Pitch the Sample to Match Your Track

Count semitones between the sample key and your target key. Use the BeatKey Key Transposer at beatkey.app/key-transposer. In your DAW, adjust pitch by that number of semitones.

Key Transposer →

Find Compatible Samples

Use the Camelot code from BeatKey to find other samples in the same key (same Camelot number) or adjacent compatible keys (+1 or -1 step). These blend harmonically without clashing.

Camelot Wheel →

Find the Scale for Melody Writing

Once you know the key, look up the scale notes to write a melody or bassline that fits. Use scales.beatkey.app to see all notes in any key across 18 scales including major, minor, Dorian, and Phrygian.

Scale Finder →

Detect Chords for Resampling

If the sample has chords, use chords.beatkey.app to detect the exact chord progression. This lets you recreate the progression with new instruments or build on top of the sample harmonically.

Chord Finder →

Common Sample Keys and Camelot Codes

The most commonly sampled music is in minor keys. Here are the most common sample keys and what to do with them.

KeyCamelotCommon InCompatible KeysSemitones to C minor
A minor8AHip-hop, lo-fi, soul8B (C major), 7A (D minor), 9A (E minor)+3
D minor7AHip-hop, boom bap, soul7B (F major), 6A (G minor), 8A (A minor)+2
C minor5ATrap, R&B, neo-soul5B (Eb major), 4A (F minor), 6A (G minor)0
G minor6AFunk, soul, R&B6B (Bb major), 5A (C minor), 7A (D minor)+7
F minor4AR&B, neo-soul, jazz4B (Ab major), 3A (Bb minor), 5A (C minor)+5
E minor9ARock samples, lo-fi9B (G major), 8A (A minor), 10A (B minor)+4
B minor10AIndie, pop samples10B (D major), 9A (E minor), 11A (F# minor)+11
C major8BPop, gospel, soul8A (A minor), 7B (F major), 9B (G major)N/A

Pitching Samples in Your DAW

FL Studio

  1. 1.Open Channel Sampler for the sample
  2. 2.Find the "SMP" pitch knob (middle area)
  3. 3.1 semitone = 100 cents on the knob
  4. 4.Tune 808s using notes.beatkey.app Hz reference
  5. 5.Use Channel Rack transpose for quick +/- semitones

Enable pitch correction in the Channel Sampler for more natural pitch shifts.

Ableton Live

  1. 1.Drag sample into a Simpler or Sampler device
  2. 2.Use the Transpose knob (semitones)
  3. 3.Or use "Convert Melody to MIDI" for automatic pitch detection
  4. 4.Clip Detune adjusts cents for fine-tuning
  5. 5.Warp mode can also pitch without time-stretching

Set the Root Note in Simpler to the detected key note for pitch-accurate playback across the keyboard.

Logic Pro

  1. 1.Drop sample into Quick Sampler
  2. 2.Transpose knob adjusts by semitones
  3. 3.Fine Tune adjusts by cents
  4. 4.Flex Pitch in the Audio Editor shows detected pitch
  5. 5.Smart Tempo can detect BPM for time-stretching

Use the Pitch Correction setting in Quick Sampler to auto-correct off-key notes to the detected scale.

GarageBand

  1. 1.Add the sample to a Software Instrument track
  2. 2.Open the Smart Controls panel
  3. 3.Use the Pitch knob to transpose by semitones
  4. 4.For iOS: tap the region and select Transpose
  5. 5.Use the built-in tuner to confirm the base pitch

GarageBand does not have BPM or key detection. Use BeatKey first, then return to GarageBand with the key information.

Complete Sample Flip Workflow

1

BeatKey

Detect BPM + Key + Camelot code from the sample

2

Key Transposer

Calculate semitones to pitch sample to your target key

3

Chord Finder

Detect the chord progression to recreate or build on it

4

Scale Finder

Look up scale notes to write a melody that fits the key

5

Delay Calculator

Set BPM-synced delay and reverb pre-delay times

Frequently Asked Questions

How do I find the key of a sample? +

Upload it to beatkey.app. The tool uses Essentia.js audio analysis to detect the musical key in seconds. No account or server upload needed. Works with MP3, WAV, FLAC, OGG, and most common audio formats.

Can I find the key of a sample without Ableton or FL Studio? +

Yes. BeatKey works entirely in your browser and requires no DAW, no plugin, and no software installation. Just go to beatkey.app and drop your file onto the page.

What if BeatKey gives a different key than what my DAW shows? +

Some DAWs (like Ableton Live 12) detect key from metadata rather than audio analysis, which can be wrong for samples or unreleased music. BeatKey always analyzes the actual audio content, which is more reliable for samples and loops without embedded metadata.

How many semitones do I need to pitch A minor to C minor? +

A minor (8A) to C minor (5A) is 3 semitones down. Use beatkey.app/key-transposer to calculate any transposition instantly. In FL Studio, set the Channel Sampler pitch to -300 cents. In Ableton, set Simpler transpose to -3.

Does BeatKey work on stems and acapellas? +

Yes. BeatKey analyzes any audio file including full mixes, stems (just the melody, just the bass), acapellas, loops, and one-shots. Files without enough tonal content (like pure drum loops) may not return an accurate key.