Trigger to Front Layering System for Jitter

gavspav's icon

Not sure where to post this but I've plumped for here -

I've just patched a trigger to front layering system for 4 videoplane objects inside M4L.

The patch keeps a record of which track resides on which layer and every time a track is muted or unmuted it adjusts the values.

I think I've got it working right but surely there is an easier way?

And surely this is something that's been done before many times - couldn't find it anywhere though - maybe I wasn't using the correct search terms?

Max Patch
Copy patch and select New From Clipboard in Max.

If there's a better way please let me know - if there isn't feel free to use this if you can make head or tail of it.