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!)

thanks

#47973
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

#172491
Jan 23, 2010 at 5:41pm

145 just means “port 1 channel 2″

#172492
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)?

#172493
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,
etc.

HTH,
PG

#172494
Jan 25, 2010 at 2:44pm

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

#172495
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.

#172496
Jan 25, 2010 at 4:53pm

Summary of MIDI Status & Data Bytes

http://www.harmony-central.com/MIDI/Doc/table1.html

Summary of MIDI Note Numbers for Different Octaves

http://www.harmony-central.com/MIDI/Doc/table2.html

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

http://www.harmony-central.com/MIDI/Doc/table3.html

is a good start to understand midi bytes.

#172497
Jan 25, 2010 at 9:38pm

Very useful. Thanks Julien

#172498

You must be logged in to reply to this topic.