Page 1 of 1

M4L Device That Detects Lighting Changes In Video?

Posted: Sat Nov 12, 2011 12:26 pm
by ct43
Hi guys... im just wondering if there is a M4L device that detects light changes in a video? For example: if the video was blacked out, and then every so often a flash of white light appeared.

The M4L device would need to have some kind of threshold, and then when this is exceeded send out some MIDI / control data.

Basically Im wanted to turn an Ableton channel (speaker) on and off in time with lighting changes.

Any ideas?

Thanks

Carl.

Re: M4L Device That Detects Lighting Changes In Video?

Posted: Mon Nov 14, 2011 7:56 pm
by starkaudio
You should look into Jitter.

A rough guess (I haven't tried it) would be to take your video, and use jitter to get a rough average of all the pixels in the video (or a particular region of the video...) and if the value of the average goes over a threshold, emit some midi info.

Try out the Jitter tutorials in Max!