simpler: I wants to send 2 different Midi Control Numbers to a VST

hgh's icon

Hi,

i only wants to send 2 Midi-Controll numbers to a VST. Whats the way? I only are able to send only one Midi-Control number to a VST. Not 2 at the same time...

Best,
hgh

Christopher Dobrian's icon
Max Patch
Copy patch and select New From Clipboard in Max.

I'm not sure what problem you're experiencing. It should be no problem. Are you doing something like this? (Load in any MIDI synth VST plug-in, and you should be able to modify its modulation and volume.)

hgh's icon

Yeah, it seems to work. Is the message: "midievent 176 1 $1" the converter-Message for Control-Change message? Is that the same as using ctlout 1 ?

Thank You,
hgh

Charles Baker's icon

midievent is the correct way to send midi communication to a vst~ object, and any vst plug loaded within.
Please look at the vst~ object helpfile, and maybe even the full document, linked from the helpfile.
Another good piece of advice: option-click (open help file) on any object the first time you use it, and often until you have fully learned it, :)

for each type of midi data there is a 'type' number: CC's are 176, followed by cc#, ccvalue, 144s are noteons...
etc.
Dr. Dobrian's patch is a good one as a example.
Of course it works, by the way, Chris teaches this stuff for a living...
good luck!

cfb aka j2k

hgh's icon

Hi,

now i´ve created a patch with the following attention:

I wants to send Values to a Midi-Port / Midi-device.... to control an hardware Synthesizer from Max...
But the Midi-Device/port can´t receive any Midi-Control-Values... Is that the right way?

Max Patch
Copy patch and select New From Clipboard in Max.

This is my patch:

AudioLemon's icon
Max Patch
Copy patch and select New From Clipboard in Max.

I think the objects you are missing are [ctlin] and [ctlout].