Opening Patches within other Patches

Horizontal's icon

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!

Luke Hall's icon

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

Horizontal's icon

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

Horizontal's icon

Hmm... That is also a really good idea.

Tj Shredder's icon

baz wrote on Mon, 18 May 2009 07:22I'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

Horizontal's icon

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%...