Hi,
I am trying to make a very simple plugin that uses values from a few sliders to generate MIDI CCs that are passed to the host which outputs them to a piece of hardware. I understand that in order to “output” MIDI messages from a plugin, you need to create a copy of the buffer received from the host, add your messages and then pass this back to the host. This works fine with MIDI note messages but does not seem to work with MIDI CCs. I have looked at all of the tutorials and have only been able to find examples adding note messages to the buffer e.g. the arpeggiator tutorial. I feel like there should be a straightforward way of doing this that I am missing, any ideas? I’ve tried VST and VST3 with Reaper as the host. Another further question, should I be selecting “MIDI effect plugin” or “Plugin outputs MIDI” in the projucer settings?
Thanks very much in advance for anyone who can help me with the this.