ADVANCED!!! CC Number Cycling HELP!!!
I'm super appreciative for all the help I've received in the past, I love this Forum!
This is a really difficult question to ask so I'm going to describe the scenario in which it happens:
Ok, I have 6 check boxes in max, each ones is an on/off for a synth in ableton. So 6 synths. Each Synth receives program changes to change it's timbre.
I have a physical ring of LEDs that represent the on/off state of the Synths.
This ring has 5 modes.
1. Completely off. (No instruments selected)
2. A full circle of a single color. (1 instrument selected)
3. Two half circles, each a different color. (2 instruments selected)
4. Three third circles, each a different color. (3 instruments selected)
5. 4 quarter circles, each a different color. (4 instruments selected)
Ok, simple enough.
Now, I need to send a ctrl message whenever any box has been checked to let the LED ring know a new synth has been selected.
Simple.
Now Difficult:
Whenever an Synth box is checked it needs to be ID'd so a stream of Program Change messages can "change the color" of the "Section of the circle" that that represents that Synth.
--Examples--
So simple example:
Box 1 0f 6 is checked, it's color starts as blue. I see a full ring of Blue. It receives a program change. I now see a full ring of Red.
Now difficult example:
Box 1 of 6 is still selected, but now I select Boxes 2,3 & 4. 3 Ctrl messages have been sent out to indicate 3 boxes have been added. So I see a ring divided into 4 quarters. The top right quarter is red because it represents Box 1. The bottom right quarter of LED is yellow representing Box 2. Bottom left quarter of LED is violet representing Box 3. Top left quarter of LED is green representing Box 4.
Now I un-select Box 1. A ctrl message is sent out to indicate a box has been removed. I see the LED ring divided into 3 thrids now. The top right thrid is yellow representing Box 2. The bottom third of LED is violet representing Box 3. Top left third of LED is green representing Box 4.
Now I re-select Box 1. A ctrl message is sent out to indicate a box has been added. I see the LED ring divided into 4 quarters again now. The top right quarter is yellow representing Box 2. The bottom right quarter of LED is violet representing Box 3. Bottom left quarter of LED is green representing Box 4. And the top left quarter of the LED is red representing Box 1.
---End Examples---
Ok, thank you for reading this far, I hope you can help!
I've looked into the cycle object, coll object, but they seam to not fully do what I need to achieve these behaviors.
Any ideas on how I can accomplish my goal or whom or where I could make progress to do so?!
I can give more examples of the desired behavior.
Thank you all so much!!!
-AHEE
"Simple.
Now Difficult:"
C'est la vie.
Have you looked at the [if] object? Perhaps you could chain them to get the desired behaviour.
Can you just post a patch explaining it?
if , then or else objects will pull this off.