Saving and accessing presets
-
I saved a few presets as xml files for my project. How do I setup a browser to access them from the vst3 loaded into a daw?
-
@pcs800 preset and xml files are different
XML
is for saving your Hise project (there's also a way to save it as.preset
.hip
(Save Archive
from theFile
menu) but I discourage using it, except for AutoSave).preset
files that are created with the preset browser are the actual user presets you need.
So in order to load them from within your plugin, you need to insert aFloating Tile
in your interface that you set toPreset Browser
from its property calledContentType
-
@pcs800
Also, make sure to tick 'Embed User Presets' in the settings. This ensures that when you ship the plugin, it includes the presets and automatically extracts them to the user's presets folder. -
@ustk Excellent, thank you!
So now how do I save presets with it?
It has a search field and a save button which doesn't seem to do anything. -
@pcs800 Click
Add
in the Preset Browser to save a new preset
Save
is for saving the preset that is currently loaded -
@ustk Oh boy, my fault. I had the browser tile very short, and the "add" option was hidden. Thank you again
-
@ustk How would I show and hide the preset browser with a button?
It's pretty big and if visible all the time, would take up too much space. -
@pcs800 You can set the visible property in the button's callback
-
@d-healey I don't know what callback means.
I know I can set the visibility in the preset browser properties window.
How would I use a button to alternate the browsers visibility? -