I’m still experimenting with Juce, and now plugin hosting.
I have set up a simple test using a AudioProcessorGraph and a AudioProcessorPlayer and this is working fine.
You can think of it like the Host demo, with out all the fancy extras.
Now I want to add some properties to each of the processors. Lets say, input gain output gain and some MIDI processing. and maybe getting the VU in and out.
This would require processing “outside” the actual filter, so I need access to the samples going in to the filter and to the samples coming out.
Being a new to this I see two options, creating a new class and inheriting for example AudioPluginInstance, this way I would get access to the virtual method processBlock and should be able to do what I want inside this (Or?). The down side is that I have no idea if this will break something else. Clearly I would not be able to use CreateNewPluginInstance to create the plugin instance. so that prat will need to be rewritten. Are there any other drawbacks, or would it even work?
I could setup additional custom, internal filters before and after each plugin-filter, but that seems a bit messy, as each plugin would actualy be three filters in the graph.
Any input on this would be great.