Studio LightKey and tuner
How to use DP KeyLock
KeyLock listens to whatever plays on the track and gives you the key, the scales that fit and how far the tuning is off. With the project key locked it tells you for every sample whether it fits and how many semitones to shift it. Reach for it before you add an 808 and a melody to a sample.
DarkPlugins3 min read

What it's for
A sample with no key in its name, a vocal recorded over a different beat, an 808 slightly off the melody — everyday sources of clashing notes. KeyLock analyses audio or MIDI notes and shows the detected key with its confidence, the recording's tuning in cents against A4, how much of each note is heard, the scales that fit and the related keys on a circle of fifths. Audio passes through the plug-in unchanged.
Quick start
- Insert KeyLock on the track with the sample, melody or whole beat. Choose the Profile that matches the material.
- Play a section. The Detected key panel shows the key; if you see NO CLEAR KEY the material is mostly drums or noise — play a part with a melody.
- For a more reliable result lengthen Window to 40 s or Song and play a longer section.
- Lock the project key: Use detected, then Lock (or click a key on the circle of fifths).
- Move the plug-in to another sample or swap the sample. The verdict says IN KEY, FITS, CLOSE or CLASH and, next to it, how many semitones to shift it (SHIFT SAMPLE).
Key controls
- Profile — how it listens: Loop / Mix (loops, samples, full beats), Melody / Synth (a single melody), Vocal (vocals with vibrato), Bass / 808 (bass lines).
- Window — how many recent seconds to consider: 6, 12, 20, 40 s or Song. Short = a fast result and key-change tracking, long = the most reliable result for the whole piece.
- Source — Audio, MIDI (notes from a clip, exact) or Auto.
- Capture — records a section for analysis; a second click ends it. With Sync on, recording runs from PLAY to STOP in the DAW.
- Hold — freezes the result on screen. Reset — restarts the analysis.
- Key Lock and the key list — the project key, picked by hand or with Use detected.
- Tuner and A4 (415–466 Hz) — the tuner and the reference pitch. 440 Hz is standard.
The Pitch classes panel shows with bars how much of each note is heard: colour means in key, amber means outside it. Below are the fitting scales and related keys; clicking one locks it.
Ready-made settings
- A sample or loop — preset Sample Loop (Loop profile, 20 s window). Fast answer: Quick Check (6 s). Most reliable: Accurate Loop (40 s).
- A whole song — preset Full Song Scan, or Transport Capture, which collects material from PLAY to STOP.
- Tuning an 808 — preset 808 Tuner: Bass / 808 profile, short window, tuner on. Play one long note and tune the sample until the pointer sits in the centre.
- Vocals — preset Vocal Take for the key, Vocal Tuner for checking pitch.
- Matching samples to the beat's key — presets Match Samples to A minor, C# minor, F minor, G minor, E minor and C major come with the key already locked.
- Old records and other tunings — presets in the Tuning group (432, 442, 443 Hz).
Common mistakes and tips
- Too short a section. Two bars with three notes are not enough to tell a key from its neighbour. Give the plug-in a whole phrase.
- Drums in the analysis. A full beat with loud drums lowers the confidence. If you can, analyse the melody or the sample alone.
- Major or relative minor. C major and A minor share the same notes. The verdict IN KEY - RELATIVE means the sample fits — only the melody's home note differs.
- Blind trust. At low Confidence check the notes on the keyboard below. More on when not to trust a detector: choosing the key of a sample and melody.
- The recording isn't tuned to 440 Hz. The Tuning field shows the offset in cents. At ±20 cents or more, tune the sample before adding instruments.




