How do I make an audio plugin's GUI slider retain it's state?

I can make an audio plugin parameter retain it’s value by using getStateInformation() and setStateInformation(); But how do I make an audio plugin’s GUI slider retain it’s state also?

Generally, you need to update your sliders from your audio parameters.

One way is shown in this tutorial:
https://juce.com/doc/tutorial_audio_processor_value_tree_state

1 Like

Thanks for the help.