flickering video synced to midi bang – beginner problems
Jan 26 2022 | 9:08 am
Hi everyone!
I'm very new to max and even newer to jitter. I'd like to build a patch for synchronizing the flicker of a video to midi sound (a strobe with video if you'd like)
The idea would be that a midi signal/bang would read one frame of a video for a certain time, then use a delay so that a black video is read instead -- until the next bang.
I built a very simple protoype for this but switching btw videos seems to be an issue, and I don't see why. I think I'm stumbling on something very basic. Any idea?
In a second stage -- I'd like to find a way to 'quantize' everyone's time values so that a frame of the video is read for 83.3333ms (one frame at 12fps) and black is read for this value by 1, 2, 3, etc. (I used slower values in the patch so it's easier to see what's going on.) A phasor seemed to be an interesting start for this because of the transport option?
Cheers!
ps Also I can't seem to find the function here to attach a code. Sorry about this