Exposing plugin parameters to AudioProcessorGraph


#1

When using an AudioProcessorGraph in a VSTi plugin, is there a way to expose the plugin’s parameters that the graph loaded to the AudioProcessorGraph itself?

In other words, can a AudioProcessorGraph somehow retrieve a list of parameters from a plugin instance?


#2

AudioProcessorGraph::getStateInformation()

Rail


#3

Thanks, Rail - But how does that give me the parameters?


#4

It fills a MemoryBlock which you can save and then use to set the parameters back using setStateInformation()

To understand the contents of the MemoryBlock you’d need to know the format/structure that the plug-in uses.

Rail


#5

Ah…I can save and restore the plugin state just fine. What I want is access to the individual parameters for automation…etc.


#6

Check out all the parameter methods in the AudioProcessor class.

Rail