Easy way to store "non" GUI parameters in "user presets"?
-
I don't know if I use the right words in the headline but...
What I want to do is to have settings stored in the user presets, parameter settings for Midimuters and other modules, that is not visible or connected with objects in the GUI.
How do I do that? -
I wanted the same thing :) there is a really long thread about this somewhere. You can create a hidden panel and store an object with all the settings as the panel's value. or you can do what I ended up doing which is to create a separate file that contains an object with all of the settings. Whichever method you choose to store your data you then need a function (or several) that takes the data and sets your various modules when a preset is loaded.
-
@d-healey Ok, I'll do a search for it, however it seems a bit complicated as you describe it. (Hope not :) )
I've been using Hise for a couple of weeks now ( I love it) and it seems I use write more and more code, and more seldom use the inbuilt connections 'cause I want to do more and more complicated stuff..haha..well it's my own fault I guess :) -
@ulrik It seemed complicated to me at first but it's not too bad. Here's one thread on the subject - https://forum.hise.audio/topic/52/variable-persistence. There's another one somewhere but this should get you started.
-