Forums > MaxMSP

Can I have different 'screens' in a patch?

Jul 31 2010 | 2:57 pm

I would like to have different screens in my patch, like a slideshow where each slide represents another set of buttons. I need to put one button that will trigger the next ‘slide’ and show the buttons. I could do it with pictctrl and putting all the pictures on top of each-other but the screen I am using is quite small and it would result in quite a bit of clutter. Any suggestions?

Jul 31 2010 | 4:30 pm

Take a look at the bpatcher object. In particular, the part of the help file labeled "patcher more"

Jul 31 2010 | 8:58 pm

the messages "hidden $1" "ignoreclick $1" to various objects could also help, if you want to do a stack of objects to simulate the slideshow. Also many message to [thispatcher], like bringtofront and sendtoback. If you use bpatchers (which adds files but keeps multiple controls in a single object) then these messages could be used quite well for what you’re envisioning.

If you do have a stack of similar objects, though, probably you’ll want everything fully opaque :)

Aug 01 2010 | 4:08 pm

I had a look at the bpatcher more but I think it is quite cumbersome to have everything in one patch and then having to look at the offsets. Is it possible to put every ‘slide’ in a bpatcher and then control which bpatcher is visble with a tab object?

Aug 01 2010 | 10:41 pm

@ Seejayjames I had a look at an older thread where you explined how to stock up different layers and control them with a tab object. Now, I want to do it with a bpatcher, how do I have to call the bpatchers then? I

Aug 02 2010 | 5:16 pm

The overview patch in the CNMAT MMJ Depot works like this. It is downloadable at:

Aug 02 2010 | 6:20 pm

I just downloaded the CNMAT package, moved all externals to the right folders, but the overview patch does not work (I do not see anything under the tabs) and I cannot edit it. Any help?

EDIT: Ok, managed to open it but I do not get any clearer. I just want 8 bpatchers superimposed, 8 layers. Then I want to be able to send on the the front and the other to the back. is there an easier way then the CNMAT way? I cannotblieve that it ould be that hard.

Aug 02 2010 | 7:36 pm

Line up all your child bpatchers next to each other in a new bpatcher, which we’ll use for scrolling. Embed this "scroller" bpatcher in your parent patch. Now you can send offset messages to the scroller bpatcher to bring different areas of your patcher into view. I use this technique in the top section of my Gyre program.

Aug 02 2010 | 7:49 pm

in 110.modular i use "bringtofront" to [thispatcher] in order to switch
between 8 different patches in fullscreen mode.
it is triggered by buttons which are on all patches or by a key command.
that is fun.


Aug 02 2010 | 9:06 pm

how does this bringtofront message works? I mean :what is the exact syntax I have to use?
Lets say my patcher is named slide1 How does the syntax look like:

Aug 02 2010 | 9:39 pm

that should work, if your bpatcher is named slide1:

script bringtofront slide1
send this message to [thispatcher]


Aug 02 2010 | 9:52 pm

here is the module i use.
make 2-8 patchers, put them to fullscreen and save.

load up one instance of my bpatcher in al of them. preferrably on the same position. :D

hook up the first outlet of my module to a [thispatcher] in your first screen (=patch), the
second in the second and so on.


we´re talking about switching between whole patchers, not a bpatcher _object_.
i think it is actually "front" … see my bpatcher or the reference fpr [thispatcher]

  1. 110.bp.pager
Aug 02 2010 | 9:58 pm

@Roman: I opened your file
I managed to do it with the front message, not bringtofront, and I need to have fullscreen enabled to be able to switch between patches

Aug 03 2010 | 7:05 am

Is there a reason that the offset message doesn’t work for you?

Here’s an example using the offset message.

Aug 03 2010 | 9:31 am

i mislead him because i offered something slightly different from what he was asking for.

Viewing 15 posts - 1 through 15 (of 15 total)

Forums > MaxMSP