How to alternate a Subpatch/Bpatch
Hello. My problem is draft in the title anyways but, you know I actually want to Create a Set of Objects/Abstractions/'modules'(kind of confused about the correct terms here) and a Master Patch in which I can choose in locked mode what patches are Loaded, and also use presets for these configurations. Of course it would be nice if these Abstractions could communicate with each others, maybe linked through a Matrix object.(Send and receive are not useful i think, because if i want to load a patch twice, e.g. twice the same Oscillator there would be collisions, right?) So I imagined the Output of the sub patch to update corresponding to what sub patch i choose. But when i create a kind of shell for my subpatches and try control it with "pcontrol" and the load message, the loaded patch opens in a new window and the Output of my shell doesnt correspond to the loaded patcher's of course, since it's still just the empty shell with just an inlet object inside. Another interseting thing would be to load different patches into a Bpatcher. (?)
Sorry if this is an old thing to you, or I've overseen it in the Documentation, which is likely. Thanks for any replies.
Woyteg
Have a look at this example on Leafcutter John's share page. It uses [bpatcher] objects and scripting to load whichever files you want. Another way to go is using [poly~] objects as you can replace the contents without disrupting the DSP processing. This is perfect if you're working with audio and want your patch to run smoothly even when you're editing the module order. Have a look at the "DynamicPoly" subpatch in the [poly~] helpfile for more information. Hope this helps.
lh
This seems to be exactly what i was looking for,
Thanks a lot!