DJing

How to Plan a DJ Set by Key and BPM (New Free Set Planner)

Meet TuneTapper's new DJ set planner: drop in your tracks, get key, Camelot and BPM for each, and sort the playlist into a harmonic set order. Free, in your browser.

TuneTapper has a new tool: the DJ Set Planner. Drop in the tracks you want to play, and it detects the key, Camelot code and BPM of each one, then sorts them into an order that mixes harmonically. You can export the result as a spreadsheet or as a playlist for your DJ software. It is free, needs no account, and runs entirely in your browser, so your music is never uploaded.

This guide covers why set order matters, how the planner chooses it, and how to get the most out of it.

Why the Order of Your Set Matters

A good set feels like one long piece of music. Two things decide whether a mix between two tracks sounds smooth: their keys and their tempos. Tracks in compatible keys can overlap for a full phrase without the basslines and melodies fighting each other. Tracks with close tempos can be beatmatched with a small nudge of the pitch fader, without anyone on the dancefloor noticing a speed change.

The Camelot wheel makes the key half of that easy. Every key gets a code from 1A to 12B, and compatible keys sit next to each other. The hard part is applying it to a crate of 30 or 60 tracks: finding an order where every step is a good one is a puzzle with millions of possible answers. That is the puzzle the planner solves.

How to Plan a Set in Four Steps

  1. Gather the tracks. Put the candidates for your next gig in one folder. Use a few more than you need; you can remove tracks later.
  2. Drop the folder on the planner. On a computer you can drag the whole folder (subfolders included) onto the page or use Choose a folder. On a phone, tap Choose tracks and select several files. Each track takes a second or two to analyse, and several are analysed at once.
  3. Choose how to order it. Smoothest mix finds the order with the fewest key clashes and tempo jumps. Build energy keeps the harmonic rules but makes the tempo climb from your slowest track to your fastest, which suits a warm-up set. Open with lets you fix the first track and have the planner arrange the rest around it.
  4. Fine-tune and export. Move tracks up or down or remove them. Every transition is rated as you go. When you are happy, export a CSV tracklist, an M3U playlist, or copy the tracklist as text.

How the Planner Scores a Transition

For every pair of tracks the planner works out how well the first mixes into the second, and gives it a cost:

  • Key. Same key is free. One step around the wheel (8A to 9A) and the relative major or minor (8A to 8B) cost a little. An energy boost of two steps (8A to 10A) and diagonal moves (8A to 9B) cost more. Keys that clash cost a lot.
  • Tempo. A change of up to about 3% is a pitch-fader nudge and costs almost nothing. Up to 8% is still mixable. Beyond that the cost rises quickly. Half and double time are recognised, so an 87 BPM track and a 174 BPM track count as a match, with a small extra cost.

The planner then searches for the order with the lowest total cost. It tries every track as an opener, builds a greedy chain from each, keeps the best, and then improves it by reversing and moving sections until no change helps. For a typical crate this lands on the best possible order or very close to it, in well under a second.

Each transition gets a rating: Smooth, Good, Workable or Rough, with the Camelot move and the tempo change in percent. A rough transition isn't forbidden. It tells you to plan a cut, an echo out, or a breakdown at that point instead of a long blend.

Exporting to rekordbox, Serato, Traktor or VirtualDJ

The M3U playlist lists the files in set order with paths relative to the folder you added. Save it inside that folder and import it into your DJ software: rekordbox, Serato, Traktor and VirtualDJ all read M3U playlists. The CSV opens in Excel, Numbers or Google Sheets and includes artist, title, Camelot code, key, BPM, length and the rating of each transition, which makes a handy printed set list.

Private and Offline

Most online playlist tools ask you to upload your music. The set planner doesn't. It decodes every file in your browser with the Web Audio API and runs the same detection as the key finder and the BPM detector, in background workers so the page stays responsive. Only the results are kept in your browser, so your set is still there when you come back.

Tips for Better Results

  • Trust your ears on a question mark. A key marked with ? had low detection confidence. Sparse, percussive or key-changing tracks are hardest. Check those by ear.
  • Don't chase a perfect score. A set where every transition is the same key gets flat. An occasional +2 energy boost or a planned key change keeps the set moving.
  • Use the opener. If you know which track starts your set, pin it with Open with and let the planner do the rest.
  • Mind the phrasing. Harmonic order makes the blend sound right. You still need to line up phrases. The bars to time calculator shows how long a 16 or 32 bar mix-in lasts at your tempo.

Open the DJ Set Planner and plan your next set.

Frequently Asked Questions

Is the DJ Set Planner free?

Yes. It is free with no account and no limits beyond 500 tracks per set. It runs in your browser, so there is nothing to install.

How do I sort a playlist by key?

Drop the tracks into the TuneTapper set planner and choose Smoothest mix. It detects the Camelot key of each track and orders them so each one moves to the same key, one step around the wheel, or the relative major or minor, while keeping tempo changes small. Then export the order as an M3U playlist.

Does it upload my music?

No. All decoding and analysis happens on your device. Nothing is sent to a server.

Which file types does it read?

MP3, WAV, FLAC, AAC, OGG, M4A and AIFF, as long as your browser can decode them. Files protected with DRM, such as streaming downloads, can't be read.