First time poster ! I’m looking at the incrementer-decrimenter scripts and or the note incrementer and chord mapper examples for insight . Generally just want to control metronome volume in a step manner , up to a certain point and then ping pong, define the range , I find using a knob cumbersome and it’s not as accurate as stepping on a momentary switch that can get the volume just right , playing guitar here ; defined range of say 4 to 13 along those lines. how to wire it into system actions plugin as well ? there’s a midi but no midi in ?
I want to step on a momentary switch sending CC into midi in block and have the metronome volume increase or decrease (set range with ping pong ) by 1 each step .
Thanks in advance for any and all insight !
Bob
Hi @bobco631, welcome to the family
If I understand you requirement right,
you do not want a knob to turn up/down the metronome volume, but a button to step it up and another button to step it down?
1 Like
Hi Paul ! Indeed that would work wouldn’t it ? and define a certain range, I only need it to go so high and so low , it’s a small usable range , stepping by increments of one also ! Thank you !
Try this gig:
Metro.gig (47.8 KB)
And this is the script used:
//$<AutoDeclare>
// DO NOT EDIT THIS SECTION MANUALLY
Var
METRO : Widget
DOWN : Widget
UP : Widget
//$</AutoDeclare>
// Called when a single widget value has changed
On WidgetValueChanged(newValue : double) from UP
if newValue == 1.0 then
METRO.SetWidgetValue(Round((METRO.GetWidgetValue()+0.1)*10)/10.0)
end
End
// Called when a single widget value has changed
On WidgetValueChanged(newValue : double) from DOWN
if newValue == 1.0 then
METRO.SetWidgetValue(Round((METRO.GetWidgetValue()-0.1)*10)/10.0)
end
End
And with this setting you can define the lower and upper level of the Metronome
3 Likes
Wonderful ! Can’t wait to try this out at home ! Thank you so much , brilliant !
1 Like