A two-deck DJ app for the M5Stack Cardputer Zero.

Twin CDJ view, the main view: two decks side by side during an auto mix
Status: pre-release (store edition). This package has been tested on a PC and on a Cardputer Zero.
| Decks | Two decks with waveforms, beat grids, BPM, sync, cue, loops and four hot cues each |
| Mixer | Three-band EQ with kills, filter, volume and gain per deck, crossfader, auto mix with presets |
| Sound | 20-band master equaliser with ten presets and your own curve, speaker tone, compressor |
| Tempo | Pitch step of 0.02, 0.05 or 0.1 % per tap; tempo range in the menu |
| Headphones | Headphones can be used via the 3.5mm line out jack, USB/C to 3.5mm sound device or Bluetooth headphones. |
| Outputs | Master to a Bluetooth speaker, the built-in speaker or the jack; optional HDMI view |
| Music | mp3, flac, wav and m4a from the card, a USB drive or a NAS share (drives and shares are only read) |
| Rekordbox | Cue points are read from Rekordbox USB drives |
| Recording | The mix to WAV, or screen and mix to MP4 |
| Keys | Mixer keys can be remapped; a USB or Bluetooth keyboard works too |
It runs as the normal user: no root service, no admin rules, no install scripts. Settings (gains, levels, equaliser, pitch step, view) are saved.
![]() Twin CDJ view with loops and hot cues | ![]() Controller view with loops and hot cues |
![]() Controller view during an auto mix | ![]() Library |
![]() Recordings | ![]() Menu |
![]() 20-band equaliser | ![]() Compressor on the Punchy preset |
![]() Bluetooth audio |
- A Cardputer Zero with its standard system (Debian 13, 64-bit) and app launcher.
- A speaker for the master: Bluetooth, the built-in speaker or the jack.
- Optional: USB headphones or a USB sound card (headphone cue), an HDMI monitor, a USB drive or a NAS with your music.
-
Download
cz-dj_0.6.42_arm64.debfrom the Releases page. -
Copy it to the device, either way:
- From a PC on the same network:
scp cz-dj_0.6.42_arm64.deb USER@DEVICE:~/(your login name and the device's name or address). - On a USB drive: copy the file to the drive, plug it into the device and copy it to your home folder.
- From a PC on the same network:
-
Install in a terminal on the device, in the folder that holds the file:
sudo apt install ./cz-dj_0.6.42_arm64.debUse
apt, notdpkg: apt also installs anything the package needs. -
Open ZeroJ from the launcher.
On the first start the app writes ~/.config/wireplumber/wireplumber.conf.d/60-cz-dj.conf and
restarts your sound session once. It lets Bluetooth audio work outside a login session and stops the
sound system moving streams between outputs by itself. These two settings apply to all your sound,
not only ZeroJ.
Update: install the newer .deb the same way (step 3). Your settings stay.
Remove:
-
Take the sound settings out again (deletes the WirePlumber file and restarts the sound session):
cz-dj --remove-settingsIf ZeroJ is already removed, do it by hand:
rm ~/.config/wireplumber/wireplumber.conf.d/60-cz-dj.conf systemctl --user restart wireplumber -
Remove the app:
sudo apt remove cz-dj
Your settings (~/.config/cardputerzero/czdj.json), ~/djmusic and ~/djmix stay; delete them
yourself if you want them gone.
- Add music. Copy tracks into
~/djmusic, plug in a USB drive, or set up a share in menu Network. - Load. tab opens the library. f / x choose a track, z loads it to deck A, c to deck B.
- Play. w plays deck A, o deck B. q / p are cue.
- Listen ahead. 1 / 2 put deck A / B in the headphones, 3 the master.
- Match. e / i sync a deck. Tempo: a / s (A), l / OK (B).
- Mix. Hold v / b to move the crossfader, c centres it, or press space for an auto mix to the other deck.
- Record. Menu Record mix (WAV) or Record video (MP4); choose it again to stop. Files go
to
~/djmix, shown as Recordings in the library.
esc opens the menu (twice from the library). Keys help in the menu lists every key: up/down choose, left/right change page, esc goes back.
Pairs like q / p are deck A / deck B.
| Deck A | Deck B | Does |
|---|---|---|
| q | p | Cue: playing, back to the cue; paused, set it; at the cue, hold to preview |
| w | o | Play / pause |
| e | i | Sync on / off |
| a s | l OK | Tempo down / up |
| d f g | h j k | EQ low / mid / high: tap to select, double-tap to kill |
| r | u | Filter: tap to select, double-tap to centre |
| t | y | Volume: tap to select |
| z x | n m | Nudge back / forward (hold); paused: step, hold to search; with shift: wind |
| 5 | 6 | Loop on / off |
| shift+1-4 | shift+7-0 | Hot cues A-D: empty sets it, tap jumps, hold 2 s clears |
| 8 | 9 | Gain (double-tap: -3 dB) |
| Key | Does |
|---|---|
| del / 0 | Change the selected control up / down; a running loop: double / halve |
| v / b | Crossfader left / right (hold); with shift: fully to deck A / B |
| c | Crossfader to the centre |
| space | Auto mix to the other deck; again: stop |
| 1 / 2 / 3 | Headphone cue: deck A / deck B / master |
| 4, - / = | Headphone volume |
| 7 | Master level |
| ctrl | Bluetooth volume |
| alt | Waveform zoom |
| tab | Library |
| esc | Menu |
Menu Remap keys changes the mixer keys. Menu Mixing > Pitch step sets the tempo step, Mixing > Auto mix the auto mix presets, Sound > Equaliser the 20-band equaliser.
The time left on a track is shown as minutes:seconds:frames (75 frames a second).
The same pages are in the app: menu Keys help, left/right to change page. Long pages scroll; the second picture shows the end.
![]() Decks A / B | ![]() Decks A / B (end) |
![]() Nudge, search | ![]() Mixer |
![]() Crossfader, phones | ![]() Crossfader, phones (end) |
![]() Library | ![]() Library (end) |
![]() Recording | ![]() Recording (end) |
![]() Menu | ![]() Menu (end) |
![]() USB drives |
Plug a DDJ-SB2 into the USB port: ZeroJ finds it within a second. It works the decks, mixer and pads, and its sound card: when it is plugged in, the master plays from the controller's MASTER out and the phones from its headphone socket (its MASTER LEVEL and HEADPHONES LEVEL knobs set them). Unplug it and the outputs chosen before come back. Menu Controller > Controller sound chooses this: Auto (as above), Manual (the controller's Master and Phones are in Audio outputs to choose; nothing switches by itself) or Off (the sound stays on the Cardputer).
| Control | Does |
|---|---|
| PLAY, CUE, SYNC | As on the keyboard |
| Jog side | Bend a playing deck; search a paused one |
| Jog top, touched | Bend harder; search a paused one |
| SHIFT + jog | Skip whole beats |
| TEMPO | Tempo (picks up once it reaches the deck's tempo) |
| Faders, TRIM, EQ, FILTER, crossfader | As on screen |
| Headphone CUE | That deck in the phones (SHIFT: the master in the phones) |
| Pads, HOT CUE mode | Set / jump to hot cues A-D; SHIFT + pad clears |
| Pads, AUTO or MANUAL LOOP mode | Loop on/off, half, double; SHIFT: back / forward 4 beats |
| BROWSE turn / press | Open the library, move, open a folder (SHIFT: back) |
| SHIFT + BROWSE turn | Master level (the controller's MASTER LEVEL knob only works on its own outputs) |
| Push + turn BROWSE | Phones volume |
| Hold BROWSE | Leave the library |
| FX1 / FX2 buttons 1, 2, 3 | The effect set in menu Controller on deck A / B (press the lit one again: off) |
| FX1 / FX2 knob | The effect's volume: the bottom 5% is off, turned up more |
| SHIFT + FX1 / FX2 knob | The effect's own control (below); a new effect starts at its default |
| LOAD | Load the selected track on that deck |
Menu Controller > FX button 1-3 sets which effect each button gives (z / c to change; saved). Defaults: JET, CRUSH, ALIEN. Or on the controller: hold an FX button and press another one on the same deck. The list of all 50 effects opens for the button you held: turn BROWSE to choose, FX button 1 (or BROWSE press) picks it and switches it on, FX button 2 backs out.
| Effect | What it does | SHIFT + knob |
|---|---|---|
| JET | Jet flanger sweeping by itself | Feedback |
| ZIP | Slows the record down (volume = how far) | Slower or faster |
| WAH | Resonant filter | Low-pass (down) or high-pass (up) |
| ECHO | 3/4-beat echo; off: it rings out | Feedback |
| CRUSH | Fewer bits, lower sample rate | How hard |
| TRANS | Cuts the sound on the beat | 1/2 to 1/16 beat |
| PHASER | Four-stage phaser sweeping by itself | Feedback |
| ROLL | Repeats the part from when it went on (or the knob came up) | 1/16 to 1 beat |
| ALIEN | Ring modulator, a sci-fi voice | Pitch |
| FILTER | Gentle filter | Low-pass (down) or high-pass (up) |
| DELAY | Beat delay, a few repeats; off: it rings out | 1/4, 1/2, 3/4, 1 or 2 beats |
| DUB ECHO | 3/4-beat echo, darker each repeat | Feedback |
| SPIRAL | Short repeats building up | 1/16 to 1/2 beat |
| REVERB | Reverb; off: it rings out | Room size |
| FLANGER | Flanger swept on the beat | Cycle: 1 to 16 beats |
| NOISE | Filtered white noise | Tone |
| PITCH | Pitch shift | -1 to +1 octave (default +6 semitones) |
| ROBOT | Ringing metal voice | Pitch |
| BRAKE | The record slows to a stop (the deck plays on underneath) | 0.3 to 3 s |
| BACKSPIN | The record is thrown back and runs down | How long |
| REV ROLL | ROLL played backwards | 1/16 to 1 beat |
| HPF ECHO | Echo, thinner each repeat; rings out | Cutoff |
| LPF ECHO | Echo, darker each repeat; rings out | Cutoff |
| CRUSH ECHO | Echo, more crushed each repeat; rings out | How hard |
| PING PONG | Echo bouncing left and right; rings out | 1/4 to 1 beat |
| TAPE ECHO | Tape echo: wobbly, warm; rings out | Feedback |
| UP ECHO | Each repeat higher; rings out | 1 to 12 semitones |
| DOWN ECHO | Each repeat lower; rings out | 1 to 12 semitones |
| REV DELAY | Repeats come back reversed; rings out | 1/2, 1 or 2 beats |
| TREMOLO | Level pulsing on the beat | 4 to 1/4 beat |
| AUTOPAN | Sound moving left and right on the beat | 4 to 1/4 beat |
| FILTER LFO | Low-pass sweeping on the beat | 4 to 1/4 beat |
| NOISE LFO | Noise sweeping on the beat | 4 to 1/4 beat |
| CHORUS | Thick, doubled sound | Depth |
| DISTORTION | Overdrive | Drive |
| GATE COMP | Down: gate (quiet parts cut); up: compressor | Gate or compression |
| SPACE | Big room; rings out | Darker (down) or thinner (up) |
| SWEEP | Down: gate; up: band-pass | Gate or band |
| REVERB UP | Reverb shimmering an octave up; rings out | Shimmer |
| REVERB DOWN | Reverb an octave down; rings out | Shimmer |
| SPIRAL UP | SPIRAL, each repeat higher; rings out | 1/16 to 1/2 beat |
| SPIRAL DOWN | SPIRAL, each repeat lower; rings out | 1/16 to 1/2 beat |
| MOBIUS SAW | Flanger rising for ever | 16 to 1 beat a sweep |
| MOBIUS TRI | Flanger rising, then falling | 16 to 1 beat a sweep |
| ENIGMA JET | JET with an octave-up copy | Feedback |
| MT DELAY | Taps at 1/4, 1/2, 3/4 and 1 beat; rings out | Feedback |
| SLICER | The 2 beats from when it went on, cut in 8 and reordered | Pattern (5) |
| REV GRAIN | The sound reversed in pieces | 1/8 to 1 beat |
| FORMANT | Vowel filter, a talking sound | A, E, I, O, U |
| RISER | Thins the bass and sweeps noise up over 1 to 8 bars | 1, 2, 4 or 8 bars |
The sampler pads and the MASTER LEVEL, PHONES LEVEL and headphone MIX knobs are not used (they send nothing to ZeroJ).
Any class-compliant USB MIDI DJ controller can be taught. Plug it in, then menu Controller:
- Set up controller: ZeroJ asks for each control in turn (PLAY, CUE, SYNC, SHIFT, headphone CUE, jog, jog touch, volume, EQ, gain, tempo, filter, FX buttons and knob, hot cues, loop buttons for each deck; then crossfader, BROWSE and LOAD). Press, move or turn it. c skips one the controller hasn't got, z goes back, esc saves what was learned and stops.
- Test controller: shows what each control sends and the job it has. Nothing acts on this page.
- Edit mapping: enter learns one control again, z clears it, c turns a knob, fader or jog the other way. The top line forgets the controller (on a DDJ-SB2: back to its built-in map).
A learned controller does everything listed for the DDJ-SB2 above, and its buttons light where they light from the same note. Its sound card is used as the DDJ-SB2's is: with 4 channels, master on 1/2 and phones on 3/4; with 2, the master only.
| Setup | How |
|---|---|
| Bluetooth speaker | Pairing mode on the speaker, then menu Bluetooth > Bluetooth audio: On/Off to on, Scan, choose the speaker, Connect |
| USB headphones or sound card | Plug it in. It gets the cue (keys 1, 2, 3) |
| One pair of headphones, no USB card | Headphones in the jack, menu Headphones > Split cue: L cue / R master or L master / R cue (each ear in mono); stays off while the master is on Bluetooth |
| Bluetooth master, jack cue | Menu Outputs > Audio outputs: set Phones to Line Out. Bluetooth is heard later than the jack |
The built-in speaker and the jack cannot play at the same time (a plug in the jack cuts the speaker off).
![]() Headphones > Split cue |
| Menu | Does |
|---|---|
| Record mix | The master to a WAV file; again: stop |
| Record video | Screen and mix to an MP4 file; again: stop |
| Recording > Record start | Start now, on play, or after a delay |
Saved files are in ~/djmix, shown as Recordings in the library (n renames; z / c load
the WAV to a deck).
Many systems let only an administrator mount a drive for an app started from the launcher. ZeroJ never asks for your password; it shows the command to run. Each time, in a terminal:
sudo mount -o ro /dev/sda1 /mnt
(use the device name ZeroJ shows), then open the drive in the library. sudo umount /mnt clears it
after unplugging.
Or allow it permanently, once. This lets members of the plugdev group mount drives without a
password, from any app, not only ZeroJ. Paste into a terminal:
sudo tee /etc/polkit-1/rules.d/49-usb-mount.rules >/dev/null <<'EOF'
polkit.addRule(function(action, subject) {
if (subject.isInGroup("plugdev") &&
(action.id == "org.freedesktop.udisks2.filesystem-mount" ||
action.id == "org.freedesktop.udisks2.filesystem-mount-other-seat")) {
return polkit.Result.YES;
}
});
EOF
To undo: sudo rm /etc/polkit-1/rules.d/49-usb-mount.rules
Menu Performance:
| Item | What it does |
|---|---|
| Real-time | Shows whether the sound thread has real-time priority. If "no", the app picks the biggest buffer, unless you have chosen one |
| Safe buffer | Bigger rides out longer stalls; the keys are heard a little later |
| LAN / Wi-Fi / Bluetooth while DJ | Switch a radio off while the app runs; it comes back when the app ends. "n/a": your system does not let a normal user switch it |
- Switching off the network you use to reach the device cuts that connection.
- If the app was ended by pulling the power, Wi-Fi may stay off: open ZeroJ and quit it, or turn it on in the system settings.
- Do not copy files to or from the device while mixing.
- Menu Bluetooth > BT buffer: a bigger value may ride out Bluetooth gaps. It takes effect after Bluetooth audio restarts (restart the device).
- A USB drive may not mount for the app on some systems; see above.
python3 -B build_deb.py --zig PATH_TO_ZIG
Plain Python plus Zig for the four aarch64 binaries; no dpkg needed. The package
is written to dist/.
| Folder | Holds |
|---|---|
src/app |
The app (Python) |
src/native |
C sources: audio engine, HDMI output, screen drawing, HDMI mirror |
src/files |
Launcher entry, icon, README and copyright that go into the package |
listing |
App store text and pictures |
docs |
Pictures for this page |
MIT, see LICENSE.

























