Add Lumi Keys sysex message support#812
Conversation
|
Awesome! Checkout the support for the synthstrom midi foot controller for inspo, it does some matching with sysex (or maybe usb device ID) |
32dc30e to
892fcb7
Compare
e3fae79 to
a3e195d
Compare
|
While a lot more hook points and functionality could be added, I think I'll stop there. Open to reviews. |
- .clang-format needed changing to align with requirements imposed by github's clang-format One-liner formatting fix.
Further adjustments. Virtual functions are working, now just a matter of finding places to insert hooks and the right way to find the MIDIDeviceUSBHosted from the MIDIDevice.
a3e195d to
595c35b
Compare
m-m-adams
left a comment
There was a problem hiding this comment.
Code looks good! It adds 1.5k of bin size though, left some comments on places I think that can be reduced
The changes I put in this morning (just had time to test this evening and pushed now) should remove the need for some of the lookup tables... I figured out the tables were just mapped to int32_t in 7-bit sysex. |
Resulted in minor decreases in the dev build size, no decrease in the release build size. Haha oh well. |
- Using bit array comparison instead.
m-m-adams
left a comment
There was a problem hiding this comment.
I'm good with this. The bin size increase is slightly undesireable but it's mostly reusable code that can be used for other devices in future, such as supporting MCU compatible mixer controllers or ableton session view controllers
|
Please @litui post a video so we can see this in action! |
|
@soymonitus There's a short reel on my insta https://www.instagram.com/reel/C1DWDk2NPjY/ |
Fleshing out an idea for adding sysex message support for the Lumi Keys Studio Edition when the Deluge is acting as a USB Host.
Everything I'm hoping to do may not be possible but in the process I'm hoping to add a reusable structure for hooking calls (sysex or otherwise) to specific usb devices.
Ideally supported for first attempt: