multiple "interfaces" / bpatcher and offset

coffeencigs's icon

hey guys...

in the help file it says you can use tab object for multiple interfaces
thats what i want to do.. but i have no idea how to..

i remember a patch that had it.. it was a bpatcher inside the presentation and the guy used offset messages to scroll through the bpatcher..

problem is i cant remember what patch it was...

but lets say my patch is done, i could load it in a bpatcher in a new patch and add the bpatcher to presentation mode...

i suppose my bpatcher needs an inlet to receive the offset messages, but wich object has to receive it inside the bpatcher?

or am i all wrong and there is a much simpler way to acheive this?

thank you very much

llumen's icon

[thispatcher]

seanzshow's icon

Hi,

Load your Bpatcher into a new patch and save it. Also add a Thispatcher object with its own inlet
(You can use more than 1 Bpatcher if you line them up together.)

Load this new patch into your main patch as a Bpatcher so you have your original Bpatcher nested inside the new one.

The inlet which is connected to the Thispatcher object should receive an "offset $1(x) $2(y)" message which can be used to scroll around the Bpatcher

You will have to figure out the range by trial and error depending on how big your window is.

Also there is an option in the Bpatcher inspector to enable scroll bars if thats easier.

Hope that helps

Chris Muir's icon

The bpatcher help file has examples of this.

pid's icon
Max Patch
Copy patch and select New From Clipboard in Max.

paste, then switch to presentation mode...

seejayjames's icon

or use a single-screen bpatcher, but have (say) 8 copies, laying on top of each other. then use "script bringtofront bpatcher[1]" [2] [8] etc. to [thispatcher]. So you can use a set of controls for each of 8 audio channels (for example) and they would only take up the space of one. the [tab] would switch between which one is on top, and therefore which is currently clickable.

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

Just don't have any semi-transparent objects in the bpatch, the UI from lower in the "stack" will show through... unless of course you want that, like with multiple filtergraphs or something, which is cool too. The example below is kind of fun to mess with even though the filtergraphs don't do anything...yet...

EMV's icon

For me, putting stuff on top of each other makes it very annoying to edit the patch, because in order to get to an object (change something in the inspector, or make a connection), you either have to move all of the others away, or bring the one you want to the top first.

The offset-method within a bpatcher is nicer imo.

vjandrea's icon

Sorry for the newbie question, but in max 5 i can't find the thispatcher object. Where can i find it? Docs of bpatcher say that thispatcher doesn't exist anymore, anybody can help?
thankyou!
andrea

Chris Muir's icon
Max Patch
Copy patch and select New From Clipboard in Max.

thispatcher exists. Could you have another file in your search path called thispatcher.* ?