Using a VST instrument in max5/sending midi note data?

    Dec 09 2009 | 5:13 pm
    I'm abit confused about how you send MIDI note data to a vst~ where you are using an instrument rather than a VST effect to process audio. Is this possible? Is it just a case of sending raw midi data to a 'prepend midievent' object into vst~ ?

    • Dec 10 2009 | 6:43 am
      in max4 it is not supportet, in max5 you might just try it and see if it works.
      i know that there are exceptions, but if a vst 2.1+ effect plug-in has midi input then often is it for "regular" parameters, which can also be adressed as such in [vst~], i.e. "7 0.1".
    • Dec 10 2009 | 1:13 pm
      hi you have to send the message midievent $1 $2 $3 $4 $1 is the channel number (beginning at 144 = channel 1) $2 is pitch value (0-127) $3 is velocity value (0-127) I don't know what is $4 but I always set it to 0 it works this way with most of virtual instruments in Max
    • Dec 16 2009 | 2:31 am
      thanks I will try this out
    • Feb 10 2010 | 1:09 am
      I've tried this out, but it seems like a lot of work to get notes into a vst instrument. I managed to get single-note recognition but it will take more time to add polyphony. Has anyone built a robust NoteInput object that will achieve this and/or an object that will allow my to play a vst instrument with MIDI controller? I'm not satisfied with either the Rewire or Soundflower option for the realtime software I'm trying to make that includes playback from Kontakt2
    • Feb 10 2010 | 1:21 am
      Try the patch below, assuming the vst instrument is polyphonic you shouldn't have any problems.