[PD] Bang order entry
jbturgid at hotmail.com
Tue Aug 17 15:29:05 CEST 2010
what form is this coming into pd in?
If it's a list (such as (door_crossing in) or (door_crossing out))
then you could parse it down with routes
[route door_crossing] (removes the first item in the list, if it's door_crossing)
[sel in out] (the first two inlets will be a bang if it's in or out respectively)
Not sure how else you might be getting the data into pd
> From: jbvidigal at gmail.com
> Date: Tue, 17 Aug 2010 13:45:53 +0100
> To: pd-list at iem.at
> Subject: [PD] Bang order entry
> Hi again.
> Here goes another problem!
> Ok. So I'm working with Arduino firmata here...
> To expose to problem in a simple way, I have 2 sensors that are detecting a door crossing.
> The 2 detectors give an order to the door crossing: coming in or going out.
> Now I just don't know how I can translate that to bang 2 different [bang( depending on if someone's comming in or going out!
> Can you help me with that!?
> Joao Vidigal
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pd-list