From the original SynthMaker forum (2004–2014), with its members’ names and dates.
djaram ·
Hello,
I'm trying to trigger visibility of a module by connecting or not connecting its view to teh GUI (or MGUI).
It works fine when you export it to VST. Because it will trigger by the time you release the mouse button.
ATTENTION: Don't make this mistake that "Trigg will send it's output by the time you realese". It will send the output by the time you click BUT the result will appear on the GUI After you release the mouse and swap pages in SM.
I have tried a similar one to change the color of a rectangle by a knob. Again, unless you don't release the knob the color change will not be transfered to the main GUI.
I'm guessing this has something to do with the high level modules like Knobs, Triggers, Sliders or anything with a independant internal GUI component.
I'm requesting a explanation of how to connect things right to get the realtime results.
djaram wrote: I'm requesting a explanation of how to connect things right to get the realtime results.
I don't have enough time atm to write a detailed example, but do you force a redraw using a Redraw (or RedrawArea) module?!
Shif.
djaram ·
Shifrin wrote: I don't have enough time atm to write a detailed example, but do you force a redraw using a Redraw (or RedrawArea) module?!
no,
I tried once, couldn't find out where to put redraw,
Should it be inside the knob module or inside the main module?
Shifrin ·
djaram wrote: I tried once, couldn't find out where to put redraw,
Should it be inside the knob module or inside the main module?
In the schematic pictured :-
You could add a Redraw module to this, connect the (V)-out from the MGUI to the (V)-in of the Redraw module, then the output from the 'float equals' comparison to the trigger input of the Redraw module. This will cause the whole GUI area to be redrawn when you click the toggle button.
HTH
Shif.
Shifrin ·
You may be interested in the schematic I posted in this thread about tabbed/paged GUI's - it uses the same idea to show/hide pages of the interface 😉
Shif.
djaram ·
Was it that easy ?
Thanks a lot Shif,
and thanks for the thread.
Wrote something here? To have a post removed or your name hidden, write to [email protected].