How to empty a Poly~?

cap10subtext's icon

I'm wondering if there's a way to empty all instance of poly. I would have assumed "voices 0" or "dispose" might do it, but according to the references, no dice.

Max Patch
Copy patch and select New From Clipboard in Max.
Max Patch
Copy patch and select New From Clipboard in Max.

Just wondering if there's a way to solve these two issues: 1) loading a poly with voices 0 still technically loads a patch, you can see it creates an object in the main patcher on load. 2) changing voices to 0 after loading a jit.gl.gridshape object I would hope would remove the instance of the 3D object.

Thanks!

EMV's icon

Unfortunately I can't get your posted patches to work (jit.gl.material is missing on my system? And it can't find the render context).

But,

You could save an empty patcher with just the right number of in- and outlets and have that loaded into the poly by sending "patchername emptypatch.maxpat".

Then, regardless of the voices, you are sure that no processing takes place in the poly.

Roman Thilenius's icon

it still loads one instance.

cap10subtext's icon

Oops, yeah, sorry, Max6 patches.

I see, so you're saying loading a "blank" into the poly. That might work. I don't know why I didn't think of that.