Suppose I want to create a multi-channel gain plugin. The same plugin should support Mono, Stereo, 5.1, etc. The glorious function of this marvelous plugin is to provide one gain slider for each audio-channel and it also exposes one plugin parameter for each of those sliders. The parameters are named “Left Gain”, “Right Gain”, etc. according to getChannelTypeName().
Is it possible to implement this? I guess I’m asking if it’s safe/valid to call addParameter() after a channel layout has been chosen and if there’s a function like audioIOChanged() I can hook into.
thanks & best,