ganging knobs in matrixctrl dialmode

Jan 11, 2013 at 9:45pm

ganging knobs in matrixctrl dialmode

This is one of those “hoping that there’s an elegant way to do this so I don’t have to do it by brute force” questions. :-)

I have a matrixctrl that I’m using in dialmode, see image below. What I’m aiming to do is to allow several of the dials to be “ganged”, so that moving one will automatically move others, which I have pre-selected. I plan on selecting which dials I would like to have ganged by overlaying another matrixctrl object which will allow users to click on cells to indicate which dials they’d like to be ganged (image 2 below).

So how would you do this? The approach I’m thinking of so far is brute force, and probably slow – when knob turned, first check to see if corresponding knob is “ganged” in gang-defining matrixctrl, and then if so, going through every other cell in the dial matrixctrl, testing to see if it too is ganged, and if so, applying current dial value to it too. Ugly.

For some reason I’m thinking that some nifty Jitter matrix operation could help me here, but I’m too much of a Jitter noob to know…

Thanks in advance for any help!

Attachments:
  1. matrixctrldialmode2.jpg
#66023
Mar 7, 2013 at 5:02am

Not sure if this is what you’re after, but might be of some help?

http://cycling74.com/forums/topic.php?id=45259

#237710
Mar 7, 2013 at 12:49pm

Thanks – but it would get really ugly. This is because I need to be working within a matrixctrl object, in dialmode (for other reasons).

#237711

You must be logged in to reply to this topic.