midi messages to VST plugin
Hello,
I have this patch that I'm working on, in which I open a sampler(Kontakt 3) with several instruments as VST plugin. My question is if it's possible to send separated midi messages to each individual instrument in the sampler. Currently I'm using the "midievent" message, which sends the message to only one at a time.
Thanks,
Guy
not sure what you mean by seperated.
"midievent 145" will send to midi channel 2 if that is what you want.
and to trigger voices of 2 channels at once can be done
by just sending a note to both channels.
WOW.. this is exactly what I was looking for.
Now I'm using "midievent 144" and it sends it to channel 1. You say "midievent 145" sends it to channel 2 and so on?
So great.
Thanks.
unless it has changed in max 5, which i´d doubt. this 144
shit is coming from old operating systems/midi data.
144 is 90 in hexadecimal and means port 1 channel 1 unless
your midi device or operating system does not have "port 1"
because of some custom setup.
the [vst~] objects midievent message and vst 2.1 plug-ins
also use this system.
i am using
[+ 143]
[prepend midievent]
so that i can just feed "1"-"16".
-110
.
That's a great idea. And works perfectly BTW.
Thanks so much.
Quote:144 is 90 in hexadecimal and means port 1 channel 1 unless
your midi device or operating system does not have "port 1"
because of some custom setup.
It's just the way MIDI messages work.
0x9_ is the MIDI message that means note on, it is constructed by prepending 0x9 to the MIDI channel (4 bits). After this byte follow the note number and the velocity.
144 = 0x90 means "Note On" on channel 1
...
146 = 0x92 means "note on" on channel 3.
0xd_ means control change and should be followed by the controller number and its value. For instance
176 = 0xd0 is the MIDI message that means "Control change" on channel 1
0xd1 0x07 0xff means: set controller 7 on channel 2 to 127.