vst~; ctlin; midievent messages; reload presets

Mar 24, 2009 at 8:45am

vst~; ctlin; midievent messages; reload presets

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

greets
tiago

#42990
Mar 24, 2009 at 12:04pm

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

#154058
Mar 25, 2009 at 11:14am

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

#154059
Mar 25, 2009 at 11:51am

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.

#154060

You must be logged in to reply to this topic.