midiflush and vst~


    Jul 31 2012 | 10:55 pm
    As the title stated I’m having trouble using a midiflush object with vst~. The included example is what I’ve cobbled together from the vst object help patch, but I don’t know where midifush would go here. Am i going about this wrong? Should I be using noteout to control a vst instrument and if so, how?
    Thanks for the help..

    • Aug 01 2012 | 3:11 am
      I meant makenote, not noteout...sorry.
    • Aug 01 2012 | 8:39 am
      I think [zl group 4] in your example is wrong and should be replaced by [zl group 3].
      Btw, makenote ensures sending note-off messages, so why using midiflush?
    • Aug 01 2012 | 3:00 pm
      Here's how I would do it.
      If you want to send notes to different channels on your vst, a midievent starting with 144 is a note on on channel 1, 145 is a note on on channel 2 etc.
      You can send an 'All notes off' message to VST itself to clear stuck notes (I'm pretty sure you can still get them using makenote!),
      Cheers
      Roger
    • Aug 01 2012 | 3:15 pm
      Thanks to both of you! Looks like Rogers solution will work.