Dynamic bpatcher / bpatcher-style poly~

David Butler's icon

Is there a way to have a bpatcher dynamically load patches, in a way similar to that where patches can be dynamically loaded into a poly~?

I'd like to do this in preference to building everything in a single bpatcher and using a window offset, as it would allow modular expansion by users of the patch.

Roman Thilenius's icon

you can re-script the bpatcher.

vichug's icon

think we went into a similar problem some time ago... only way to do that seems to script-recreating the bpatcher, as Roman says, and it was quite a mess, cause we had to re script each connection and it took quite some time creating a whole thing, so bad for the "dynamical" part.
But it seems to be better to send "replace {withthispatch}" to a named bpatcher through a thispatcher. It might be quicker. Maybe what Roman intended :]

David Butler's icon

Thanks for that, the replace method works nicely.