danryanfl
2010-12-13 17:54:22
This question was probably already described somewhere, but I am not quite clear on it still:
I mainly DJ with two channels, each with a bunch of effects arranged as 4 Live Racks. I would like the "track control" knobs to control the track 1 racks and the "device control" knobs to control the track 2 racks.
I want to use the pan, sendA, sendB, sendC buttons to select which rack in track 1 I am controlling and the clip/track, device on, leftarrow, rightarrow buttons to select the rack being controlled in track 2.
When I select one of these racks, I want to store the current values of the knobs in the rack I am switching out of, so when I come back I can reset the leds and restore the knob states. So, do I use one global variable for each knob of each rack to track the values (8 knobs per rack, 8 racks in total (4 on each channel)) and then another 2 global variables (taking on values 1-4) to store which rack is active on each of the two channels?
Then, when I select a new rack I load all the stored values for the new rack and send them to the APC40 causing it to change its led states etc, and also send the appropriate messages to turn on/off the button leds. Then filter all outgoing messages through a rule that determines which rack it should be sent to, giving each rack a different midi note to bind in Ableton.
Does this seem like everything? Am I missing something or getting it wrong?
I mainly DJ with two channels, each with a bunch of effects arranged as 4 Live Racks. I would like the "track control" knobs to control the track 1 racks and the "device control" knobs to control the track 2 racks.
I want to use the pan, sendA, sendB, sendC buttons to select which rack in track 1 I am controlling and the clip/track, device on, leftarrow, rightarrow buttons to select the rack being controlled in track 2.
When I select one of these racks, I want to store the current values of the knobs in the rack I am switching out of, so when I come back I can reset the leds and restore the knob states. So, do I use one global variable for each knob of each rack to track the values (8 knobs per rack, 8 racks in total (4 on each channel)) and then another 2 global variables (taking on values 1-4) to store which rack is active on each of the two channels?
Then, when I select a new rack I load all the stored values for the new rack and send them to the APC40 causing it to change its led states etc, and also send the appropriate messages to turn on/off the button leds. Then filter all outgoing messages through a rule that determines which rack it should be sent to, giving each rack a different midi note to bind in Ableton.
Does this seem like everything? Am I missing something or getting it wrong?