Spotify Smart Reorder — easiest if you already use Spotify
Spotify Premium's Smart Reorder can reorder a mixed playlist using BPM and key rather than simply playlist/genre similarity.
It's considerably simpler than a dedicated DJ tool, though.
AIDJSets — particularly interesting for Rekordbox users
Reads your Rekordbox library and combines harmonic mixing, BPM progression, and audio-derived energy analysis.
Importantly, it analyzes the actual audio for RMS, spectral characteristics and loudness rather than relying entirely on metadata.
If you're asking because you want to build one
I'd structure the generator roughly like this:
Track compatibility score =
40% harmonic/key compatibility
30% BPM/tempo continuity
15% energy trajectory
10% phrase/structure compatibility
5% genre/style similarity
Then use genre as a soft constraint, not a hard filter. That lets you get interesting transitions like house → disco → funk → indie dance when the key, tempo and musical character actually work.
For harmonic matching, the Camelot Wheel is a particularly practical representation: same key, adjacent keys, relative major/minor, etc. DJ.Studio and Mixed In Key both use this approach.
My pick: if you want something ready-made, start with DJ.Studio. If you want an AI system that actually listens to the tracks and considers structure/energy as well as BPM and key, Mixmap.AI or AIDJSets are more interesting.
If you tell me whether you mean Spotify playlists, your local MP3 library, or a Rekordbox library, I can narrow this down to the best 2–3 options.
If you want to generate playlists based strictly on the sonic DNA of your tracks—specifically BPM and Harmonic Key/Camelot Wheel —rather than lazy genre metadata, standard streaming algorithms won't cut it. You need tools that analyze the raw audio files or let you build custom logic based on numerical audio properties.
The best options available for true BPM- and key-driven playlist generation depend on whether you are working with local files or streaming libraries:
Mixed In Key — The industry standard for harmonic mixing. It doesn't generate a "random" playlist for you out of thin air, but it scans your local audio files with the most accurate key and BPM detection on the market. It tags your files with Camelot numbers (e.g., 8A to 9A) and energy levels (1 to 10). You can then sort, filter, and sequence your library with absolute mathematical precision, completely bypassing genre tags.
Mixed In Key Poetry / Captain Plugins / Pilot — Other ecosystem tools from Mixed In Key meant for deeper harmonic analysis and production integration if you want to take the key matching into a workflow that builds transitions or harmonic sequences.
Mixxx — A powerful, free, open-source DJ software alternative. It features built-in, automated BPM and key detection that analyzes raw audio files on your hard drive. You can use its crate and playlist sorting features to build sets that flow smoothly from one tempo/key to the next without caring about what genre bucket a track was thrown into.
VirtualDJ — Features advanced library management with smart folders and automated key/BPM analysis. You can set up custom "Smart Folders" that auto-populate tracks matching a specific BPM range and compatible harmonic keys relative to a anchor track or criteria.
Algoriddim djay Pro — Known for having an incredible modern analysis engine and "Automix" features that can transition harmonically and beat-match tracks intelligently based on real-time audio analysis rather than preset genre tags.
Pro-Tip for a DIY Custom Generator:
If you are code-inclined or want an automated script, you can use Python with libraries like librosa to extract the exact BPM and chroma features (musical key) from a local folder of audio files, and then write a simple nearest-neighbor script to chain tracks together where Δ BPM ≤ 3 and keys match on the Circle of Fifths.