Skip to content

Docs

How Nusic reads your tracks, matches keys and grades every mix.

Enter your tracks

  1. Write one track per line: title, BPM, key and, if you like, its length as m:ss — for example “Second Wind, 124, 9A, 6:30”.
  2. Separate fields with commas, tabs, “|” or “;”. Fields are read from the end of the line, so a comma inside a title is fine.
  3. BPM is a number from 40 to 220 (“124” or “124 bpm”). Keys can be Camelot codes (1A–12B) or note names: Am, A minor, F#m, Gbm, Bb, C major.
  4. Lines that start with # and empty lines are skipped. A line with a missing or unreadable field is listed under the box with the reason; the rest of the set still works.
  5. Up to 60 tracks per set. The total length shows when every track has one.

Keys and the Camelot wheel

  1. The Camelot wheel numbers the 24 keys 1–12, with A for minor and B for major. A minor is 8A, C major is 8B.
  2. Same key (8A → 8A): always compatible.
  3. Relative key (8A → 8B): same number, other letter — the relative major or minor.
  4. Next on the wheel (8A → 7A or 9A, and 12 → 1): one step up or down with the same letter.
  5. Anything else is a key clash. It can still work over a short or percussive mix, so Nusic only marks it.

How mixes are graded

  1. Tempo change = (next BPM − current BPM) ÷ current BPM. Nusic also tries half and double time and keeps the smallest change.
  2. Smooth: compatible key and a tempo change of 3 % or less.
  3. Workable: compatible key within 6 %, or a key clash within 3 %.
  4. Rough: everything else — plan a longer blend, an effect or a cut.

Suggested running order

  1. Your first line stays first, so put your opener there.
  2. Each mix gets a cost: 0 for the same key, 1 for relative or next on the wheel, 4 for a clash, plus half the tempo change in percent.
  3. Nusic chains the cheapest next track each time, then reverses stretches of the set while that lowers the total cost.
  4. It is a suggestion from numbers only — energy, genre and the room are up to you. Choose “Keep my order” to check your own order instead.

Account and workspace

  1. Choose Sign up, then enter your name, email and a password with at least 8 characters, one letter and one number.
  2. You land in your workspace at /app. The planner there keeps your last list in this browser (localStorage); clearing site data removes it.
  3. Use Log out in the top bar when you are done on a shared device. To delete your account, email [email protected].

Account API

  1. POST /api/auth/signup with JSON { name, email, password } → 201 and a session cookie; 409 if the email is taken, 400 on invalid input.
  2. POST /api/auth/login with JSON { email, password } → 200 and a session cookie; 401 on a wrong password, 429 after too many tries.
  3. GET /api/auth/me → 200 with the signed-in user, or 401 when signed out. POST /api/auth/logout ends the session.
  4. Requests that change data must come from the same origin (cookie session, no API keys). The set planner itself has no API — it runs in your browser.

Nusic works only from the BPM and key you type. It does not listen to, stream or store music, and its order is a suggestion — the room is yours to read.