Forums > MaxMSP

vst~; ctlin; midievent messages; reload presets

Mar 24 2009 | 8:45 am

hi people..

I have a doubt, which is out to get a ctlin to control vst~ parameters in a midievent message.. I have an idea, of how to do it.. but I am not completely sure of how to do it, and which values do I need to doing so..


Mar 24 2009 | 12:04 pm

the process required is basically stripping the controller number off the midi parameter, divide [/ 127.], and [prepend] the disired vst parameter number to it.

Mar 25 2009 | 11:14 am

thanks.. I already knew that method.. I just thought that it was possible to do that thing with a midievent message

Mar 25 2009 | 11:51 am

I thought so too. If you pack the control number/value, of the ctlin, and send it to a [midiformat] object (third inlet), along with the channell nuber (last inlet), send the [midiformat] outlet to a [zl stream 3] object whose output you send to the vst inlet (prepended with "midievent", of course). Seems to work for me (and you can use midiin through zl stream to send all incoming data to the vst).

Maybe I’m really mistaken though.

Viewing 4 posts - 1 through 4 (of 4 total)

Forums > MaxMSP