midievent messages to VSTi

Jan 23, 2010 at 5:20pm

midievent messages to VSTi

Anyone know what message(s) I need to send to vst~ for pitchbending a vsti?

And while I’m at it, is there a list somewhere of what all the different messages are? I know [144 $1 $2] ’cause it’s in the help docs, but I’ve never found a comprehensive list of what else the other messages are. (I think 145 is note on channel 2 yes? Worked that out once by trial and error!)


Jan 23, 2010 at 5:25pm

I don’t know about pitchbending. I guess it depends of your vsti. Send a “params” message and check out which one controls the pitchbend.

About notes message :

144 = channel 1
145 = channel 2…
$1 = pitch
$2 = velocity

Jan 23, 2010 at 5:41pm

145 just means “port 1 channel 2″

Jan 23, 2010 at 6:15pm

Does that mean that midievent is only for note on/off? or do numbers other than 144 and up do something (along with their appropriate additional variables)?

Jan 24, 2010 at 1:00am

Look at [midiparse] maxhelp and you’ll find {midievent 224 $1 $1} for the pitch-bend.
224= chan 1,
225= chan 2,


Jan 25, 2010 at 2:44pm

Thanks Phil – that’s _exactly what I’ve been looking for (for ages!).

Jan 25, 2010 at 3:41pm

the 144 alone doesnt do anthing, it is just the channel.

which is why it is followed by arguments for note and velocity. :)
it is just analog to how midi data looks, except that device model and device ID is missing.

Jan 25, 2010 at 4:53pm

Summary of MIDI Status & Data Bytes


Summary of MIDI Note Numbers for Different Octaves


Status Bytes 176-191; Control and Mode Changes (per channel)


is a good start to understand midi bytes.

Jan 25, 2010 at 9:38pm

Very useful. Thanks Julien


You must be logged in to reply to this topic.