Hello Rory,
I was wondering if you have any tips on how to achieve this particular thing. I’m trying to move the “gain”-channel in increments that are defined in the cabbage portion of the code. Obviously works great with just a knob, but when I use the xy-pad to control it, the increment-value changes because you can’t change xy-pad range at runtime.
So what I’m trying to do is perhaps rounding the value up when the xy-pad hits the specified “gain”-increment value, which would then make the knob jump up to the next increment then.
XYIncrements.csd (810 Bytes)



Taht saves me some time. Regarding how to best avoid all those if statements? I would put all the kvalues I want into an array and then use the kx values to choose what I want: