Any VST experts, let me know what you think about this. I’m new to VST plugins so if this sounds retarded let me know:
I want to apply a VST filter effect to several stereo audio streams (lets say 6 or 7 unrelated stereo pairs). Most of these filters are 2 input / 2 output. So if I want to filter 5 streams I have to create 5 instances of the plugin and run a stream through each one.
But how to handle the parameters? I want them to be the same. So the user will be presented either with a generic parameter panel, created by calling routines like AudioProcessor::getNumParameters(), or I will allow the VST plugin to pop its user interface via AudioProcessor::createEditorIfNeeded().
However, this presents a problem. Which of the 5 instances do I pop the interface for? And after the parameters are changed how do I set them on the other instances? How will this work if the plugin pops its own interface? Can I just loop over all the parameters and call pluginCopy->setParameter( index, originalPlugin->getParameter (index)) ?