Plan on implementing and porting VST3 getMidiControllerAssignment()?


#1

Hi jules,

 

Any plan on porting the VST3 API getMidiControllerAssignment() to audio processor class in VST3 wrapper cpp?

So that we can make the midi cc to parameter mapping easily..

Or do you have any suggestion that we could elegantly override and implement this in our audioprocesser subclass for the moment?

 

Thanks.

The current codes in vst3 wrapper cpp 
//==============================================================================

    tresult PLUGIN_API getMidiControllerAssignment (Steinberg::int32 busIndex, Steinberg::int16,

                                                    Vst::CtrlNumber midiControllerNumber,

                                                    Vst::ParamID& id) override

    {

        //TODO

        id = 0;

        return kNotImplemented;

    }


#2

VST3 requires the MIDI CC stuff to be transmitted as parameters (hence the ParamID parameter in that function). This is no easy feat!


#3

Yes, jules has already overridden it, but left a TODO comment.. which is where to do the mapping.


#4

I’m well aware!

The issue is how to go about it without messing anyone’s plugin up. There has been a lot of demand for it on the forums; if I ever get a spare moment I might go and implement it.


#5

How about an option where extra parameters are created for all MIDI CCs, pitch bend and aftertouch, and the VST3 wrapper converts those incoming parameters to MIDI and sends them to the pluginInstance?  Then the plug-in would receive CCs as usual.  Would that work or is there something I'm missing?