How to make UserPreset and assign UserPreset to custom button
-
Hi! It might to be pretty simple, but I can't find the solution (because I'm absolutely beginner :) ). How should I make a UserPreset properly? I'd like to use Hise preset system to change articulations in my instrument. If I understand correctly - I can create FloatingTile and choose PresetBrowser, after that save some different presets with all settings I need. After I can make that PresetBrowser invisible, make a custom buttons and somehow assign these buttons with those UserPresets I made before. Or am I thinking wrong? Can somebody help me please how to do that properly?
-
Why do you want to use presets for articulations? Why not use keyswitches or just use a button?
-
@d-healey I think because in my instrument each articulation will have its own settings, effects etc. Every articulation will have at least 2 or 3 samplers (one for main articulation with 6-10 RR and a lot of velocities, one for release triggers and one for sound design patch for that articulation) and it's own pre-configured knobs etc. And I thought it will be simpler for me to save each articulation with its own parameters and samplemaps as UserPreset and than just push the buttons to call them.
-
@nouslou Oh so they're like full patches in their own right. Well you could use the loadPreset function.
-
@d-healey Yes, like full patches. So was my logic right? I mean, I only can use standart PresetBrowser to make and save my preset, right? After that I should use "Engine.loadUserPreset(var relativePathOrFileObject)" in my button callback, right?
-
@nouslou That's the simplest way to do it.
-
@d-healey Thanks a lot, David! Will try that)