Week 9: Single-button Output

Did you know you can cause all loadbangs and loadmesses in your patch to output by clicking on one button?

Week 9: Single-button Output

Apr 12, 2011 at 11:59pm

I always use the message loadbang to a thispatcher object for this purpose

#260976
Oct 21, 2011 at 4:25pm

The difference is that sending a “loadbang” message to [thispatcher] executes the loadbang-trigger as it would happen when starting a patch and sending “send loadbang bang” to a [universal] object just sends a bang to all loadbang objects.
In detail the difference is:

Using [thispatcher] all [loadbang] and [loadmess] objects as well as all loadbang() functions in JavaScript-Objects and Java-Classes are triggered.

Using [universal] only the specified objects (in this case the [loadbang] ) will receive a bang. JavaScript and Java loadbang() fucntions will not be triggered.

#260977

You must be logged in to reply to this topic.