Forums > MaxMSP

How to trigger all the loadbangs in a patch

Jul 30 2009 | 12:33 am

I have a patch that relies on a bunch of loadbangs to set initial values. (It works well.)

However, there are some circumstances in which I’d like for the loadbangs to all fire again, in order to reset the patch.

I’ve tried sending a "bang" to "thispatcher" but doesn’t quite seem to work. How can I do this?

Jul 30 2009 | 1:44 am

[universal] should work. Order of who receives first not guarantied, of course.

Jul 30 2009 | 6:18 am

Doesn’t sending a loadbang message (not a loadbang object) to [thispatcher] trigger all the loadbangs inside the patcher?

Jul 30 2009 | 2:26 pm

as bkshepard said, sending a "loadbang" message to [thispatcher] will trigger all [loadbang] objects in the patcher (and subpatchers).

About the order of received bangs, I find it a very good habit to have only one main loadbang per patch and use a bunch of [send] so I decide of the order of execution myself Wink.


Jul 30 2009 | 3:24 pm

Check out this java class if you want reliable ordered loadbangs. It’s very nifty.


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

Forums > MaxMSP