Forums > MaxMSP

Effect ordering

Nov 18 2011 | 7:59 pm

Not finding much in the archive on this so hoping to start a new thread for guidance.

I’m looking for a strategy on building logic to change the order of effects. In my use case this is for jitter video effects but really it would apply all the same to MSP audio effects.

I want to be able to say that brightness comes before contrast which comes before blur (for example) and then change that order as needed with presets.

As far as an interface goes I would imagine a single column of unmenus where the first unmenu is the first effect and you just change what’s in the list boxes to change the effect routing (see attached maxpat example)

The interface part is simple. Presets are simple. But my brain is breaking on what backend is needed to support such flexible routing of effects that can be changed like that.

This seems like this would be a really common problem to solve, as ability to change effects ordering has a radical impact on the output.

Can anyone point me to an example patch that does something like this? or advise on a set of objects or strategies to pull that off?

Nov 18 2011 | 8:22 pm

basically send/receive – or gates.
limit yourself to a small 3×3 matrix and experiment with different methods.

Nov 18 2011 | 8:55 pm

It still sort of hurts your brain (or at least did mine), but matrix~ will get you there, I think.

Nov 18 2011 | 9:27 pm

Yep. Breaking my head big time. matrix~ does not seem to understand jitter/video signals. Just MSP audio ones. ugh.

Nov 18 2011 | 10:05 pm

You can use router for Jitter stuff. Since Jitter doesn’t sum inputs like MSP does, you’ll probably want to set matrixctrl to not allow multiple ins to the same out.

Nov 21 2011 | 11:33 pm

Somewhat answering my own question, I went with the send/receive and gate/switch option. Took me a while to unbreak my head. For the archives I’ve attached the maxpat plus the js file I use to detect infinite loops.

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

Forums > MaxMSP