# BPM and Key Finder > A free song analyser that runs in the browser: drop one or more audio files (MP3, WAV, M4A/AAC, FLAC, OGG) and get the tempo in BPM, the musical key with its Camelot and Open Key codes, and the loudness in LUFS. The audio is never uploaded. https://bpm-key-finder.skillsafe.ai/ ## What it does (free, no sign-in, nothing uploaded) - Decodes the file with the browser's own audio decoder and measures up to the first 10 minutes. - Tempo: spectral-flux onset detection and autocorrelation over 40-220 BPM, refined to a tenth of a BPM, with the half-time and double-time readings. A tempo range (auto, 50-100, 75-150, 100-200) re-picks the count instantly. - Beat grid: the beat times, drawn on the waveform, played back as a click over the song, and exported as CSV. - Key: peak-picked chroma over the whole song matched against the Krumhansl-Kessler major and minor profiles; shows the key, the Camelot code (for example 8A), the Open Key code (1m), the neighbouring codes it mixes with, the runner-up key, and how sure it is. - Loudness: integrated loudness per ITU-R BS.1770 / EBU R128 (K-weighting, 400 ms blocks, absolute and relative gates), sample peak, peak-to-loudness ratio, and how far it is from the -14 LUFS streaming playback level. - Several songs at once, sortable by BPM, Camelot key or loudness; exports a CSV of all songs, a CSV of beat times and a JSON report. - The example songs are synthesised on the page at a known tempo and key, written as WAV files and measured like any dropped file. ## Optional AI step (signed-in, metered) "Plan a mix order with AI" orders three or more measured songs for a DJ set following the visitor's goal, and names one move per transition: long blend, energy lift, quick mix with a tempo change, or cut. It is sent the file names and the page's measurements (BPM, key, Camelot code, loudness, busyness) and the page's table of key relation and tempo gap for every pair - never the audio. The page checks every move against that table and replaces any the measurements do not allow. - API: https://bpm-key-finder.skillsafe.ai/api.html - Input fields: `task` ("plan_set"), `tracks` (JSON text: [{id, name, bpm, key, camelot, lufs, busy, seconds}]), `goal` (text), `facts` (JSON text: count, bpm_min, bpm_max, tracks_total, pairs [{from, to, key, gap}]). - Output: one JSON object `{"task":"plan_set","order":[ids],"moves":[{"from","to","move"}],"peak":id}` with move one of blend, energy_lift, tempo_step, cut. ## Source Adapted from the agent skill @dkyazzentwatwa/audio-analyzer from dkyazzentwatwa/chatgpt-skills (https://github.com/dkyazzentwatwa/chatgpt-skills): https://skillsafe.ai/skill/@dkyazzentwatwa/audio-analyzer. This app is an independent JavaScript implementation; no code from the skill is included.