Forums > MaxMSP

Opening Patches within other Patches

May 18, 2009 | 3:11 am

Hello, I’m trying to figure out how I could set up a way to open a variety of other patches using one main patch. I’m designing an environment for live performance by creating patches that can interact with each other and controlling which ones are connected to each other with a matrix object. I thought about putting them all in sub-patches but I really don’t want them all to be open and running at the same time. I want to be able to open only the main hub, (with the matrix control) and then be able to selectively open other patches with buttons or something within the main hub. Thanks!



baz
May 18, 2009 | 4:05 am

thispatcher will do the screen management.

http://www.youtube.com/BazTutorials


May 18, 2009 | 4:07 am

The "load" message to [pcontrol] should do what you’re looking for. You could also use the "open" message which will open the [patcher] or abstraction connected to [pcontrol]‘s outlet.

lh



baz
May 18, 2009 | 5:22 am

I’m not sure that loading patches on the fly sounds like a good idea. Why not just enable/disable processing (MSP Tutorial 5) and move the patcher window to front in thispatcher or open it in pcontrol?


May 18, 2009 | 5:32 am

There IS hope for us all… Thanks, that is exactly what I needed.


May 18, 2009 | 5:34 am

Hmm… That is also a really good idea.


May 19, 2009 | 8:00 am
baz wrote on Mon, 18 May 2009 07:22
I’m not sure that loading patches on the fly sounds like a good idea. Why not just enable/disable processing (MSP Tutorial 5) and move the patcher window to front in thispatcher or open it in pcontrol?

There are occasions where it is a good idea, but especially with audio pcontrol is not a good idea. I would load patchers into a poly~, which is possible without interrupting the signal chain…

Stefan


May 19, 2009 | 12:43 pm

Poly~ won’t work because all of the patches I’m trying to interface are different. I actually took Baz’s advice and it is working very nicely. I just use enable messages to pcontrol. This doesn’t stop max processing but it stops MSP so that’s good enough for me. It gets my CPU usage down to 1%…


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