Skip to content

Commit 0199889

Browse files
committed
Add sysex messages that make the button LEDs work
(Suggested by @cokeramirez)
1 parent 4bd9e2f commit 0199889

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

res/controllers/Numark-Party-Mix-MKII.scripts.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,13 @@ NumarkPartyMix.init = function(_id, _debugging) {
5151
NumarkPartyMix.browse = new NumarkPartyMix.Browse();
5252
NumarkPartyMix.gains = new NumarkPartyMix.Gains();
5353

54-
// 0x00 0x01 0x3F is Numark mfg. ID used in SysEx messages.
55-
midi.sendSysexMsg([0xF0, 0x00, 0x01, 0x3F, 0x38, 0x48, 0xF7]);
54+
midi.sendSysexMsg([0xF0, 0x00, 0x20, 0x7F, 0x03, 0xF7], 6);
55+
midi.sendSysexMsg([0xF0, 0x00, 0x20, 0x7F, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0xF7], 12);
56+
midi.sendSysexMsg([0xF0, 0x00, 0x20, 0x7F, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0xF7], 12);
57+
58+
NumarkPartyMix.heartbeatTimer = engine.beginTimer(250, function() {
59+
midi.sendSysexMsg([0xF0, 0x00, 0x20, 0x7F, 0x05, 0xF7], 6);
60+
});
5661
};
5762

5863
NumarkPartyMix.shutdown = function() {

0 commit comments

Comments
 (0)