Launchkey Mini InControl Init Message

Ask a generic question about the usage of QLC+, not related to a particular operating system
Post Reply
Haxxe
Posts: 3
Joined: Mon Nov 25, 2019 12:05 am
Real Name:

Hi,
i would like to use my Launchkey Mini Mk2 to control QLC+.
Usually, you have to use/open Ableton to enable "InControl Mode", then you can use the RGB Pads with QLC+.
I already found out, that when i send a specific Midi Packet using Python, i can activate InControl Mode without Ableton.
But, i dont know how to "convert" this into the Init Message i need for QLC+.

Using Python3:

Code: Select all

>>> import mido
>>> midi_out = mido.open_output("Launchkey Mini LK Mini InControl")
>>> midi_out.send(mido.Message.from_bytes([0x90, 0x0C, 0x7F]))
So i tried adding the bytearray to the Init Message:

Code: Select all

<!DOCTYPE MidiTemplate>
<MidiTemplate>
 <Creator>
  <Author>Haxxe</Author>
 </Creator>
 <Description>Sets the Launchkey Mini MK2 into InControl Mode. This is needed to control the button LEDs.</Description>
 <Name>Launchkey Mini MK2</Name>
 <InitMessage>90 0C 7F</InitMessage>
</MidiTemplate>
But this looks to small for an Initmessage, compared to the others.

So i tried convert it into SysEx and out came:

Code: Select all

 <InitMessage>F0 00 0C 7F F7</InitMessage>
but this didnt work either.

What can i do?
And when gets the Initmessage sent? I selected it in my Inputconfig.
Any help is appreciated, thanks
User avatar
edogawa
Posts: 630
Joined: Thu May 07, 2015 10:34 am
Real Name: Edgar Aichinger

I don't own the device, but from reading the "Launchkey MK2 programmer's reference guide" it seems you're almost, but not completely correct - the message to enter Extended Mode is: Note on(channel 16), key #12, velocity 127, which would equal hex code "0x9F 0x0C 0x7F". A Note On message holds the MIDI channel in the lower 4 bits of its status message, so it should be 0x90 plus channel number. Going back to normal mode would then be achieved by sending "0x9F 0x0C 0x00" accordingly.

I hope this works for you, in any case surrounding this by sysex/end of sysex bytes (0xF0/0xF7) is surely wrong, the manual clearly states Note On.

Oh and it seems you can switch Pot/Slider/Drum Pad sections individually to InControl mode, by replacing 0x0C with 0x0D/0x0E/0x0F respectively.
Haxxe
Posts: 3
Joined: Mon Nov 25, 2019 12:05 am
Real Name:

Hi,
thanks, but i just sold the Launchkey and bought a Lauchpad MK2 instead :D
Its easier without the two Midi Interfaces and it "just works" as of now. I do have some questions but i'll make a new thread about it
Post Reply