Router for Jitter

Neal Johnson's icon

Trying to put together a video mixer in Jitter and I want to have both send and insert Efx. I want to create an "arbitrary patch bay" for efx and need something like router and the matrix, but router doesn't support video data like gate and switch. Any suggestions?

Christopher Dobrian's icon

I'm not sure what you mean by "router doesn't support video data like gate and switch"; you can, in fact, use router to route jit_matrix messages. It may not do everything you want, but Jitter Tutorial 26 shows something similar to what you described, using matrixctrl and router.

Neal Johnson's icon

router is sending midi messages in that tutorial. I tried passing video through it and nothing happened.

Mark-David Hosale's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Hi Neal-
this should work for you...

best-
markdavid

Neal Johnson's icon

Thanks! Yeah, that seems to work. But I want to be able to arbitrarily switch the routing using a matrix like interface...

neal

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

Router does indeed work with Jitter data. Modifying the last patch:

Neal Johnson's icon

Wow... Thank you! I tried a similar thing and nothing. Oh well... Just a neophyte with ambitious plans.

neal

ztutz's icon

It *does* look like the refpage for router might be a little misleading...

"anything: Any message received in any but the leftmost inlet will be routed to the outlet to which the inlet is currently connected. The router objects passes messages only; it will not pass signals or Jitter matrices."

jit_matrix references clearly propagate flawlessly.

Neal Johnson's icon

Thanks for all the help! Yes, router with a matrixctrl will route video just fine. I have a matrix/router set up with two video inputs, three efx outputs routed to three efx inputs and a main out. Everything is working just fine. Now I just have to clean everything up and finish this thing - video mixer with two live inputs, two file inputs, with brightness, contrast, saturation, and hue as insert efx, and a set of auvi efx as send efx for each channel.

neal

Christopher Dobrian's icon

ztutz, good catch on that error in the reference page. Jitter matrices are just jit_matrix messages, so I dunno why that warning about router not working for Jitter matrices got into the ref page.

Rob Ramirez's icon

thanks for the ref page error report!