<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
what form is this coming into pd in? <br><br>If it's a list (such as (door_crossing in) or (door_crossing out))<br><br>then you could parse it down with routes<br><br>e.g. <br>[route door_crossing] (removes the first item in the list, if it's door_crossing)<br>|<br>[sel in out] (the first two inlets will be a bang if it's in or out respectively)<br><br>Not sure how else you might be getting the data into pd<br><br>> From: jbvidigal@gmail.com<br>> Date: Tue, 17 Aug 2010 13:45:53 +0100<br>> To: pd-list@iem.at<br>> Subject: [PD] Bang order entry<br>> <br>> Hi again.<br>> Here goes another problem!<br>> <br>> Ok. So I'm working with Arduino firmata here... <br>> To expose to problem in a simple way, I have 2 sensors that are detecting a door crossing.<br>> The 2 detectors give an order to the door crossing: coming in or going out.<br>> 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!<br>> <br>> Can you help me with that!?<br>> Thanks<br>> <br>> Joao Vidigal<br>> _______________________________________________<br>> Pd-list@iem.at mailing list<br>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list<br>                                            </body>
</html>