ShowControl Strange Behaviour
-
Hello Everyone!
Based on this video, when I compile or Select a sound in the browser, The other panel comes out.
I know the issue is mine and code related , but I've been looking where the problem is but I'm not getting it. I just not getting the logic of this behaviourAny help is greatly appreciated.
-
@Sawer Minimal snippet required
-
@d-healey absolutely, will be done.
-
@d-healey I don't know but on the minimal snippet created to send here everything works. only on this projects things are not going as expected. But probably I think is because the code is triggering in an external file instead of the onInit callback.
Will try recreating the whole thing and see..
-
@Sawer Is Hise Recompiling after a preset has been selected?
-
@Sawer said in ShowControl Strange Behaviour:
@d-healey I don't know but on the minimal snippet created to send here everything works.
That's often what happens, that's why it's always good to make a minimal snippet.
Is Hise Recompiling after a preset has been selected?
No
-
@d-healey OK solved, the opacity of the preset browser was a 0. that's why.
I have another 2 problems:
-
When Opening project or xml from scratch in Hise, The name of the preset doesn't show up until I select it on the preset browser or I click the prev/next buttons.
-
I've set the master knob Default Value to 0.5(Parameter editor) so that you once plugin is opened from scratch you dont need to set the volume anytime, Not working. Done the same thing thru code, nothing. Is possible to set the master volume to a certain value the moment the plugin initialises?
Thanks
-
-
-
When Opening project or xml from scratch in Hise, The name of the preset doesn't show up until I select it on the preset browser or I click the prev/next buttons.
Where do you expect it to show up?
Default Value to 0.5
Default value is the value it will go to when you double click it.
Is possible to set the master volume to a certain value the moment the plugin initialises?
Yes, in
on init
you can usemyKnob.setValue()
. Or if the knob is set to save in preset you'll need to use the UserPresetHandler and set it in the post callback (but then there is no reason to have it save in preset). -
@d-healey Ok, great. Thanks