Page 1 of 1

Input Profile Definition and link to Midi Commands in XML File

Posted: Mon Nov 11, 2024 9:55 am
by rainer
Hello,
I made an input profile in order to trigger QLC from Midi commands out of VST-Live.
So far so good. The bad thing is that I have to change these entries. Unfortunately I made lots of entries...
In the input profile XML file I can see the ID, the Name and the Function but not the corresponding Midi event like e.g. "Note on F#"".
I cannot find the link between these information.
So I have to check every single item, click on it and write down the Midi event.
It would be so much easier if I coult find it all together in the input profile XML file or at another place.

Can somebody help?
Thank you in advance!

Cheers, Rainer

Re: Input Profile Definition and link to Midi Commands in XML File

Posted: Mon Nov 11, 2024 12:09 pm
by MichelSliepenbeek
Have a look at the Channels Map at the bottom of this page: https://docs.qlcplus.org/v4/plugins/midi

The range of Midi Notes goes from C-1 (value 129) to G9 (value 256, C4 is the middle value).

So you have to add 129 to the numbers in this table:
MidiNoteNumbers.jpg

Re: Input Profile Definition and link to Midi Commands in XML File

Posted: Tue Nov 12, 2024 9:43 pm
by rainer
Thank you so much!
It was a little complicated because I used Midichannel 16.
So now i calculated as follows:
Midichannel minus 1 (so 16-1 = 15) (why? I don'nt know...)
(15*4096)+(129+Midivalue)
E.G. for C1 it is 129+24=153
(15*4096)+153=61593

C1 at Midichannel 16 = Channelnumber 61593

Cheers, Rainer

Re: Input Profile Definition and link to Midi Commands in XML File

Posted: Wed Nov 13, 2024 9:12 am
by GGGss
rainer wrote: Tue Nov 12, 2024 9:43 pm Midichannel minus 1 (so 16-1 = 15) (why? I don'nt know...)
Midi is 8bit, with the first bit a descriptor for what info is sent. As being binary, it starts at zero. So 0 to 15, whereas midi channels are numbered 1-16. https://en.wikipedia.org/wiki/MIDI#Tech ... ifications