How would I go about making a preset menu


#1

shifting back and fourth between presets. Being able to save and write presets, recalling presets from a folder. Any open source examples?


#2

I figured it out I have an old project where I did it now i have to go back and look ill post my findings


#3

My 5 cents: Take a look at the code that saves the audio parameter values in the host in the plugin example code included with JUCE. The parameter values can be exported to XML and writing XML to a file is straightforward using JUCE classes. Just make sure that you read/write the preset files and parse the xml in a separate thread instead of blocking the User Interface or the Audio Callback (e.g. processBlock) threads . I find ThreadPool very useful to handle these threads in a sequential way to avoid issues.