<DIV>Geetings. I'm new to this forum and PD.<BR>&nbsp;<BR>I have to do a work in my University and i'm using PD and 3 MIDI pressure sensors. Based in the output of that sensors, i need to launch 7 different patches in PD. So, i need to have a little abstraction where i analyse the 3 sensors: <BR>- sensor 1 will output 0 if its below 30 and 1 if its above 30 and below 127<BR>- sensor 2 will output 0 if its below 50 and 1 if its&nbsp;above 50 and below 127<BR>- sensor 3 will output 0 if its below 70 and 1 if its&nbsp;above 70 and below 127<BR>&nbsp;<BR>So, i have 2X3 (8) options and i'll only use 7. For example, if sensor 1 out is 0 and sensor 2 and 3 outs are 1, i will launch patch 3; if sensor 1 out is 1 and the others are 0, it will launch patch 5, and so on, based in the 0's and 1's combination of the 3 sensors.<BR>&nbsp;<BR>Another problem is this. I want to read the inputs with 1 min interval, so a patch will stay for one minute minimum, after that i'll read the values, and if
 they are diferent, it'll launch another patch. If they are the same, it'll stay the same patch and will not retrigger the same one.<BR>&nbsp;<BR>And finally, another problem... I'll give priority above all other sensors to sensor 1. This is: when i read the values, if the reading in the sensor 1 is greater than 70 from the previous reading (say, last reading was 27 and next min i have 120), it will launch a certain patch of the total 7 that i have (patch 7 for example) and in this case the outs of sensor 2 and 3 wont matter.<BR>&nbsp;<BR>Being a newby i'm finding this a little confusing to do (read i don't know how to do this...). So, any help would be apreciated of what i should look at, or any draft abstraction/patch that someone might have that could help me out...<BR>&nbsp;<BR>Thanks in advance,<BR>Louis </DIV><BR><BR><p><hr size=1><font face="Arial" size="2">Want to chat instantly with your online friends? <a
 href="http://uk.rd.yahoo.com/mail/tagline_messenger/*http://uk.messenger.yahoo.com/"><b>Get the FREE Yahoo!
Messenger</b></a></font>