Cabbage Logo
Back to Cabbage Site

Trying to create a virtual MIDI controller (solved)

Hi! I’m a completly noob with Cabagge. It’s an amazing software.

I’m trying to make a virtual MIDI controller VST plugin. I want to send MIDI CC to another VST plugin or MIDI hardware. I need a Cabagge plugin with some sliders sending CC. I think this is easy, but I can’t do It. I was searching examples, but I can’t find an example with one slider sending a MIDI CC (a very simple thing).

What opcode I need to use? Midiout or outkc?

Can anyone explainme how to do this? Or where can I find an example for do this?

Thanks in advance!

Try this example.

CCOut.csd (763 Bytes)

MIDI out examples are still relatively rare but for the most part, they seem to work as expected. The simple example posted here just send CC message to channel 1. I used the midiout opcode which seems appropriate for this kind of thing. I’ve tested it within Cabbage, and I can intercept the CC messages in another instrument so long as I patch the MIDI output from one to the other.

1 Like

Thanks very much! Let’s work! :grin::+1:

Thanks, thanks, thanks very much!!! That’s exactly what I was looking for, and works perfectly. Awesome! Regards!!

Great. I’ll rif4t up the code and add it to the examples :wink:

1 Like

Very good idea. Thanks again! :grin:

I will be very happy making a virtual MIDI controller with Cabbage.

Is it possible to send out cc data from effect VST ? or it has to be an instrument VST ?

I think it has to be an instrument if I remember correctly. Is that an issue? Or can you work around it?

I want to use audio signal as midi data but i think i can find a way to do it in instrument VST, thanks rory

1 Like