detect if number box is active or inactive

May 9, 2013 at 12:35pm

detect if number box is active or inactive

How can I detect if a number box is active or inactive… I need to send 1 when numbers are running and 0 when numbers have stopped running

May 9, 2013 at 1:59pm

can you elaborate a bit?

do you have a part of your patch to post,



May 9, 2013 at 3:29pm

I have posted a part of the code… im using blob tracking to detect people and the patch will give me x, y and mass of each blob. So far I can track four blobs, which works fine.. my problem is that when no blobs are visible then the patch still display the last received x, y and mass of each blob.. I would like a 0 in all the number boxes when there are no blobs to detect.

another choice would be to detect if the number boxes are getting values in and then create a 1 and if no values are received then 0

basically I would like to start a wave fil with 1 and 0 to stop it with each blob

May 9, 2013 at 4:21pm

here’s a rough signal domain solution:

– Pasted Max Patch, click to expand. –

You must be logged in to reply to this topic.