Live video control (Speed, Saturation, Strobe effect)

fmasque's icon

Hello there.

I'm working on some visuals for a DJ Set in my city, it's basically going to be a video loop which I'd like to modulate as the music evolves (tempo, general ambience, stuff like that). I trying to create a patch that will allow me to send in my video loop, and then, using the knobs on my midi controller, would allow me to intervene on it in a dynamic way.

I'd like to be able to control video speed (The video is 60fps, so I'd like to slow it down and speed it up during some part), saturation and contrasts (already figured how to do that), and if it's possible, add a strobe effect to it with a controllable BPM. I'm sure that's very possible, I'd just like to get some help, as I'm still a beginner using Max, I did read tutorials but I'm still having a little trouble putting the patch together.

I need to work things out quite quickly, that's why I'm gonna need some help or advices from advanced users, or general knowledge from people who are used to working with Max, that'd be greatly appreciated.

If you have any links, or some patch to begin with or anything that could help me even remotely, I'm always glad to learn new stuff.

Thanks in advance.

Stephane Morisse's icon
Max Patch
Copy patch and select New From Clipboard in Max.

To slow down the fps, use a [qmetro 33.33] for example. This will give you a fps of 30.
Here's a simple and naive example using jitter only. Then you may want to adapt it for openGL to optimize it.

Stephane Morisse's icon

If you intend to use this with maxforlive, you can get rid of the modulation part for the brightness and work it out using native maxforlive modulators (LFO, env follower,...).

Stephane Morisse's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Made a Gen version in Max (that is one of my first Gen effort... As for me, I'm interested to know if things could be done in a more 'Gen-way'.