United Statesevanpurkhiser/keyfinder-cli
A CLI wrapper for libkeyfinder. Making DJs lives easier.
Featured achievements
The project's latest awards
#1 Repository of the month
#1 Repository of the month
#1 Repository of the month
Keyfinder Command Line Interface
This small utility is the automation-oriented DJs best friend. By making use of Ibrahim Sha'ath's high quality libKeyFinder library (now maintained by Mixxx DJ), this utility can be used to estimate the musical key of many different audio file formats.
Usage and Expected Behavior
Installing this software exposes the keyfinder-cli command on your system.
The most basic usage of this utility is to provide a path to an audio file, it will quickly compute the estimated global music key of the audio file and print it to stdout.
$ keyfinder-cli AMajor.mp3
A
In the case that there is no key (silence) nothing will be printed to stdout and the program will exit with a 0 status code.
Different key notations
Three different key notations are supported and can be toggled:
-
-n standardfor Standard Key NotationKeys are outputted using the standard notation. For example,
Ebis equivalent to E flat.Ais equivalent to A Major. Sharps are not used. This is the default notation mode used to output keys when no other options are specified -
-n openkeyfor Open Key NotationKeys are outputted using BeaTunes Open Key notation. Keys like
1mare equivalent to C Major. This is what Traktor uses for it's key notation. -
-n camelotfor Camelot Key NotationKeys are outputted using the Camelot Easymix Wheel notation. Similar to Open Key notation
8Bis equivalent to C Major.
Building
You will need to have the following dependencies installed on your machine
- ffmpeg (This was not tested with
libav) - libkeyfinder
As long as these two dependencies are installed then you should be able to simply type:
$ cmake -DCMAKE_INSTALL_PREFIX=/where/you/want/to/install/to -S . -B build
$ cmake --build build
$ cmake --install build
Similar Projects
Discover other similar projects and AI models.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
VoxCPM2: Tokenizer-Free TTS for Multilingual Speech Generation, Creative Voice Design, and True-to-Life Cloning
Whisper Whisper is a state-of-the-art model for automatic speech recognition (ASR) and speech translation, proposed in the paper Robust Speech Recognition via Large-Scale Weak Supervision(https://huggingface.co/papers/2212.04356) by Alec Radford et...
Using this open-source model in production? Consider switching to pyannoteAI(https://www.pyannote.ai) for better and faster options. 🎹 Speaker diarization 3.1 This pipeline is the same as pyannote/speaker-diarization-3.0(https://hf.co/pyannote/speak...
community-1 speaker diarization This pipeline ingests mono audio sampled at 16kHz and outputs speaker diarization. - stereo or multi-channel audio files are automatically downmixed to mono by averaging the channels. - audio files sampled at a differ...