[PD] How can more than one input trigger an operation?
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
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
> 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:
> 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:
> 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 ->
More information about the Pd-list