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

gui

#1

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?


#2

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


#3

Thanks for the help.