The DJ
Music in the footer while you work. Search and play a track, tune a radio station, or produce a loop, with title, artist and key on the deck.
The DJ plays music inside 8gent. It lives in the footer as 8GENT FM and opens into a deck that shows what is playing.
Set up
The DJ uses four small tools. Install them once:
brew install mpv yt-dlp ffmpeg sox # macOS
sudo apt install mpv yt-dlp ffmpeg sox # Debian, UbuntuOn Windows, the same tools come from Scoop: scoop bucket add extras; scoop install mpv yt-dlp ffmpeg sox.
/dj doctor shows which of them it can find.
Play
/dj play boards of canada roygbiv # search and play a track
/dj radio jazz # tune an internet radio station
/dj produce house # generate a 60-second loop locallyRadio presets: lofi, chill, jazz, classical, rock, metal, edm, techno, house, dnb, hiphop, ambient, and more. /dj presets lists them all. Anything else is searched as a station name.
The deck
While a track is loaded the deck shows the title, the artist, elapsed and total time, volume, and the track's key:
Key: A minorwhen the source names itKey: A minor (est.)when 8gent estimated it from the audio, locallyKey: unknownwhen the estimate is too weak to trust. It never guesses
Update to get this
The title, artist and key readout needs a current release. Run 8gent update; see Install.
Ctrl+D collapses the deck to one line and back. Your choice is remembered. /dj close and /dj open do the same.
Commands
| Command | What it does |
|---|---|
/dj play <query> | Search and play |
/dj radio <genre or name> | Internet radio |
/dj produce <genre> | Generate and loop a track |
/dj pause, /dj resume, /dj stop | Transport |
/dj skip | Next in the queue |
/dj np | What is playing, as text |
/dj vol <0-100> | Volume |
/dj loop | Repeat the current track |
/dj queue <query> | Add to the queue |
/dj dl <url> | Download a track |
/dj bpm <file> | Detect tempo |
/dj mix <a> <b> [seconds] | Crossfade two tracks |
/dj doctor | Check the tools |
Keys
| Key | What it does |
|---|---|
Ctrl+Shift+P | Play or pause |
Ctrl+Shift+N | Next |
Ctrl+Shift+B | Previous |
Ctrl+Shift+M | Mute |
Ctrl+Shift+Up, Ctrl+Shift+Down | Volume |
Ctrl+D | Expand or collapse the deck |
Focus sounds without the DJ: /adhd lofi, /adhd rainsound, /adhd whitenoise, /adhd stop.