Counting gesture

Joe's icon

Hey

I want to know how long a hand is in a particular area in my webcam patch, I have a grid system set up so I know I get a bang when the hand is in an area, but how can I know how long it has been in that area for?

Counter? If so, can the counter have more than the 5 inlets? I need about 80

Cheers,

J

Wetterberg's icon

you need to know when it's there, and when it's *not* there. Measuring the time between the two will give you how long it's been there.

So yes, you want to use a timer mechanism between the "yes" and "no" replies. That word just before "mechanism" in the previous sentence should help you on your way.

Alternatively, you might want to "accumulate" bangs while the hand is in a given zone. BUT doing this, or pretty much any patching * 80 gets sloppy quickly.

At the end of the day I might want to do it with a accumulating jitter matrix of sorts - using a feedback loop - but that's me.