1. Is changing the number of inputs after loading a plugin something that should technically work?
2. If not, can we specify the number of inputs before loading a plugin?
Someone over on Facebook was asking about using Voxengo's free SPAN plugin in Waveform. It theoretically has multiple inputs and can allow you to view spectrum information for multiple tracks at the same time. Unfortunately, there's something funky about setting the number of inputs. It doesn't update the internal routings within the SPAN plugin. (Actually, it sometimes does but goes in the opposite direction.)
The plugin validator is able to see the optional buses (VST 2.4 version of SPAN)
Code: Select all
Starting test: pluginval / Listing available buses...
Inputs:
Named layouts: Mono, Stereo, LCR, Quadraphonic, 5.0 Surround, 5.1 Surround, 7.0 Surround, 7.1 Surround
Discrete layouts: Discrete #1, Discrete #2, Discrete #3, Discrete #4, Discrete #5, Discrete #6, Discrete #7, Discrete #8
Outputs:
Named layouts: Mono, Stereo, LCR, Quadraphonic, 5.0 Surround, 5.1 Surround, 7.0 Surround, 7.1 Surround
Discrete layouts: Discrete #1, Discrete #2, Discrete #3, Discrete #4, Discrete #5, Discrete #6, Discrete #7, Discrete #8
Main bus num input channels: 1
Main bus num output channels: 1
All tests completed successfully
So my questions (simplified above) are:
Does the VST spec allow for the changing of inputs, meaning the Voxengo plugin just isn't coded to be able to handle changing inputs properly?
Is there a way to specify the inputs when a plugin is loaded? It looks like FL Studio loads SPAN with max inputs and then just ignores most of them unless I decide to use the extra input. It looks like Waveform loads SPAN with a default layout that includes one stereo input.
Do we have examples of plugins that handle input changes correctly? It looks like Waveform's Racks have the ability to change the inputs for a plugin but so far I've only tried SPAN and it doesn't seem to work.
If changing the inputs is part of the VST spec, is it in both VST 2 and VST 3?
