Make Parameter of Child AudioProcessor automatable by host?


#1

Hey all,

I’m working on a plugin that uses multiple AudioProcessors to handle processing. Each AudioProcessor is a member object of the main PluginProcessor class, and each has a set of AudioProcessorParameters stored in an AudioProcessorValueTreeState. At this point everything is working fine, but I can’t seem to figure out how to make the parameters of the child AudioProcessors visible and automatable by the host. Is there a way of doing this?

Thanks!


#2

Does the number and configuration of the member AudioProcessors change? If not, you could add all Parameters to the one “master” AudioProcessorValueTreeState and make all member AudioProcessors AudioProcessorValueTreeState::Listener() to that tree. So you can use the same callback if you use the processors in the master one or alone.
Just one idea, there might be more solutions…


#3

Good idea, I’ve been thinking about this the wrong way. That worked with little hassle.

Thanks!