This works for a midicontroller with 9 sliders or knobs that are mapped to Midi CC 0 - 9
cc0 controls the master, cc1-8 the individual channel-levels of the currently selected audio or fade cue.
Create a Midi-pipe:
- Midi In, select your controlsurface or midi
- Applescript Trigger
Here's the script for the applescript trigger:
# script by Filip Vandueren on runme(message) tell application "QLab" set myVal to (item 3 of message)/127 if (item 1 of message = 176) and (item 2 of message < 9 ) then set mySel to selected of workspace 1 repeat with myCue in mySel if q type of myCue is "Audio" or q type of myCue is "Fade" then myCue setLevel row 0 column (item 2 of message) db ((myVal^(1/3))*132)-120 end if end repeat end if end tell end runme
- I've added a little power law to the control so you have control from +12 to -120 dB, but with more precision in the upper half of the fader throw.
- Works best if you move 1 control at a time.
- Unfortunately, moving your faders slowly creates hundreds of Undo-steps, as each event is a new action to QLab.