I have a synth plugin and up until now, I’ve been handling MIDI CC data by looking up what parameter is controlled by that particular CC# and then doing a
param->setValueNotifyingHost((float)controllerValue / 127.0f);
This has been working just fine. But now I have a user running Cubase on a Mac that says my plugin is “generating MIDI data” when he plays back a track with MIDI CC data controlling a parameter.
I KNOW that my plugin does not have a MIDI out, but I’m wondering if I’m generating that MIDI data by calling setValueNotifyingHost()?
So, is that the correct way to handle MIDI CC data inside the plugin? If not, I assume that I should then be changing the value of the parameter without notifying the host? And if that’s correct, how? There doesn’t seem to be a setValueWithoutNotifyingHost(), as setValue() is just a virtual function.
More info: It seems that Logic does not exhibit this behavior. But then again, he’s shown me the same example of other plugins not creating MIDI data like mine does in Cubase.
I feel like I’m missing something.