This project has moved. For the latest updates, please go here.

Midi channels

May 21, 2009 at 8:06 PM

Hello,

some more questions:

1. how do you send midi-out data on another channel then channel 1?

2. Is is possible to create a plugin with more than 1 in/output port? e.g. 64 input channels on 4 input ports.

thx

Tuur

May 21, 2009 at 9:21 PM

To answer myself a bit:

I discoverd that it has something to do with the MidiEvent.MidiData byte array. I recorded the output and it show continually:

240
0
0
0

The number 240 changes in 241 (242, 243,..) if i set the channel to 2 (3, 4, ..)

When i press a key on my keyboard it shows:
144
60
100
0

and

144
60
0
0

60 means it's a C4 note. 144 changes in 145 if i set the channel to 2.
So all this numbers have something to do with my question. But what i'm really looking for is some info about what the meaning is of all the number in MidiData. Where can i find that?

kind regards,

Tuur

Coordinator
May 24, 2009 at 11:43 AM

Hi,

Check out Jeff Glatt's site. it contains a pretty good midi spec: http://home.roadrunner.com/~jgglatt/tech/midispec.htm

Multiple ports is not supported by the VST interface, but you could manage them yourself in the plugin (if the host has not opened (locked) them all)..