[PD] How can more than one input trigger an operation?

Ingo ingo at miamiwave.com
Wed Sep 17 07:19:04 CEST 2014

The first example is exactly how you should do it.
The second example is missing the [t b f]. This way you cannot be sure that
you are receiving the value first and then bang the left input or the other
way around.
This means both values und the right need their own [t b f].


> -----Urspr√ľngliche Nachricht-----
> Von: Pd-list [mailto:pd-list-bounces at lists.iem.at] Im Auftrag von JC
> Pedroza
> Gesendet: Mittwoch, 17. September 2014 02:12
> An: pd-list at lists.iem.at
> Betreff: [PD] How can more than one input trigger an operation?
> I need an operation to be performed whenever a change in a control is
> performed. Operations are only performed when the left input is changed or
> it receives a bang.
> Right now I'm achieving this by using a `[t b f]` object, like this:
> http://i.imgur.com/9S0LZun.png
> This works for two inputs (I still wonder if there is a different, better,
> less ugly approach though) but things get uglier and uglier as more inputs
> are needed.
> For three inputs, for example, I thought about something like this:
> http://i.imgur.com/7g5lrzH.png
> But I don't know, I feel that there must better alternatives (maybe
> there's a bug with this?)
> What is the common way to implement multiple controls triggering an
> operation? Which are my options here?
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list

More information about the Pd-list mailing list