Questions about closebang in M4L

Nov 29, 2013 at 6:54pm

Questions about closebang in M4L

I’m wondering if closebang goes off if it’s in a device when you load a new Live set. From what i’ve seen it seems to for some things, but maybe can’t be expected to do anything too complicated in that time-frame? That doesn’t really seem right so maybe there’s just something up with my code. In my example here i’m trying to get the contents of the coll to save with the set. It works if you hit the button before you load a different set, but otherwise it doesn’t. The closebang seems to print but not do the rest. Anyone see something i missed?

<code>

– Pasted Max Patch, click to expand. –

</code>

#274168
Dec 16, 2013 at 10:44pm

I’m thinking now it’s because by the time the closebang goes off the device has already “closed” and the pattr is no longer checking for changes in its bound object? Can anyone with more knowledge than i confirm this statement to be true? Working on this assumption, i tried instituting a metro which would periodically save things; so far it’s not going so well, for other very confusing reasons: http://cycling74.com/forums/topic/whats-wrong-with-this-text/

I have to believe that i’m not even close to the first person to try to save the contents of a coll with the set, so how has it been accomplished before?

#275961

You must be logged in to reply to this topic.