Motion controlled video

timmiboi's icon

Me again! Newbie with Max MSP studying it at varsity!

I'm busy using the cv.jit plug-ins to create a motion controlled video player.

The problem is, I want it to detect motion above a certain value, then send one bang to a controller to either start or stop the video, adjust speed and so forth, problem is is that it bangs repeatedly, not allowing you to have a once off wave to interact with the video.

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

I'm not explaining this well, attached is the patch! You do need to install the cv.jit plug-ins to use it!

carsol's icon

theres [onebang] object for a one bang solution..
something like this can solve the thing..
adjust the delay time to your taste for reopen the object...
best!

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

MIB's icon

onebang is probably the way to go as @carsol mentioned. I would also suggest that you look into jit.slide just before you go into the jit.scissors object. that way you get a trail of pixels and you are more likely to get higher numbers. also this way you have a built in on and off ramp. plus it looks funky ;)