Preset Browser
-
How do you guys make a preset browser, that actually load the instrument/fx the end-user chooses.
Thanks in advance...
-
@jay Only way currently is to use the built in preset floating tile. The API methods are currently broken.
-
@d-healey I try that but it doesn't load the preset
-
@jay What do you expect to happen? and what actually happens?
-
@d-healey I'm trying to switch between presets
-
@jay That tells me nothing :p A preset only saves the position of the controls on the user interface, is that what you are expecting and is that not happening?
-
@d-healey on an FX, yes exactly, but about an instrument how to make them switch instrument s.
-
@jay I'm not sure what you're referring to. The user preset that you can save in the preset browser is not the same as the HISE project file (which confusingly is also called a preset). All that will be restored when you load a preset is the controls on the front interface of your instrument. If you want to load different samples then you have to write to script to load the samples when the preset is loaded.
It would be nice to see this added to HISE as a default feature since it's a common need to load different samples with different presets but I don't think this is likely to happen anytime soon if at all.
-
@d-healey (It would be nice to see this added to HISE as a default feature since it's a common need to load different samples with different presets but I don't think this is likely to happen anytime soon if at all.)
that's a shame because that's exactly what I need.
-
@jay It's not that difficult to code it youself. You just need a switch statement. Grab the name of the preset then load the correct sample maps based on which preset was selected.