Change routing order of FX modules

Jul 18, 2010 at 8:19pm

Change routing order of FX modules

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

#51346
Jul 18, 2010 at 9:01pm

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.

#184097
Jul 18, 2010 at 11:48pm

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. –
#184098
Jul 19, 2010 at 12:37am

put the jit.qt.movie 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).

#184099
Jul 19, 2010 at 1:05am

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

Cheers

#184100

You must be logged in to reply to this topic.