Detect/Bang when a inlet/input is NOT updating (has stopped)

John Daniel's icon

Hello All!
stuck on this simple thing:
I have a -1. to 1. float coming from a sensor.

How do I get a bang when NOTHING has happened for X amount of time?

USAGE:
User plays with control - data flows as long as user is playing with sensor.
User walks away
Data stops streaming.
If no data comes in for 10 sec or more then bang once.

What IS the trick o MWMs ? (Much Wiser Maxxers)
thanks!
jd

pdelges's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Maybe like this :

metamax's icon

Or this..

Max Patch
Copy patch and select New From Clipboard in Max.

John Daniel's icon

Hubba Hubba! Thanks guys!
Those both work perfectly!, I had this crazy rube goldberg thing going with clocker, delay, and >= that was at best iffy, and at worst a Stack Overflow nightmare.
I used Metamax's approach, and it goes live in a museum exhibit in the a.m.(it made a little more sense to me)
Patrick's works just as good, but shows me i have much yet to learn about the magic that can be worked with trigger.

I love the two different approaches, there is much to learn in this here Max proggy!
yay max!
cheers!
jd