I am using pcontrol to dynamically load patchers into a bpatcher object. when a patcher is loaded, max opens a window with that patcher. Is there any way to disable this, as I’d like for the loaded patcher to simply be displayed in the bpatcher.
Try giving your [bpatcher] object a scripting name and then sending a message like "script sendbox
this works, thanks very much!
i’ve noticed that when loading a patcher there is a noticable freeze in the audio. considering that the patch i am developing is for live use, this isn’t acceptable! is this an avoidable problem? are there any other ways to achieve this?
if it helps, the patcher i am loading in contains an mxj~ object and jsui, alongside a few numbers and a few other objects.
Look to [poly~] for dynamically loading patches without disturbing other DSP processes. It’s mentioned in the "DynamicPoly" subpatch. This won’t display your UI objects in the main patch though so you might want to use both approaches, one for loading in the audio objects and one for the interface. You could use [s] and [r] to communicate between them.
one further point which isnt made explicit in the docs, but is still good to know…
u can set the args for the "scripting named" bpatcher with same method:
C74 RSS Feed | © Copyright Cycling '74