Forums > Jitter

Change routing order of FX modules

Jul 18 2010 | 8:19 pm

This has probably already been covered but I’m hoping for a simple solution. I have a series of video processing sub-patches (IE, saturate, brightness, contrast). For now they are hardwired in a certain order. How would I go about creating a fancy routing system that would allow for any order of processing? So maybe I want the signal flow to go 1) saturate 2) brightness 3)contrast . . . and then later I might want it to go 1)brightness 2) contrast 3)saturate . . . etc . . I was thinking maybe some sort of scripting system although I haven’t done scripting in max. The other option I was thinking about is to create a generic fx module (container) and selecting which fx is loaded via .jxs files but that seems a little complicated due to the different number of params for each particular .jxs file. I’ve attached an example using basic color fx mods which share the same number of params but other .jxs files have more params. anyway . . any ideas are appreciated. thanks

Jul 18 2010 | 9:01 pm

You could try controlling the routing of the FX using matrixctrl hooked up to a router object, but I only have experience using this with audio objects and the matrix~ object.
Make sure you include a bypass toggle on each FX module to remove one effect from the chain without having to do any repatching.

Jul 18 2010 | 11:48 pm

matrixctrl is a good way to go indeed. here is a quick mockup of what it could look like… keep in mind that if you mindlessly make connections you are going to get a stack overflow!!

-- Pasted Max Patch, click to expand. --

Jul 19 2010 | 12:37 am

put the into a named matrix first, then you can update it in each of your FX subpatches without the stack overflow problem (if done right). It would definitely be good to have a gate on each FX bit which bypasses the processing, regardless of whether you’re using the matrixctrl to route things (which works very well).

Jul 19 2010 | 1:05 am

Hey thanks a lot!! Your responses are all really helpful. I’m on my way!


Viewing 5 posts - 1 through 5 (of 5 total)

Forums > Jitter