Find the key, BPM and energy of every track in your music collection, so you can mix in key. Free, open source, and fully offline.
Website: lvndry.github.io/euphoria
Euphoria reads your music, finds the key and tempo of every track, rates its energy, and exports the results to your DJ software. It is an open alternative to paid harmonic mixing tools such as Mixed In Key: no account, no activation, and nothing leaves your computer.
Available now:
- Key detection, shown in Camelot (8A) and musical (A minor) notation
- Tempo detection in BPM
- Energy rating from 1 to 10, on Euphoria's own documented scale
- Audio quality for DJ use: codec, real bit rate, where the content stops, and files that were likely re-encoded from a lower quality source
euphoria analyze, a command line tool with table and JSON outputeuphoria quality, which lists the files to replace, worst first, with why: low bit rate, fake lossless or damaged, also as CSV or an M3U8 playlisteuphoria export rekordbox, which writes keys, tempos, energy ratings and a playlist per folder as a rekordbox XML fileeuphoria export traktor, which writes a Traktor NML collection with keys, tempos and playlists, plus beat grids and cues with--beat-gridand--cueseuphoria export engine, which writes keys, tempos, beat grids and hot cues into the tracks of your Engine DJ library after saving a copyeuphoria export virtualdj, which writes keys, tempos, beat grids, cues and energy into the songs of your VirtualDJ database after saving a copyeuphoria tags write --serato-markers, which writes cue points and beat grids into the tags Serato DJ reads, keeping the cues already thereeuphoria tags write, which writes key, tempo and energy into the tags of your files after showing every change,euphoria tags set, which edits title, artist, genre and other fields across many files with find and replace, andeuphoria tags undo, which puts the old tags back byte for byte- MP3, M4A and MP4 (AAC or ALAC), FLAC, Ogg Vorbis, WAV and AIFF
- A desktop app for macOS, downloadable below: see the desktop app guide
- Playlists built in the desktop app, with each set's key path, tempo range and energy flow at a glance, exported to rekordbox or as M3U8 for any other program
In development: an export for Serato DJ.
On a Mac with Apple Silicon and macOS 15 or later, or on Linux on x86_64, one command installs the app and the command line tool for your user, after checking every file against the release's checksums:
curl -fsSL https://github.com/lvndry/euphoria/releases/latest/download/install.sh | sh
It puts the command line tool in ~/.local/bin, and the app in Applications on macOS or as ~/.local/bin/euphoria-desktop with a launcher entry on Linux. Pass --cli-only or --app-only with sh -s -- --cli-only, run it again to upgrade, and run it with --uninstall to remove exactly what it installed. See installation for the details.
On a Mac, with Homebrew instead:
brew tap lvndry/euphoria
brew install --cask euphoria
or download the newest release instead:
- Download Euphoria, the newest release.
- Open the disk image and drag Euphoria onto Applications.
- Open Euphoria from Applications. Releases are signed and notarized by Apple, so it opens normally. Only a release made before notarization, or a copy you built yourself, needs a right click > Open (or System Settings > Privacy & Security > Open Anyway) the first time.
On Linux (x86_64, glibc 2.35 or later, such as Ubuntu 22.04 and newer):
curl -LO https://github.com/lvndry/euphoria/releases/latest/download/Euphoria-x86_64.AppImage
chmod +x Euphoria-x86_64.AppImage
./Euphoria-x86_64.AppImage
Every release, with its notes and the command line tool for both systems, is on the releases page. To build from source, or for what the AppImage needs from your desktop, see installation.
$ euphoria analyze ~/Music/DJ
Key BPM Energy Quality Time File
8A A minor 124.0 6 ━━━━━━──── lossless 6:48 Low Tide.flac
9A E minor 122.0 4 ━━━━────── good 7:12 Saffron.m4a
One file is shown in detail, with the runner up key, the half or double tempo and the reason for its sound quality: euphoria analyze ~/Music/DJ/Saffron.m4a.
Bring the results into rekordbox:
$ euphoria export rekordbox ~/Music/DJ --output ~/Music/euphoria.xml
Exported 340 tracks in 12 playlists to /Users/you/Music/euphoria.xml
The full documentation is in docs:
- Installation and quick start
- Analyze your library
- Build a set along an energy curve
- Render a set as one mix
- Export to rekordbox, to Traktor and to Engine DJ
- Export to rekordbox, to Traktor and to VirtualDJ
- Cue points and beat grids for Serato
- DJ program support
- Use Euphoria with your DJ program
- Find and export mashups in the desktop app
- Keys and the Camelot wheel
- Accuracy
- Audio quality
- Command line reference
- Development and contributing
GPL-3.0-or-later. See LICENSE.
