Not sure if this is the right place for this, but I’ve been scratching my head the last few days trying to control the LED pads on my Novation Launchkey Mini. I should have all the pieces to figure this out, but I just can’t quite put them together.
Here’s what I’ve found:
Matthew Ragan shows you how to light the LED lights with a similar Novation product
youtube.com/watch?v=AG6lbXVl_bE
When I use my controller to launch clips in Ableton, I hit a button that puts it into “inControl” mode, which is associated with ‘Midi Port 2’. Here’s some more information:
[i]These messages need to be sent to the InControl MIDI Port, ie. The MIDIIn2 Port.
Steps to control the LEDS:
-
Put the unit into ‘InControl’ Mode by sending to MIDI Port 2: 90h, 0Ch, 7Fh
-
Set PAD1 LEDs to Orange by sending on MIDI Port 2: 90h, 60h, 33h
-
Set PAD1 LEDs to Red by sending on MIDI Port 2: 90h, 60h, 03h
-
Set PAD1 LEDs to Green by sending on MIDI Port 2: 90h, 60h, 30h
[/i]
(right click and say view image in new tab, it gets cut off for some reason)
And then a snippet from the derivative page about Midi Out
send(message1, message2…)
Send a sequence of bytes through this CHOP.
Messages can any combination of strings, byte arrays, or individual single-byte numeric values.
To serialize non-byte values (example floats or integers) there are several python modules to do this, such as pickle or struct.
Returns none.
n.send(0xb0,0x2f,0x40) #Control Change : Channel 1, Index 48, Value 64
sendExclusive(message1, message2…)
Send a sytem exclusive message through this CHOP. The System Exclusive start and end charecter are added to the message.
Messages can any combination of strings, byte arrays, or individual single-byte numeric values.
To serialize non-byte values (example floats or integers) there are several python modules to do this, such as pickle or struct.
Returns none.
n.sendExclusive(0xb0, ‘abc’ ,0x40) # Send a system exclusive message consisting of a start byte, 0xb0, ‘a’, ‘b’, ‘c’ (as ascii), 0x40, and an end byte.
So basically I need to somehow send that code to turn on ‘inControl’ through the Midi Out chop to my controller on port 2 before I can do anything. I also haven’t been able to find any documentation on how you can use python commands with a mid out CHOP. If you have experience with this controller or midi out, or can figure out how I could accomplish this I would really appreciate it. I can’t move forward with this project until I figure out the LED’s.