Documentation

User manuals

These manuals cover the four applications in this repository. Three are frontends over the same five reverse-engineered eJay *.MIX formats; the fourth converts individual .PXD samples to WAV. None of them modifies the eJay data under disks/.

applicationsource entry pointbinarywhat it doesmanual
EMP CLIapps/emp/src/mixplayer.pyemp-cli.exeplay a mix, or render a bar range to WAVemp-cli.md
EMP TUIapps/emp/src/mixtui.pyemp-tui.exethe same player as an interactive terminal UIemp-tui.md
EMR CLIapps/emr/src/mixrender.pyemr-cli.exerender arrangements as PNG track gridsemr.md
PXD to WAVapps/pxd2wav/src/pxd2wav.pypxd2wav.execonvert one .PXD sample, or one bundle record, to a WAVpxd2wav.md

The format specifications live under reverse/; the reverse/<tree>/mixdump.py dumpers and the libs/pxd codec CLI are developer/research tools rather than end-user applications and are documented in the root README and each tree's README.md.

Supported formats

Every application detects the format from the two-byte signature at the start of the file. The two command-line applications also accept --format <id> to skip detection; the TUI detects the format of each file it lists. The ids are:

--formatproductsignaturetracksbar lengthtempo
danceDance eJay 1.x0x0A06875 600 samples140 BPM
raveRave eJay 1.x0x0A07858 800 samples180 BPM
hiphopHipHop eJay 1.x0x0A088110 250 samples96 BPM
dance2Dance eJay 20x0A191675 600 samples140 BPM
technoTechno eJay 20x08891675 600 samples140 BPM

Bar lengths are at 44.1 kHz. The three 1.x formats use a 702-bar grid and count bars from 0; the two eJay 2 formats are section sequences and count bars from 1. Track numbers on the command line are always 1-based.

Requirements

  • Python 3.14 for source runs.
  • numpy for the player applications and the .PXD converter, which all share the codec.
  • sounddevice for live playback only. WAV export and PNG rendering work without it.
  • textual for the TUI only. The two command-line applications do not need it.
  • tkinter for the converter's window, and tkinterdnd2 for its drag and drop. A headless conversion needs neither.

The renderer and the parsers it imports are standard-library only. There is no installation step: run the scripts from a source checkout, or use the packaged binaries.

eJay data

The audio and songs are not part of this repository. A source run expects the five installations at:

disks/Dance_eJay/     disks/Rave_eJay/     disks/Hiphop_eJay/
disks/Dance_2/        disks/Techno_eJay/

The applications find that folder by walking up from their own source file (for a packaged build, from the executable), so the current working directory does not affect data lookup. Set EJAY_DATA_ROOT to the repository root or to the disks folder itself to override the search — the packaged binaries in particular need this when the eJay data is not beside the executable.

Only the trees you use have to be present: a missing tree simply means its songs are not found. Data is read-only; no application writes under disks/.

Conventions common to all manuals

  • Relative output paths (out.wav, --out out/images) are resolved against the current working directory.
  • A song argument may be a path or a bare song name. A bare name is resolved against every present tree's MIX folder, with or without the .MIX suffix; a name that exists in more than one tree is reported as ambiguous until --format names the tree or a path disambiguates it.
  • Exit status 0 means success. A non-zero status is an error and is reported on stderr; the exact codes are listed in each manual.
  • All four applications report version 1.0.0.

Generated from docs/README.md