SongKeyFinder

Open Empirical Verification

SongKeyFinder Accuracy Benchmark (240-Track MIREX Study & Zero-Upload Proof)

Unedited Top-1, MIREX weighted, and Top-3 recall scores across 24 keys and 10 genres—including exact failure modes and live DevTools 0-byte upload proof.

Executive Summary: Real Measured Results (v1.0.0 · 2026-12-04)

Most online song key finders claim "99% accuracy" without publishing a single test dataset, error category, or reproduction script. Below are the actual, unedited measurements produced by running SongKeyFinder's exact production JavaScript DSP engine (4096-point Hann FFT, 70–2400 Hz, Krumhansl-Schmuckler chromagram + Onset Flux Autocorrelation BPM) across 240 deterministic multi-genre test tracks covering all 24 major and minor keys × 10 harmonic/rhythmic profiles (PRNG seed 20261204, average local runtime 9.1 ms per track).

Test Subset Tracks Exact Key (Top-1) MIREX Weighted Score Top-3 Key Recall BPM Exact (±2%) BPM Octave-Tolerant (±2%, incl. Half/2x)
Standard 6 Genres (Pop, House/EDM, Acoustic, Ballad, Lo-Fi, Trap) 144 79.9% 84.7% 98.6% 83.3% 100.0%
Hard 4 Stress Profiles (Relative-Minor Loop, Modal, 172 BPM DnB, ±18¢ Detuned) 96 56.3% 66.3% 96.9% 75.0% 100.0%
All 10 Profiles Combined 240 70.4% 77.3% 97.9% 80.0% 100.0%

Why Top-3 Recall (97.9%) Matters More Than Single-Label Claims: Under the official MIREX key-scoring standard (1.0 exact, 0.5 fifth, 0.3 relative major/minor, 0.2 parallel major/minor), 10.4% of all errors were relative major/minor flips and 7.1% were fifth-related. Showing the Top-3 candidate keys alongside an instant Audition Scale by Ear button raises practical resolution to 97.9% across all 240 tracks—even on ambiguous modal and vi–IV–I–V loops.

Full 10-Profile Breakdown (24 Keys per Profile = 240 Tracks)

Genre / Stress Profile Tracks Exact Key MIREX Score Top-3 Recall Rel. Minor Flips Fifth Errors BPM Exact (±2%) BPM Half/2x (±2%) Avg Time
Trap / 808 Sub-Bass (Half-Time 140 BPM) 24 95.8% 95.8% 100.0% 0 0 100.0% 100.0% 6.9 ms
House / EDM 4-on-the-Floor (126 BPM) 24 87.5% 87.5% 100.0% 0 0 100.0% 100.0% 7.8 ms
Acoustic Guitar / Folk (102 BPM) 24 83.3% 83.3% 100.0% 0 0 100.0% 100.0% 9.7 ms
Stress: Drum & Bass / High-Percussion (172 BPM) 24 83.3% 83.3% 95.8% 0 0 0.0% (folds to 86) 100.0% 5.8 ms
Stress: Slightly Detuned Recording (±18 cents) 24 83.3% 86.3% 100.0% 0 1 100.0% 100.0% 10.2 ms
Pop / Radio Diatonic (118 BPM) 24 79.2% 85.0% 100.0% 4 0 100.0% 100.0% 8.7 ms
Piano Ballad (Slow 74 BPM) 24 79.2% 84.2% 100.0% 4 0 0.0% (folds to 148) 100.0% 13.3 ms
Lo-Fi Hip-Hop (Jazz 7ths + Vinyl Noise, 86 BPM) 24 54.2% 72.5% 91.7% 3 7 100.0% 100.0% 11.2 ms
Stress: Relative Minor/Major Loop (vi-IV-I-V) 24 37.5% 57.1% 95.8% 14 1 100.0% 100.0% 8.8 ms
Stress: Modal / Borrowed Chords (Dorian/Mixolydian) 24 20.8% 38.3% 95.8% 0 8 100.0% 100.0% 8.0 ms

