Triggering events in a set sequence

bocajfreedman's icon

I am relatively new and I am still getting the hang of how Max/MSP/Jitter works. I even feel stupid for asking a question this simple, but here it goes:

What I want to do is create a patch which will play videos based on the timing facial detection and lack there of. Here is what I want the patch to do:
-Once facial recognition is held for 3000ms a video will play- seemingly behind the person
-THEN when facial recognition will be broken for 100ms, because the person is looking behind, a second video will play, replacing the first one.
-HOLD FOR 10000ms and then reset

I have already figured out cv.jit.faces and how it will work in my patch. However, my issue is that I have no idea how to get the timing to work. I do not know how to use the tools necessary such as counter, select, and any other possible objects for my purposes. And advice?

brendan mccloskey's icon

Hi
[timer]; [> 3000]; [trigger]

*The n00b_meister*