I’ve already implemented savePluginState() and loadPluginState(), but now I’m trying to figure out how to allow the user of my plugin to save and load custom presets.
If I understand correctly, setCurrentProgram() should be used for this, right?
One thing that’s confusing me is, should preset saving/loading operations always be triggered from the host, or should the plugin’s GUI itself include controls for these things?
In Ableton, there are little “save preset” and “load preset” buttons but I’m not sure if every host has this functionality.
Would the “load” button here trigger a call to setCurrentProgram()? Which function would the “save preset” button call – would that be getCurrentProgram()…?
Thanks for your help!