How to trigger all the loadbangs in a patch

Jul 30, 2009 at 12:33am

How to trigger all the loadbangs in a patch

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 at 1:44am

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

Jul 30, 2009 at 6:18am

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

Jul 30, 2009 at 2:26pm

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 at 3:24pm

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



You must be logged in to reply to this topic.