AudioProcessorParameter examples/tutorials?

I’m trying to rewrite a VST 2 MIDI mixer automation plugin as a JUCE AudioPlugin. I’m currently trying to figure out how to use parameters. AudioProcessor does have a setParameter function, but it is deprecated, and I’m utterly clueless where I can find resources regarding them. The getParameters function returns an empty array, so I’m assuming I have to set it up myself.

That would be possible, since it satisfies the API, but very error prone. But the recommended way is to use addParameter or ideally AudioProcessorValueTreeState.

Have a look at those two tutorials:
https://docs.juce.com/master/tutorial_audio_parameter.html

https://docs.juce.com/master/tutorial_audio_processor_value_tree_state.html

1 Like

Thanks! Greatly appreciated!