Motion Sensor


    Jul 01 2009 | 8:42 pm
    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

    • Jul 02 2009 | 1:57 pm
      Hi Logan,
      Here's a simple example that should get you going.
      best,
      Zachary
    • Jul 02 2009 | 6:07 pm
      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
    • Jul 02 2009 | 8:53 pm
      Glad to help, Logan.
      Here's the same patch, but with another part using cv.jit.sum
      best,
      Zachary