This class mimicks the interface of MIDIOut, so you don`t have to send raw MIDI messages.
Every VSTPluginController instance has its own VSTPluginMIDIProxy instance that you can access with VSTPluginController: -midi.
It is used internally by Pbinds of Event type \vst_midi
(see VSTPluginController: Sequencing), but it can also be used for playing a VSTi with a MIDI keyboard, for manually scheduling MIDI events in a Routine, etc.
See VSTPluginController: VST Instruments for some usage examples.
\midi
Event type. Instead, use the dedicated \vst_midi
Event type mentioned above.All methods have a corresponding *Msg
version which returns a raw OSC message, so they can be scheduled as bundles.
chan |
the MIDI channel |
note |
the pitch |
veloc |
the velocity |
The pitch argument does not have to be an Integer, it can also be a fractional value (= microtonal)!
Tip: SFZ samplers like sfizz or sforzando do support microtonal playback.