feature request : better way to handle patch loading

vichug's icon

Hello,

After having my patch systematically crashing when i send a bang into a "send init"-like thingy, i'm starting to wonder why this can't be handled better by Max.
It could be nice to have, say, a loadbang thing that sends a first bang somewhere, waits for the task to be finished, posts the result in Max windows, then sends another bang for another task etc, until all necessary bangs are banged. Couldn't this kind of thing prevent startup crash ? In my opinion, it's something crucial Max lacks... there might be ways to do those kind of things, but those are complicated, and knowing when e.g. a poly~ has loaded all its instances and is ready not to crash, a pattrstorage has sent all his saved states and all have been accepted clearly, a thispatcher has accomplished all creation/connect/whatever scripts sent to him is not always easy...

Zachary Seldess's icon

Here's what I do (works well for me in quite large/complex patches):

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

vichug's icon

hm ok
maybe this is enough, thanks.

jbl's icon

This is smart, thanks Zachary.

Chris Muir's icon
Michel's icon

Since a few time I used the same way as Zachary. But now, I use qlist, I think it's a better way to initialize a patch. It's easy to manage in which order commands come.

vichug's icon

is there an equivalent of deferlow inside qlist ? Or do you need to use timed delays for this purpose ?

Michel's icon

Qlist is only a text object. Deferlow may be used after a receive object.

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

Here an example how I use qlist.

4018.QlistExample.maxpat
Max Patch