How to make plugins launch a set preset. Plugins load empty.
-
very simple. all plugins always load with no preset loaded. i simply want the plugins to load a preset automatically. how do i do that.
-
@mwplugs i know how to create and select user presets. im saying when you launch any hise plugin it loads empty with no preset loaded. i need it to load a preset at launch without having to slect one first
-
@mwplugs
Engine.loadUserPreset()
-
@d-healey ok so simply putting in that code and specifying a preset it will load that at launch correct? what would be the implementation. simply
Engine.loadUserPreset({PROJECT FOLDER/User Presets/Factory Library/Stuff}Default.preset)
?
-
-
Not sure why you want to do that. A user preset is just a collection of interface values and the preset itself already stores the values (so the initial user preset is "embedded" in the instrument).
-
@christoph-hart because when it launches there is nothing at all
-
@christoph-hart any plugin ive ever seen loads with a default preset. thats all im referring to. and that act of something actually being in the preset selection text field. otherwise there is nothing there. and the act of simply having a work there lets people know hey thats where i select presets etc
-
@christoph-hart i understand what the user presets entail i have dug around in the files themeselves obviously its just stored parameters. but i have it figured out. and example is the main one we were working on, when it loads it is on the mix page etc. i simply want to make the default preset be starting points for everything. but the loaduserpreset seems to do that. as long as when the plugin is recalled it doesnt revert to that preset it will work