NEON DJ registers aDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/kepabilbao67-bot/musicplayer2/llms.txt
Use this file to discover all available pages before exploring further.
keydown listener on window via window.addEventListener('keydown', ...) that fires on every keystroke while the app is open. The listener immediately checks the focused element’s tag: if the focus is on an <input>, <select>, or <textarea>, the shortcut is skipped so you can still type normally into track search fields or file pickers. As long as no text field has focus, all shortcuts below are active.
Some keys (
Q, P) call e.preventDefault() to avoid triggering browser defaults (e.g. scroll or form submission). The arrow keys also prevent default to stop the page from scrolling horizontally.- Deck A
- Deck B
- Global
All Deck A shortcuts mirror standard DJ controller left-hand positions —
Q/A/Z/S form a vertical column on a QWERTY keyboard.| Key | Action | Technical Detail |
|---|---|---|
Q | Play / Pause Deck A | Calls deckA.toggle(). If stopped, starts playback from current offset. If playing, pauses and stores position. The PLAY button glows green when active. |
A | CUE Deck A | Calls deckA.seek(0), jumping the playhead to position 0:00. If the deck was playing, playback resumes from the start. |
Z | Loop 4 Deck A | Calls deckA.toggleLoop(). First press anchors a 4-beat loop at the current playhead. Second press releases the loop. The LOOP 4 button glows purple while active. |
S | Sync Deck A | Calls deckA.sync(). Matches Deck A’s playback rate to Deck B’s current BPM and aligns the beat phase within the current bar. The SYNC button flashes amber for 600 ms. |
Full Quick-Reference Table
The complete shortcut list at a glance:| Key | Deck | Action |
|---|---|---|
Q | A | Play / Pause |
A | A | CUE (jump to start) |
Z | A | Toggle Loop 4 |
S | A | Sync to Deck B |
P | B | Play / Pause |
L | B | CUE (jump to start) |
M | B | Toggle Loop 4 |
K | B | Sync to Deck A |
← | Global | Crossfader left (−5) |
→ | Global | Crossfader right (+5) |
1 | FX | Riser |
2 | FX | Airhorn |
3 | FX | Impact |
4 | FX | Zap |
5 | FX | Flanger throw |
6 | FX | Tape Stop (all decks) |
7 | FX | Echo throw |
Tips for Live Use
Using SYNC + keyboard for a hands-free mix
Using SYNC + keyboard for a hands-free mix
- Start Deck A playing with
Q. - While Deck A runs, press
Kto sync Deck B’s BPM and phase to Deck A. - Start Deck B with
P. - Slowly fade the crossfader with
→(hold or repeat) to bring Deck B into the mix. - When you’re ready to cut, press
←rapidly to return to Deck A, then stop Deck B withP.
Live hot cue drops
Live hot cue drops
Hot cues are not yet bound to keyboard shortcuts — they require a mouse click on the HOT 1/2/3 buttons. Set your cue points before the live moment, then jump to them with a click during the mix.
FX chain with keyboard
FX chain with keyboard
Trigger a RISER (
1) about 2 seconds before your drop, then fire an AIRHORN (2) or IMPACT (3) right at the peak. While the riser is rising, switch the crossfader with → so the other deck is already in place when the airhorn lands.