dynamic GUI

milc's icon

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.

tep's icon

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

MuShoo's icon

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!

Max Patch
Copy patch and select New From Clipboard in Max.

Here's an example.

milc's icon

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

Luke Hall's icon

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.