Motion Sensor

Jul 1, 2009 at 8:42pm

Motion Sensor

Hello, I am new to Max/msp jitter and although I am beginning to understand the basics, I am having a little trouble with this. I would like to use my computers on board webcam to sense motion and then play an audio clip if motion is detected. In other words, I would like to detect motion then send a single bang message to toggle a clip on if motion is present. I know this has been done, and I have browsed the forums but haven’t quite found anything explaining the Max side of things. Can anyone show me an example or please point me in the right direction.
Thanks,
Logan

#44608
Jul 2, 2009 at 1:57pm

Hi Logan,

Here’s a simple example that should get you going.

best,
Zachary

– Pasted Max Patch, click to expand. –
#160472
Jul 2, 2009 at 6:07pm

Hi Zachary,
Thank you for the patch. I ultimately came to roughly the same concept yesterday, however your patch got the job done in a much more clear and concise manner, I appreciate the help.
Best regards,
Logan

#160473
Jul 2, 2009 at 8:53pm

Glad to help, Logan.

Here’s the same patch, but with another part using cv.jit.sum

best,
Zachary

– Pasted Max Patch, click to expand. –
#160474

You must be logged in to reply to this topic.