An AI DJ engine that analyzes your music and automatically mixes a seamless, professional-grade set.
Avicii is an AI DJ engine that turns any playlist into a fully automated, professionally mixed DJ set. Instead of relying on expensive hardware or manual beatmatching skills, Avicii analyzes the structure of songs, including BPM, key, energy curves, vocal presence, and rhythmic patterns, and intelligently generates smooth transitions between tracks. The system uses audio separation (stems), music feature extraction, and transformer-based audio understanding (CLAP model) to determine which songs are compatible and exactly where transitions should occur, outputting a continuous mixed audio file with optimized crossfades, beat-aligned transitions, and energy-aware sequencing.

Analyzes each track using BPM detection, key estimation, energy curve mapping, and spectral features to build a structured representation of the song, turning raw audio into a navigable timeline of musical intensity.
A scoring model evaluates compatibility between tracks based on rhythm, energy progression, key harmony, and vocal overlap risk, selecting transition points that maximize musical coherence while preserving creative variation.
Demucs-based source separation isolates vocals and instruments, enabling cleaner transitions and preventing vocal clashes during crossfades.
A transformer-based CLAP model adds high-level reasoning about genre and mood, ensuring mixes feel stylistically consistent even across BPM or key differences.
Once the optimal sequence is determined, Avicii generates a continuous multitrack mix with beat-synced transitions and exports a final audio file ready for playback.


