Forums > MaxMSP

Poly object reload

October 14, 2008 | 4:30 am

I currently have a patch that as a sub patch defined in a poly object. One of the pains is that when I make a change in the poly patch I have to close and re-open the main patch to get the changes (and due to the fact the audio stops working). Is there a work around for reloading the sub patch in the main patch without closing and re-opening the main file?


October 14, 2008 | 7:54 am

Say your object is [poly~ patchname 256] – to force a reload, double click the object, add another space between patchname and ’256′ (IE: [poly~ patchname 256]) and max will both remove the extra space, and reload the poly from the patcher file.


October 15, 2008 | 5:54 am

emajcher schrieb:
> I currently have a patch that as a sub patch defined in a poly
> object. One of the pains is that when I make a change in the poly
> patch I have to close and re-open the main patch to get the changes
> (and due to the fact the audio stops working). Is there a work
> around for reloading the sub patch in the main patch without closing
> and re-opening the main file?

It should load automatically, and does it for me. Only when changing
number of ins/outs, I have to reload. I ususally delete followed by an
undo…
I do see stopping audio on loading bigger patches as well. This could
make it into a bug report, though I never had the time to find the exact
circumstance. It seems audio will not be switched on again, if the
loading process exceeds a certain time…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


October 15, 2008 | 6:39 pm

Just to clarify, I believe poly’s automatically reload in max 5. In max 4 however, I know they don’t. Not sure which version you’re using, Ed.


October 15, 2008 | 8:37 pm

I am using Max 5 … the issue was two-fold

1.) changing the number of inlets on the poly object, which it sound like there is no work around for, I thought maybe there was a menu item I wasn’t aware of or something, I was changing the name and using undo to accomplish that.

2.) the audio not working after making a change to the poly object. I can verify this happens without breaking the patch and a reload of the main patcher is required.

All in all, not that big of an issue really, I just wasn’t sure if there was a command I was unaware of for refreshing objects.


October 15, 2008 | 10:15 pm

I am on max 4.6 , so i am not sure about how things are done in version 5 , however similarly to Mushoo’s suggestion , you can make a copy of the poly and then paste replace the original .

cheers


October 18, 2008 | 11:04 pm

Scott schrieb:
> Just to clarify, I believe poly’s automatically reload in max 5. In
> max 4 however, I know they don’t. Not sure which version you’re
> using, Ed.

In Max 4 they always did load for me, just if you change the number of
ins/outs, you’d have to reinstantiate, as in Max 5…


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


Viewing 7 posts - 1 through 7 (of 7 total)