Changing Arp settings with buttons ?
-
Was looking at creating buttons to change the steps in an arpeggiator, but I have no clue on how to set up the buttons to do this.
Using a knob was simple enough to change the value of steps but if I had 4 buttons to change from 8 steps, 16, 24 and 32, I dont know how to call for the change from each button.
Can someone please show me how this is done ?
Thank you to whoever has the time ! -
@Dalart so to use a slider(knob) you'd do this:
inline function onArpStepsControl(component, value) { // Arpeggiator1.setAttribute(Arpeggiator1.NumStepSlider,value); };
to use a button to set the number of steps to (say) 4 you'd do this
inline function onFourStepsControl(component, value) { // Arpeggiator1.setAttribute(Arpeggiator1.NumStepSlider,4); };
-
@Lindon I see, thanks a bunch.