jbam21
2020-06-03 10:33:36
I’m trying to think of a good way to toggle a fader’s function on the Qu16…
My current Qu16 set-up has all 16 faders controlling whatever I like (as set / non adjustable values) – I’d ideally like to create a second layer to allow adjustment of each channel’s data by pressing a “toggle” button. There’s 3 buttons per channel available; so I’d be able to use one of those – e.g. press the Channel 1 toggle button; and the faders now jump to the values that are sent by the channel one fader (when not toggled).
I’m finding this hard to explain, and have tried typing this up a few times now! haha... so sincere apologies if this is just waffle… Maybe a specific example:
- All 16 faders are for FX sends, and each fader can send a chosen amount of send to 4 effects “FX1, FX2, FX3, FX4”
- I have things set so that e.g. fader 1 at max value 127 sends the following amounts: FX1=30; FX2=50; FX3=0; FX4=100 [This step I can do, but only as fixed / permanent values]
- *hit toggle* the first four channel faders now jump to the FX1-FX4 values of 30; 50; 0; 100 (and maybe lets say, all other fader are “inactive” and snap to zero)
- I can now adjust these FX1-FX4 values… e.g. 0; 0; 100; 0…
- *hit toggle* ALL faders snap back to their actual settings – whatever I left them at pre-toggle…
- now when I move the Channel 1 fader to max 127, it sends FX1=0; FX2=0; FX3=100; FX4=0, as was set up in the toggle layer…
So I have some ideas of how to do this… but I’m not sure if they’re too complicated or could be better OR won’t even work!... Part of the headache is having the faders automated between these layers… I’m also wondering if I’m just burning through too many global variables with my “newbie” programming style!?
My thoughts are:
I currently have my faders set to a unique global variable per fader… ga-gp… These control actual outgoing message values at the moment too… but I now think I’ll need to separate these out to ONLY control the fader location, and use another set of variables for actual parameter control. Hmm.. Or maybe I can even ditch “fader position” as a global variable… and just trigger “Move Fader” timers based on toggle settings…? That could work…?! Anyway… Let’s assume I chew up a global variable for fader position – I could maybe then have:
- ga-gp for fader tracking values only (to tell each of the faders where it needs to go when toggled on or off);
- ha-hp for telling the “master layer” what fader value to use in the performance layer;
- ia-ip for telling the Ch 1 “toggle layer” what values to use for variables (maybe just the first four faders as per my example; with all other faders receiving a fixed “00” value message to snap to zero). I code into the master layer to allow the ia-ip values to be the individual translator variables used for a given fader in the “master layer”;
- I then use separate globals for the Channel 2 toggle layer; and the Ch3 toggle layer etc etc etc…
- For fader position of e.g. channel 1 bewteen toggles: the fader recieves ia-ip OR ha-hp to relay their value to ga-gp for fader tracking depending on whether the toggle is on or off… (I’ve checked that fader position CAN be controlled via midi)
I’m happy to start mucking around in that space… But don’t want to jump down the deep dark rabbit hole if the whole methodology is a bit silly…
Using this integrated approach to “faders send values defined elsewhere” is also possible very cool, as it could enable me to develop presets. E.g. use a launchpad to send 64 different preset variables used in my project (rather than relying on programmed static values, like “Ok – Channel 1 ALWAYS sends FX1 amount 30”)… The thought of also having access to those on automated faders is… epic.
I greatly appreciate any thoughts…