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
the process required is basically stripping the controller number off the midi parameter, divide [/ 127.], and [prepend] the disired vst parameter number to it.
thanks.. I already knew that method.. I just thought that it was possible to do that thing with a midievent message
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.