Uses video frame subtraction in jitter to control playback of audio clip.
download
https://github.com/tkzic/max-projects
folder: frame-subtraction
patch: frameSubtraction_example.maxpat
You will also need an audio file: aiff, wav, etc., to load into a Max buffer.
dependencies
You will also need the cv.jit library (computer vision): http://jmpelletier.com/cvjit/
Add the location of these files to your path in Max using Options | File Preferences.
Note: When I loaded the patch in Mac OS 10.8 – the computer automatically downloaded and installed Java updates.
instructions
- Load an audio file for playback
- Try setting minimum summed pixels to 150,000 or less for greater effect – depending on amount of light in the room