But as I turn the QC I see in the Parameter List that VolumedBControl doesn’t change at all. What am I doing wrong? With this I just would like to tweak and pick necessary values of VolumedBControl without creating a MacroPage knob, just using a built-in QC knob. Is it possible?
The mode is Absolute, but I see that Quick Control Parameter is indicated as “invalid” and Affected Layers/Modules field is wrong (it’s set to Layer 1, meanwhile it should be Lua Script module, I think)
I’ve created a Knob at the MacroPage using the factory template. Connected it to VolumedBControl parameter and the Knob works as expected. But when I right-click it and assign to QC1, the QC1 knob itself doesn’t affect neither VolumedBControl parameter nor the MacroPage knob. Although the QC1 label fetches the VolumedBContro name and is shown in the popup tool-tip. Strange…
Just tried assigning a script parameter to a quick control. It works but you should probably set the scope (last argument of addQCAssignment) to the script module instead of layer.
When set to relative mode it doesn’t show any change in parameters list but it works. The parameter callback was executed when moving the quick control.
Also when assigning quick controls from the script you may want to check if the assignment already exists to avoid duplicate assignment.
Also I’m a bit perplexed should the Lua module and layer be at the same tree level or the layer should be the parent one while module must be its child?
Yes, it worked. Thanks! Could you please explain one thing:
In addQCAssignment the last argument is the element to be affected by QC (the MidiModule in my case). It’s like a target. And this.parent:addQCAssignment() is the source chosen (a QC knob of Program layer). But what is exactly the second argument in simple words? Which according to the manual is “The Element object of the parameter to be connected”. Why is it again the MidiModule?