A DJ player modelled on Pioneer’s CDJ series. Cue, three hot cues, loop
in/out/reloop and memory points, a tempo fader with Master Tempo, sync
across up to 4 decks, and musical key detection — all from the
keyboard, drawn in your terminal. Press ? in the app to see this list
there too.


Basics
| Key | Action |
|---|---|
Space | Play / Pause |
C | Cue |
1 2 3 | Hot cue A/B/C |
L | Auto loop / exit the loop |
← / → | Search (Shift: super fast) |
↑ / ↓ | Tempo (Shift: ×10) |
, / . | Jog: hold to slow down / speed up 3% (Shift: 12%) |
R | Reverse |
F | Sync to the master deck |
B / N | Previous / next track in folder |
Tab | Browse: recent, known tracks, crate contents, folders, active crates, music folders |
` | Settings: Auto Cue, MIDI pad controller |
Cues
| Key | Action |
|---|---|
C | Cue — playing: back to cue & pause · paused: set cue · hold on cue: preview |
Space while holding C | Keep playing after releasing Cue |
1 2 3 | Hot cue A/B/C: jump & play (on the next beat when quantizing) · REC mode: store the cue, or the loop while looping |
1 2 3 held in slip | Play the hot cue while held, then back to where the track would be |
E | Hot cue REC / PLAY mode |
Shift+1 2 3 | Clear hot cue (REC mode only) |
W / J / K / X | Memory: store cue or loop / jump to the nearest one left / right / delete |
X X on a loop memory | A loop needs a second X within 2s to confirm the delete |
T | Elapsed / remaining time |
Shift+T | Auto Cue on/off |
Cues, hot cues, loops and the beat grid are saved per track, fingerprinted
from the audio itself (not the filename), so they survive renaming, moving
and retagging — one JSON file per track under ~/.local/share/odj/tracks/.
MIDI pads
A MIDI pad controller can call memory points too: each pad jumps to the
memory with its own number (pad 1 → memory 1, in track order), straight
there from wherever the playhead is — the same jump J / K make. It’s
set up just like odj-sampler’s: ` opens
Settings, Tab flips from General to MIDI, Enter picks a
device and C configures it pad by pad. Each deck remembers its own
device, so two decks can each have their own controller without both
jumping on one press; learned pad notes are per device, shared by every
deck.
Loops
| Key | Action |
|---|---|
I / O / P | Loop in / Loop out / Reloop-Exit (back into whatever loop you’re at or just left) |
O while looping | Loop out adjust: , / . move the out point (Shift: ×10), O to finish |
R while looping | Play the loop backwards, R again for forwards |
L | Auto loop of the loop size / exit the loop |
Shift+P | Jump to the start of the loop you’re in — or, not looping, back to the auto loop (I/O/L), even after visiting another memory |
Shift+L | Promote the auto loop to a real memory |
[ / ] | Halve / double the roll or loop, else the next beat loop’s size |
Shift+[ / ] | Same, but from the in point: extends or shrinks the loop to the left |
; (hold) | Loop roll of the loop size, [ / ] change it; back to where the track would be |
- / = | Beatjump back / forward (moves the loop while looping) |
Shift+- / = | Beatjump size 1 … 64 beats |
Z | Slip: loops, reverse, held hot cues and pause carry on underneath |
Tempo
| Key | Action |
|---|---|
↑ / ↓ | Tempo fader (Shift: ×10) |
0 / G | Reset tempo / cycle range ±6 ±10 ±16 WIDE |
H | Master Tempo (key lock) |
F | Sync to the master deck’s tempo and beats |
Shift+F | Make this deck the master |
, / . | Jog: hold to slow down / speed up 3% (Shift: 12%) · paused: 1 frame (Shift: 1 beat, 1 s without a BPM) |
S / V | Cycle start / brake time |
Each running odj-player claims a deck number (DECK 1–4, in the header,
or forced with odj-player --deck 2); with others running, it shows their
tempo, and the sync row marks whose keys mix well with this one. Decks
whose beats don’t keep to a steady grid sync tempo only (SYNC BPM).
Beat grid
| Key | Action |
|---|---|
Q | Quantize this track: cues, loops and jumps go on the beat (always on while synced) |
A | Tap BPM (playing: the beats go on the taps) |
Shift+A | Back to the detected grid |
D | Make the playhead beat 1 of a bar |
Y | Grid adjust: , / . shift the beats 1 ms (Shift: 10 ms) · ↑/↓ BPM ±0.01 (Shift: ±0.1) · Y or Esc to finish |
odj-player has no Volume or EQ of its own — run odj-mixer and any deck already running routes through it automatically, discovered live as “Deck n”.
Browse
Tab opens a browse screen with six tabs — Tab / Shift+Tab cycles
through all of them:
| Tab | Shows |
|---|---|
| Recent | Tracks you’ve opened before, newest first |
| Known tracks | Every track the global library has memory for (cues, loops…), whether or not it’s in an active crate |
| Crate contents | Every active crate’s tracks, merged and tagged by which crate(s) each is in |
| Folder | A plain filesystem folder — Ctrl+U adds the current one to your saved music folders |
| Crates | Every crate that exists — Space toggles it active, shared with odj-sampler |
| Music folders | Manage your saved folders — moved here from Settings |
This one screen is the only way both to browse for a track to load and
to pick which crates are active. ↑ ↓ select, Enter or → open,
← or Backspace go up a level (or to your music folders, from one
of them), Esc closes. Starting odj-player with no active crates (or
all of them empty) lands on the Folder tab instead, since there’s
nothing to browse yet — but Tab itself always opens on Crate
contents when asked, empty or not.
Crates
Any number of crates can be active at once, shared between odj-player
and odj-sampler. An active crate is a read-only, merged browsing set —
Crate contents (above) and odj-sampler’s own kit picker show every
active crate’s tracks and kits together — but neither app ever writes
into one: a new cue, loop, grid save or kit always lands in the global
library under ~/.local/share/odj, regardless of which crates are
active. A crate only ever remembers which tracks belong to it, by
content id, so renames, moves and retagging never lose track.
Creating and populating a crate — including deleting one — is odj-crates’ job: create it there, download tracks into it via YouTube search or add existing files, and it shows up here, in the Crates tab, right away.