Issue with StuffMIDIMessage and Korg nanoKontrol2
I know there are some very good solutions for nanoKontrol2 and Reaper but I'm experimenting with scripting, etc.
From what I can tell this command should light up the REW button on the nanoKontrol2 but I can't get the buttons to light up:
reaper.StuffMIDIMessage( 17, 191, 43, 127)
My device is id 1 (so 17 = external midi dev 1)
According to the MID implementation doco I found, lighting up the REW button I should send a 3-byte message of BF 2B 7F, where 2B is the button and 7F is "light on" command. I converted those 3 codes to integers of 191 43 127.
I've tried a bunch of variation including loops to send
The lights are working fine. I've also tried with "sendmidi" command line tool to rule out a Reaper environmental issue.
I was hoping it's something simple and someone can tell me why it won't work.
Thank you!!
|