BeatScope uses on-device DSP to detect music tempo and key without internet
Developer behind BeatScope, a free offline music analyzer for macOS and iPhone, has detailed the signal-processing pipeline powering the app's tempo and key detection. Tempo is estimated by computing spectral flux to identify onsets, then using autocorrelation and comb filtering to find the beat period, with octave folding and dynamic programming to stabilize the beat grid. Musical key is determined by folding the audio spectrum into a 12-bin chromagram and correlating it against 24 major and minor key profiles using the Krumhansl–Schmuckler algorithm. The entire pipeline runs locally on-device, requiring no internet connection, and maps results to the Camelot system used by DJs for harmonic mixing. The approach draws on established academic research, including work by Ellis on beat tracking and Krumhansl's cognitive foundations of musical pitch.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in