Honest Failure-Mode Disclosure (What Breaks Local FFT Detection)

  1. Modal & Borrowed-Chord Harmony (20.8% Top-1): Krumhansl-Schmuckler tonal profiles model classical major and minor scales. A Mixolydian rock riff (I–bVII–IV) or Dorian funk groove shares its pitch histogram with its parent major key a fifth away—which is why 8 of 24 modal tracks mapped to the fifth, while 95.8% still appeared inside Top-3.
  2. Relative Major/Minor Pop Loops (37.5% Top-1, 14/24 flipped): Because C major and A minor contain the exact same seven notes, a loop like Am–F–C–G gives nearly identical chromagram energy to both keys. That is why every SongKeyFinder result displays Top-3 candidates and a 1-click Audition Scale button.
  3. Octave BPM Folding Below 78 BPM & Above 168 BPM: Our autocorrelation detector intentionally clamps the primary tempo readout to 78–168 BPM so standard Pop/House/Trap tracks stay intuitive. As the table honestly shows, 74 BPM ballads fold to 148 BPM and 172 BPM Drum & Bass folds to 86 BPM—which is why Half (÷2) and 2x (×2) are printed right beneath every BPM readout, delivering 100.0% octave-tolerant accuracy.

Network-Level Zero-Upload Privacy Verification (2026-12-04)

To verify our zero-upload claim empirically rather than only in prose, we instrumented a live Chromium session on https://songkeyfinder.org/ hooking window.fetch, XMLHttpRequest, navigator.sendBeacon, and PerformanceResourceTiming while analyzing 3 full WAV tracks back-to-back:

Audited Metric Observed Production Value How You Can Verify Yourself
Audio files analyzed in session 3 full WAV tracks Drop any local MP3/WAV into Song Key Finder
Audio upload HTTP requests (POST/PUT) 0 Open DevTools → Network tab → filter Fetch/XHR
Audio bytes transmitted off-device 0 bytes Turn off Wi-Fi / enable Offline mode in DevTools—the analyzer still runs
Only non-audio network requests seen Cloudflare RUM (300 B) + anonymous pageview ping Standard static telemetry; zero filenames, waveforms, or audio buffers sent

Scope Boundaries & v2.0 Open Dataset Roadmap

  • Important Scope Distinction (v1.0 vs. Real Mastered Commercial Audio): This v1.0 benchmark uses deterministic synthesized multi-genre audio (with kicks, snares, basslines, harmonics, vinyl noise, and pitch detuning) so every track has indisputable ground truth and anyone can reproduce the numbers without licensing barriers. Mastered commercial songs with lead vocals, key modulations, live room bleed, and heavy compression are harder than synthesized stems; we do not present v1.0 synthetic scores as commercial mastered-song accuracy.
  • v2.0 Roadmap: Independent evaluation on public human-annotated corpora (GiantSteps Key Dataset and Freesound CC0 labelled loops) with published per-track CSV predictions and side-by-side scoring against external baselines.

Explore our DSP formulas on Methodology, test your own track locally on Song Key Finder, or count live tempo by ear on our BPM Tapper.

Benchmark Methodology FAQ

Why does SongKeyFinder publish a 70.4% overall Top-1 score instead of claiming 99% accuracy?

Because 40% of our 240-track suite consists of deliberate stress tests (ambiguous vi-IV-I-V loops, modal Dorian/Mixolydian progressions, 172 BPM DnB, and detuned recordings). On the 6 standard tonal genres, Top-1 is 79.9% (MIREX 84.7%) and Top-3 recall reaches 98.6%.

What is the MIREX weighted key score shown in the table?

MIREX (Music Information Retrieval Evaluation eXchange) is the academic standard for key detection: 1.0 point for an exact match, 0.5 for a perfect fifth, 0.3 for the relative major/minor, and 0.2 for the parallel major/minor.

How can I verify that SongKeyFinder uploads 0 bytes of my audio file?

Open Chrome DevTools → Network tab, or switch your browser to Offline mode after loading the page, then drop any MP3 or WAV file. Key, Camelot, and BPM analysis complete locally with zero audio network traffic.