metro problem

Anna's icon

Hi, all,

I'm working on a patch that uses two variations on the same video, one controlled by a metro that is activated only when it receives a certain amplitude from an audio track, and the other that is running on a normal metro 40. The audio-variable movie is chromakeyed so that the normal movie shows through it in certain areas.

My problem is this:
Because jit.chromakey is controlled by the chromakeyed video's metro (the audio-variable movie), the normal video is also subject to the starting and stopping. I don't want this. I want the normal video to play normally, and the audio video to play in the sporadic, glitchy fashion that it does.

Apologies for the convoluted wording, I can post the patch if necessary.
Thanks for any and all advise!
-Anna

Rob Ramirez's icon

send the left input into a jit.matrix before the chromakey input, then trigger bang that matrix every time you receive an input to the right input.

like so:

Max Patch
Copy patch and select New From Clipboard in Max.

Rob Ramirez's icon

should note, fwiw, probably more efficient to use the "frame" message to the jit.qt.movie to achieve the jerky effect.

Anna's icon

Thanks for all the responses, I really appreciate it! That patch really helped, though I'm confused about one thing. When sending out a tbl, what is the list doing? I'm not familiar with that method, I'd appreciate any explanations.

Thanks again!
Anna