Forums > MaxMSP

How to find out when a patch has finished loading


Sep 25 2007 | 12:22 pm

Does anyone know a reliable solution to the following situation:

I am using scripting to load a very complex patch into a bpatcher object (within the main patch). This patch takes a couple of seconds to load. I need to automatically know when the file has finished loading in order to send it a configuration file.

Any ideas?

thanks,

oli

http://www.olilarkin.co.uk


jln
Sep 25 2007 | 12:36 pm

Sep 25 2007 | 5:28 pm

some thoughts.

what happens if you use one loadbang to a trigger object to trigger all initialization, and then use the left most outlet of trigger to cue your "patch-done-loading" routine.

or if you are loading buffers, then chain your buffers so that the read done outlet trigger the next buffers read message, and use the last buffers read done outlet to trigger the patch done loading routine.

other than that, hmmm, maybe put the final loadbang to a deferlow. should make it happen after all the loading, right?

let us if you find anything.

-rob

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

Forums > MaxMSP