I would like to use buttons ( like on the nord electro) to control the drawbars of my Hammond b3x plugin up and down. Is there a wat to do this. Like 8 pushes drawbar full out, 4 pushes half out.
Var
B32 : Widget
STB1 : Widget
STB2 : Widget
v_val : double
// Called when a single widget value has changed
On WidgetValueChanged(newValue : double) from STB1
if newValue == 1.0 then
v_val = GetWidgetValue(B32)
if v_val < 1.0 then
B32.SetWidgetValue(v_val + 1.0/8)
end
end
End
// Called when a single widget value has changed
On WidgetValueChanged(newValue : double) from STB2
if newValue == 1.0 then
v_val = GetWidgetValue(B32)
if v_val > 0.0 then
B32.SetWidgetValue(v_val - 1.0/8)
end
end
End