dynamic GUI

Jun 16, 2011 at 10:43pm

dynamic GUI

dear advanced patchers.

I have spent some troublesome time while performing my current live set.
I find my GUI, with tons of number boxes, umenus, and comments, more and more distracting. (scrolling up and down with mouse is the worst you can do when performing!)

It would be very helpful if, Max can dynamically show ONLY what I control at the moment and hide the others. Say, I tweak a knob for a filter cutoff, then the GUI will display only associated number boxes and comments. Like the filter section of my GUI.

Is it possible? I know it’s always better to come up with some patch, but being a inexperienced max user, it’s difficult to start somewhere.

Any ideas?

thank you very much.

#57648
Jun 16, 2011 at 10:50pm

In the common box attributes, hidden :
hidden : int default.:0
-> Toggles whether an object is hidden when the patcher is locked.

#206571
Jun 17, 2011 at 2:28am

Here’s what I do, it’s a great trick that I use all the time in my UIs:

encapsulate things in bpatchers. Give those bpatchers scripting names.

Now, you can make buttons, linked to a message, linked to ‘thispatcher’ (on the same layer as the bpatchers, not within). Within that message box type ‘script bringtofront bpatcherX’ where ‘bpatcherx’ is the name of the control you want to bring forward.

Now you can lay all your bpatchers on top of one another, and use your switchbay (or MIDI device, or whatever you want to trigger it) to swap between them. As long as all your ‘layers’ have a script that calls them, you don’t have to worry about jumble!

Here’s an example.

– Pasted Max Patch, click to expand. –
#206572
Jun 17, 2011 at 11:47am

FANTASTIC!!!
I haven’t imagined that it could be so easy and straight-forward!
Thanks a lot!!!

#206573
Jun 18, 2011 at 1:27pm

You might want to look in to using [bpatcher] with the “offset” message. Have a look in [patcher more] in the [bpatcher] helpfile for an example using [tab] too.

#206574

You must be logged in to reply to this topic.