Switch between two jitter objects using bang

Adam's icon

Hello,
I am trying to figure out how to switch between two video signals using 'bang' and 'selector~' object. I want raw jit.qt.movie to run whenever bang is on as it's audio reactive, else through jit.altern.

Anyone could help me?

Thanks!

Snímek-obrazovky-2015-02-19-v 18.00.41.png
png
Rob Ramirez's icon

you need to use switch, not selector~

Andro's icon

Togedge ? Alternating bang outputs from one bang input.

Andro's icon

a hint for next time. place a jit.pwindow object after the object that could be the problem. If you'd done that with this patch you would have seen that no video was coming through which would mean the object doesn't work with video. Jit.pwindow is a great way to debug patches.