I feel like I've somewhere read about a Lemur setup that could dynamically configure the light that is affected by a set of faders. I plan to have 5 faders and use pads/buttons to determine which light these faders control. From the perspective of the DMX software those 5 faders should look like "buttons * 5" individual faders which I can map to actual DMX channels there.
Now I thought I could use a script on the buttons that dynamically changes the MIDI mapping of the faders. However, there doesn't seem to be a way to adjust the mapping from script code. Did I miss something?
What I found is the script function ctlout(). I imagine I can write a function that checks which of my light buttons is currently active and send a MIDI control change with dynamically computed parameters (instead of the fader's own midi output). That seems a little more cumbersome than "just" reconfiguring the mapping though. Is this the only way to go?