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.
M4L Device That Detects Lighting Changes In Video?
-
starkaudio
- Posts: 25
- Joined: Tue Aug 25, 2009 10:31 am
Re: M4L Device That Detects Lighting Changes In Video?
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!
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!