Sensor data ramp after inactivity

    Oct 14 2011 | 9:12 am
    Howdy people,
    I have a situation where I need the data being captured by a distance sensor to ramp down to a 0 value after a specified period of inactivity.
    For example, In the attached patch, the slider represents the sensor data and if it was to stop at, say 68 without change for more than 10 seconds, I need it to slowly ramp back down to 0 until it collects data again.
    Any ideas?

    • Oct 14 2011 | 11:27 am
    • Oct 14 2011 | 2:26 pm
      I think this does what you want.
    • Oct 14 2011 | 9:35 pm
      Thanks Christopher - that's exactly what I was after!