Control Rekordbox stems on two decks from a single Akai LPD8 MK2 — dedicated pads for stem on/off and knobs for stem isolation — with RGB LED feedback that Rekordbox doesn't provide natively.
Watch here >
Tested with Rekordbox 7.2.14.0323. (Run rb-lpd8-led-bridge -version to see the build and tested Rekordbox version.)
Two pieces wire it up:
- The Rekordbox MIDI mapping (
lpd8-led-bridge/Rekordbox_midi_import_LPD8_mk2_dual_map.csv) routes the LPD8's pads and knobs to each deck's stem functions. - The LED bridge (
rb-lpd8-led-bridge, a Go program inlpd8-led-bridge/) lights the pads to reflect stem state. It only reads the LPD8's own MIDI, so it avoids feedback loops with Rekordbox.
One LPD8 drives both decks. The top row of pads/knobs controls Deck 1, the bottom row controls Deck 2:
LPD8 MK2 — one unit, two decks
K1 K2 K3 K4 ← Deck 1 isolators + reset
Vocal Ins/Bass Drums RESET
K5 K6 K7 K8 ← Deck 2 isolators + reset
Vocal Ins/Bass Drums RESET
┌─────┬─────┬─────┬─────┐
│ 5 │ 6 │ 7 │ 8 │ Deck 1 stem on/off
│ Voc │ Ins │ Bas │ Drm │ (notes 40-43, blue LEDs)
├─────┼─────┼─────┼─────┤
│ 1 │ 2 │ 3 │ 4 │ Deck 2 stem on/off
│ Voc │ Ins │ Bas │ Drm │ (notes 36-39, amber LEDs)
└─────┴─────┴─────┴─────┘
┌─────────────┐ ┌──────────────────┐ ┌─────────────┐
│ LPD8 MK2 │────▶│ rb-lpd8-led-bridge│───▶│ LPD8 LEDs │
│ (pads/knobs)│ │ Local State │ │ (SysEx) │
└─────────────┘ │ Tracking │ └─────────────┘
└──────────────────┘
This bridge does not intercept MIDI messages from Rekordbox. Instead, it tracks pad presses and knob moves locally:
- When you press a pad (or turn a knob) on the LPD8, the bridge updates the LED state
- Rekordbox receives the same MIDI, so the LEDs and Rekordbox stay in sync
What this means:
- If you change stems from within Rekordbox's UI (mouse/keyboard), the LPD8 LEDs won't update
- If the LEDs ever drift out of sync, use the master/reset knob (see LED Behavior) or restart the bridge
This design avoids MIDI feedback loops and works reliably with Rekordbox's MIDI implementation.
.
├── video/ # demo / overview footage
└── lpd8-led-bridge/ # LED feedback program (Go) + Rekordbox assets
├── main.go
├── config.json
├── build.sh
├── notarize.sh
└── Rekordbox_midi_import_LPD8_mk2_dual_map.csv
One LPD8 controls stems on both decks. The Rekordbox MIDI mapping routes pads/knobs to each deck's stem functions; the bridge (Part 2) drives the LED feedback. Rekordbox does not light the pads itself.
lpd8-led-bridge/Rekordbox_midi_import_LPD8_mk2_dual_map.csv maps the LPD8 to both decks:
| Control | Maps to |
|---|---|
| Top pads (notes 40–43) | Deck 1 stem on/off — Vocal, Inst, Bass, Drums |
| Bottom pads (notes 36–39) | Deck 2 stem on/off — Vocal, Inst, Bass, Drums |
| Top knobs (CC 70–72) | Deck 1 stem isolators — Vocal, Inst, Drums |
| Bottom knobs (CC 74–76) | Deck 2 stem isolators — Vocal, Inst, Drums |
To import it:
- Connect the LPD8 mk2 and quit any other app using it.
- In Rekordbox, open Preferences → Controller → MIDI.
- Select LPD8 mk2 from the device dropdown.
- Click Import and choose
Rekordbox_midi_import_LPD8_mk2_dual_map.csv. - Make sure MIDI is enabled for the device.
Rekordbox stores MIDI mappings as CSV and exposes Import/Export on this screen, so you can re-import this file any time the mapping gets reset.
| Control | MIDI | Rekordbox function |
|---|---|---|
| Pads 5–8 | Notes 40–43 | Deck 1 stem on/off (Vocal, Inst, Bass, Drums) |
| Pads 1–4 | Notes 36–39 | Deck 2 stem on/off (Vocal, Inst, Bass, Drums) |
| Knob 1 | CC 70 | Deck 1 Vocal isolator |
| Knob 2 | CC 71 | Deck 1 Inst isolator |
| Knob 3 | CC 72 | Deck 1 Drums isolator |
| Knob 5 | CC 74 | Deck 2 Vocal isolator |
| Knob 6 | CC 75 | Deck 2 Inst isolator |
| Knob 7 | CC 76 | Deck 2 Drums isolator |
Pads are on channel 10, knobs on the global channel. Rekordbox exposes Vocal/Inst/Drums isolators (there's no Bass isolator), so the LED bridge lights the Bass pad alongside Inst from the same knob. Knobs 4 and 8 (CC 73 / 77) aren't mapped in Rekordbox — the LED bridge uses them as an all-lights reset.
Program the LPD8 MK2 with Akai's editor so it sends pads on notes 36–43 / channel 10 and knobs on CC 70–77 / global channel — that's what the mapping above expects:
| Control | Setting |
|---|---|
| Pads 5–8 | Notes 40, 41, 42, 43 |
| Pads 1–4 | Notes 36, 37, 38, 39 |
| Knobs 1–8 | CC 70–77 |
| Pad channel | 10 |
| Knob channel | 1 (global) |
The LPD8 MK2 has RGB LEDs on each pad, but Rekordbox doesn't drive them. rb-lpd8-led-bridge tracks pad presses and knob moves locally and sets the LEDs over SysEx:
- Top row blue = Deck 1 stems, bottom row amber = Deck 2 stems
- Pads latch on/off; isolator knobs fade each stem's LED brightness
- The last knob of each row is a hot-path reset — full = all on, zero = all off — for when the LEDs drift out of sync
Download the .zip for your Mac from the project's GitHub Releases page and unzip it:
rb-lpd8-led-bridge-darwin-arm64.zip— macOS Apple Siliconrb-lpd8-led-bridge-darwin-amd64.zip— macOS Intel
The binaries are signed and notarized by Apple, so they run without the "unidentified developer" warning (the first launch does a quick online Gatekeeper check). Then make it executable: chmod +x rb-lpd8-led-bridge-darwin-arm64.
Windows: a rb-lpd8-led-bridge-windows-amd64.exe may be attached to a release (built per Building Releases). It is not code-signed yet (signing pending), so Windows SmartScreen will warn — click More info → Run anyway. You can also build it yourself (./build.sh <version> windows, or run build.sh on a Windows machine).
Requirements:
- Go 1.22 or later
- C compiler (for rtmidi CGO dependencies)
- macOS: Xcode Command Line Tools (
xcode-select --install) - Windows: MinGW-w64 or MSYS2
- Linux:
build-essentialpackage
- macOS: Xcode Command Line Tools (
cd lpd8-led-bridge
go build -o rb-lpd8-led-bridge .
# Or use the build script (sets the version string)
./build.sh 0.1# from the lpd8-led-bridge folder, after building (see Installation)
./rb-lpd8-led-bridge -config config.jsonAt startup all stems are lit — Deck 1 blue (top), Deck 2 amber (bottom) — and the bridge then tracks every pad press and knob turn locally. Turn a stem's isolator knob fully down and that pad goes dark; the knob takes precedence, so pressing the pad won't relight it until you bring the knob back up.
If the LEDs don't respond, the LPD8 may expose more than one MIDI port — see One LPD8, Two Decks to pin the right one with -out-index.
# List available MIDI ports
./rb-lpd8-led-bridge -list
# Run with the bundled config
./rb-lpd8-led-bridge -config config.json
# Or point at the LPD8 by name directly
./rb-lpd8-led-bridge -out "LPD8 mk2"| Option | Description |
|---|---|
-config FILE |
Load configuration from JSON file |
-out "PORT" |
MIDI output port name for LPD8 (overrides config) |
-out-index N |
MIDI output port index from -list (overrides -out; for identifying units) |
-genconfig FILE |
Generate default config file and exit |
-list |
List available MIDI ports |
-test |
Test LED colors |
-version |
Print version (and tested Rekordbox build) and exit |
-debug |
Enable verbose debug logging |
The output device can also be set inside the config file (device.out_port / device.out_port_index), so the config is self-contained. Resolution order: -out-index → -out → device.out_port_index → device.out_port.
Rekordbox can't distinguish two identical LPD8s, so a single LPD8 controls both decks: the top pad/knob rows are Deck 1, the bottom rows are Deck 2 (see LED Behavior). Rekordbox routes each deck by note/CC, and the bridge just tracks all 8 pad LEDs plus the six isolator knobs.
./rb-lpd8-led-bridge -config config.json
⚠️ A single LPD8 MK2 can expose more than one MIDI port (e.g.-listmay show two entries both namedLPD8 mk2). If the LEDs don't respond, find the port that actually drives them and pin it in the config:./rb-lpd8-led-bridge -list # note the output port indices ./rb-lpd8-led-bridge -out-index 0 -test # which index lights the pads? ./rb-lpd8-led-bridge -out-index 1 -testThen set
device.out_port_indexinconfig.jsonto the index that worked.
One LPD8 drives both decks. The pad and knob rows are split: top = Deck 1, bottom = Deck 2.
KNOBS K1 K2 K3 K4 ← Top knobs = Deck 1 stem ISO/fade
K5 K6 K7 K8 ← Bottom knobs = Deck 2 stem ISO/fade
(per deck: K1=Vocal, K2=Inst+Bass, K3=Drums, K4 unused)
PADS ┌─────┬─────┬─────┬─────┐
│ Voc │ Ins │ Bas │ Drm │ ← Top row (Blue) = Deck 1 stem On/Off
│ NT40│ NT41│ NT42│ NT43│
├─────┼─────┼─────┼─────┤
│ Voc │ Ins │ Bas │ Drm │ ← Bottom row (Amber) = Deck 2 stem On/Off
│ NT36│ NT37│ NT38│ NT39│
└─────┴─────┴─────┴─────┘
| Action | Result |
|---|---|
| Startup | All stems ON — Deck 1 (top) blue, Deck 2 (bottom) amber |
| Press a pad | Toggle that stem's on/off LED, in its deck colour (independent latch) |
| Knob to 0 | The stem LED(s) that knob drives turn OFF |
| Knob above 2 | Those stem LED(s) turn ON, brightness scales with value, keeping the deck colour |
| Reset knob (last of each row) | Knob 4 (CC 73) resets the top row (Deck 1), knob 8 (CC 77) the bottom row (Deck 2) — full = that deck's stems on, zero = off. A hot-path resync if the LEDs drift. |
The master knobs (knob 4 / knob 8) aren't mapped in Rekordbox, so they only affect the bridge's LEDs — handy as a dedicated resync that doesn't touch the audio.
Each pad latches independently. The knob keeps the pad's row colour (blue for Deck 1, amber for Deck 2) — turning a Deck 2 knob dims/brightens its amber pad, it does not turn it blue.
Three isolator knobs cover four stems; the middle knob drives the two middle pads:
| Knob | Stem(s) | Deck 1 (top, CC) → pads | Deck 2 (bottom, CC) → pads |
|---|---|---|---|
| Knob 1 | Vocal | CC 70 → 40 | CC 74 → 36 |
| Knob 2 | Inst + Bass | CC 71 → 41, 42 | CC 75 → 37, 38 |
| Knob 3 | Drums | CC 72 → 43 | CC 76 → 39 |
Knobs 4 and 8 (CC 73, CC 77) are unused.
Generate a default config with -genconfig config.json:
{
"lpd8": {
"top_row": [40, 41, 42, 43],
"bottom_row": [36, 37, 38, 39],
"knobs": [70, 71, 72, 73, 74, 75, 76, 77],
"channel": 10,
"knob_channel": 0,
"knob_max": 127,
"master_knobs": {
"73": [40, 41, 42, 43],
"77": [36, 37, 38, 39]
}
},
"device": {
"out_port": "LPD8 mk2",
"out_port_index": null
},
"knob_to_pad": {
"70": [40], "71": [41, 42], "72": [43],
"74": [36], "75": [37, 38], "76": [39]
}
}| Field | Description |
|---|---|
lpd8.top_row |
MIDI notes for top row pads (blue LEDs) |
lpd8.bottom_row |
MIDI notes for bottom row pads (amber LEDs) |
lpd8.knobs |
CC numbers for knobs 1-8 |
lpd8.channel |
MIDI channel for pads (1-16) |
lpd8.knob_channel |
MIDI channel for knobs (0 = all channels) |
lpd8.knob_max |
CC value the knob emits at full travel — mapped to full LED brightness. LPD8 knobs send the full 0–127, so the default is 127; lower it only if your knob tops out early (find its max with -debug). |
lpd8.master_knobs |
Reset knobs: each CC → the pad notes it drives together (full = those stems on, zero = off, in between = dimmer). Default scopes knob 4 (CC 73) to the top row and knob 8 (CC 77) to the bottom row, so each resets one deck. |
device.out_port |
Output port name to match (substring); used when out_port_index is null |
device.out_port_index |
Output port index from -list (anchored to a USB slot); distinguishes identical units |
knob_to_pad |
Which pad LED(s) each knob CC drives (list — one knob can drive several) |
Restart the bridge to reset to default state:
# Ctrl+C to stop, then restart
./rb-lpd8-led-bridge -out "LPD8 mk2"- Ensure the LPD8 is connected and powered on
- Check that no other application has exclusive access to the MIDI port
- On macOS, you may need to enable the IAC Driver in Audio MIDI Setup
- Verify the port name matches exactly (use
-listto check) - Test with
-testto cycle through colors - Ensure your LPD8 is in the correct program/preset
- The LPD8's pad notes may differ from defaults if reprogrammed
- Use a MIDI monitor to check what notes your LPD8 sends
- Update the config file to match your LPD8's programming
The brightness scales the knob's full-travel value (lpd8.knob_max) up to full LED brightness. If the fade tops out dim, your knob's max is lower than knob_max; if it slams to full early, it's higher. Find the real value:
./rb-lpd8-led-bridge -config config.json -debug
# turn a stem knob fully up and read the highest "Knob CC..=N" valueSet lpd8.knob_max to that N and restart — no rebuild needed.
./rb-lpd8-led-bridge -out "LPD8 mk2" -debugThis shows verbose logging of pad presses, knob changes, and LED state changes.
rtmidi uses CGO, so each target needs a matching C/C++ toolchain. Run these from the lpd8-led-bridge/ folder.
# macOS: builds BOTH darwin/arm64 and darwin/amd64 and stamps the version
./build.sh 0.3
# Creates: releases/rb-lpd8-led-bridge-darwin-arm64
# releases/rb-lpd8-led-bridge-darwin-amd64
# Windows amd64, cross-compiled from macOS/Linux (needs mingw-w64):
brew install mingw-w64 # macOS (Debian: apt install gcc-mingw-w64)
./build.sh 0.3 windows
# Creates: releases/rb-lpd8-led-bridge-windows-amd64.exe
#
# Or just run ./build.sh 0.3 on a Windows machine.Windows code signing is pending. The Windows
.exeis not yet signed, so SmartScreen / "Windows protected your PC" warnings are expected — users click More info → Run anyway. Authenticode signing + reputation is planned for a future release. (macOS builds are signed and notarized — see below.)
Note: The macOS versions are notarized already in the releases. No security warnings etc will bug you. Not the case for Windows. That will be done later.
So macOS users can run the download without the "unidentified developer" warning, sign and notarize the Mac binaries with notarize.sh. Requires an Apple Developer account and a Developer ID Application certificate.
One-time: store an Apple credential in a keychain profile (uses an app-specific password → Sign-In & Security):
xcrun notarytool store-credentials rb-lpd8-notary \
--apple-id "you@example.com" --team-id "TEAMID" --password "app-specific-password"Then, after build.sh:
./notarize.sh # signs (hardened runtime + timestamp), zips, submits to Apple, waits
# Produces: releases/rb-lpd8-led-bridge-darwin-arm64.zip
# releases/rb-lpd8-led-bridge-darwin-amd64.zipA bare CLI binary can't be stapled (only .app/.dmg/.pkg hold a ticket), so Gatekeeper verifies the notarization online the first time the binary runs — no xattr workaround needed.
releases/ is git-ignored — upload the notarized .zips as GitHub Release assets:
gh release create v0.2 releases/rb-lpd8-led-bridge-darwin-*.zip --title "v0.2" --notes "..."- Akai LPD8 MK2
- Rekordbox (tested with 7.2.14.0323)
- macOS for the prebuilt LED bridge (build from source for Windows — see Building Releases)
MIT License
- gomidi/midi — Go MIDI library
- rtmidi — cross-platform MIDI I/O
- lpd8mk2sysex — LPD8 MK2 LED SysEx documentation
