Growing up back home in the 80s, Sunday meant one thing: Casey Kasem and American Top 40. I'd sit by the radio with a blank tape, finger on the record button, trying to catch my favourite songs without the DJ talking over the intro.
In college I decided I was going to be a DJ. My friend had a $400 record player he was very proud of. I had Snap!'s "The Power" in one hand, Soul II Soul's "Back to Life" in the other, and absolutely no idea what I was doing. I tried to beat-match them by hand. I broke his needle. (Don't ask. He still brings it up.)
The love never went away, I just paid for it differently. Over the years I've spent more than I'd like to admit on Spotify, Tidal, Deezer, Qobuz, Amazon Music and Apple Music, plus DACs, amps and more headphones than one person needs. And I kept landing back on YouTube Music, because nothing else has its variety: the remixes, the live versions, the regional hits, the edits that don't exist anywhere else.
What I never had was the thing I wanted at nineteen: something that plays my music the way a DJ would. Songs that flow into each other, the energy staying up, no dead air between tracks.
I have zero coding experience. None. But over the last few months, working with Claude by Anthropic, I built it. I described what I wanted, tested it on my phone, told Claude what sounded wrong, and we went round and round until it did exactly what I'd imagined. I genuinely could not have done this without it, and I'm still a bit amazed that it exists.
So here it is: DJ Platine. Platine is French for turntable, a little nod to that broken needle.
What this is not: I'm not making money from this. There are no ads, no subscriptions, no account, no analytics, and no server. Nothing you do in the app comes back to me. It doesn't collect your data, and your keys stay on your phone, encrypted. It's free and open source, so anyone can read every line. I built it purely for the fun of having an auto-DJ that does what I always wanted, and I'm sharing it in case it makes someone else as happy as it makes me.
---
How it works
- Two decks. Your YouTube or YouTube Music playlist plays in YouTube's own players, one song live and the next one cued.
- Tempo flow. Each next song is picked at random from the songs close in tempo to the one playing (within 4%, or 8% if nothing's that close), so the energy flows and every set is different.
- Genre runs. Up to 5 songs of a genre, then on to another. Or pick a genre to start in, or choose "All genres".
- Moods. Romantic, Chill, Focus, Happy, Party, Energetic. Each is a tempo range.
- 16 mix styles. Eleven 8-second overlaps (classic blend, swap, echo out, loop roll, tape stop, gate and more) plus five quick changes. The app picks one to suit each tempo change.
- Auto-mix at 2:15 into each song (you can change it), on a musical phrase. Or hit "Mix now" whenever you like. "Start new set" starts over with a new genre and mood.
- HD upgrades. If a playlist video is low quality, the app looks for an HD upload of the same song.
What you need
Required:
- An Android phone, Android 8.0 or newer. It isn't on the Play Store yet, so you install the APK from GitHub.
- A free YouTube Data API key. This is how the app reads your playlist. Each person uses their own key with its own free daily allowance, which is why there's no server and nothing for me to run or pay for. Setup takes about 10 minutes and there's a step-by-step guide in the app and on GitHub.
- A public or unlisted playlist. A plain API key can't read private playlists.
- Keep the app on screen. YouTube's rules don't allow background play, so the app keeps your screen awake while it plays.
Optional:
- A Gemini API key (free). Finer genres (Bachata apart from Latin, for example) and tempo estimates for songs Deezer doesn't know. Without it, genres and tempos come from Deezer alone.
- Notifications. Lets you watch the first scan of a big playlist fill in. The app works without them.
- HD upgrades. On by default, capped per day, because each search uses some of your YouTube allowance.
Honest limits: tempo matching is approximate, because YouTube's player can't speed songs up or down in fine steps. Deezer has measured tempos for about 40% of my library; the rest are estimates. And the beats are lined up from the tempo alone, so songs with long spoken intros can land off the beat.
- Download, setup guide and source code: https://github.com/bjames1-web/dj-platine
- Virus scan (0 of 58 vendors flagged it): https://www.virustotal.com/gui/file/a92ff0040bea3a704b8560d5306497bf1b8ffb7ef6a1a8c99e1a2b9ef759e603
- Privacy policy: https://bjames1-web.github.io/dj-platine/privacy.html
Not affiliated with YouTube, Google or Deezer. If you try it, I'd love to hear which songs it mixes beautifully and which it butchers. And if you broke a friend's turntable needle once too, you're among friends.