Plugin Presets (Saving - Loading)


#1

Hello,

Currently in my plugin I can move around the parameters and save them. I give the settings a name I chose and then I can completely modify everything, when I retrieve the settings I saved before (through a combo box) everything loads correctly.

What I want to do is to be able to close the DAW session, and when I load my plugin, have the list of settings I saved before in the last session. So each name on the list would have a settings configuration of the parameters.
Could someone please give me some guidance on how could I do this? I am a bit lost on how to save and load settings.

Thanks.


#2

Hi.

You need to use ApplicationProperties, one way to use it is like this:

myApplicationProperties::getInstance()->getUserSettings()->setValue
			(<key>, <value>);

I think the JuceDemoPlugin saves it’s last position that way, check it out.