Reset counter to zero when udpreceive data stops?

BlueRock1111's icon

I have a stream of data coming in from a udpreceive (from FaceOSC facial recognition software).

I'm using a counter object to count the number of times I blink.

I trying to get the counter to reset to zero every time data stops flowing from the udpreceive, so that the counter starts afresh when a face is no longer recognised.

Any suggestions?

Source Audio's icon

Bang delay together with counter.
Set delay to expected pause between messages.
Delay out - to reset counter.