Find the running order
Add your songs (or drop the audio files — tempo, loudness and length are measured on your device, nothing is uploaded), choose the shape of the album, then sequence it with a transparent rule-based engine or with AI.
1 · Album intent & shape
2 · Songs
Drop audio files here or
Each file is decoded locally; we estimate BPM (onset autocorrelation), loudness (RMS dBFS) and length. Estimates can be off by half/double tempo — edit if needed.
3 · Sequence
Add at least 3 songs.
Line = energy of each track in order · dashed = target arc
Project
How this works & sources
- Energy score = level (low 1, mid 2, high 3) + (BPM − 110) ÷ 80, clipped to ±0.6. Roles nudge it: ballad/interlude −0.4, single +0.3.
- Rule-based engine: builds a target energy curve for the arc (classic peaks ~60 %, slow burn ~85 %, front-loaded descends, vinyl repeats a classic arc per side), then fills each slot with the remaining song closest to the target, penalising big tempo jumps (> 25 BPM) and more low-energy songs in a row than your limit. Openers/closers and your must-open/close picks are placed first.
- AI engine sends titles, BPM, energy, mood, role and the first 300 characters of lyrics to
POST site-api /ai/chat(Groq/Gemini). Its order is checked (every song exactly once, constraints enforced) and its notes are labelled AI-generated. Audio never leaves your device. - Audio analysis (Web Audio API): decodes the file, takes 60 s from the 20 % mark, builds an onset envelope (~86 frames/s), autocorrelates over 60–190 BPM and folds the result into 70–180 BPM. Loudness is RMS in dBFS; energy ≥ −11 dBFS RMS → high, ≥ −16 → mid (typical modern masters sit around −8 to −14).
- Length checks: a 12-inch LP at 33⅓ rpm sounds best at about 18–22 minutes per side (Disc Makers suggests 18–20 min; mastering houses list ~25 min as a hard maximum) — Disc Makers, Chicago Mastering Service. A standard CD holds 74 min (80 min discs are common) — Red Book CD-DA.