IMidiMapping parameter being absorbed

SDK for VST 3 audio plug-in and host development.
Post Reply
Posts: 11
Joined: Tue Dec 11, 2018 10:19 am

IMidiMapping parameter being absorbed

Post by signalsmith »

I have an effect which has one of its parameters linked to CC-64 (pedal), by default (using IMidiMapping). It works fine, but it seems to absorb this pedal controller, so later effects in the chain don't see it.

How do I stop this from happening? I want the effect to read the pedal, and allow later effects to *also* read it.

AFAIU, I shouldn't re-emit MIDI legacy events because (aside from feeling like a grody hack), the link to CC-64 is only a default hinted by IMidiMapping. The user could configure this parameter to come from elsewhere, and I certainly don't want to generate new MIDI events.


Arne Scheffler
Posts: 383
Joined: Mon Jun 20, 2016 7:53 am

Re: IMidiMapping parameter being absorbed

Post by Arne Scheffler »

So if you do not use the IMidiMapping the plug-ins later in the chain get the sustain pedal? By the way, which host are you talking about.
The SDK does not dictate how the event flow is happening in the host.

Post Reply