Using audio to trigger the display of a frame of video
One way to make video respond to audio in Max, is to detect some significant event in an MSP audio signal, and use that to trigger something in Jitter. This patch demonstrates one case of that. It uses an event in an audio stream to trigger the display of a frame of a movie. Every time the phasor~ jumps down to 0, a bang is sent to the jit.qt.movie causing it to display the current frame of the movie loaded into it.
The math objects at the top of the patch demonstrate some ways to calculate the relationships between musical tempo in beats per minute and divisions per beat, clock time in milliseconds per beat division, and frequency in cycles per second (Hz).