I’m not a CC121 owner, but based on your description about the ±6 steps (?) based on the speed of movement, (by the way, I don’t quite understand this; Isn’t it obvious that the faster you turn a knob, the bigger the step? But anyway, again, I don’t really know anything about it, it may be some kind of accelerated functionality) here’s what I would suggest:
Inspect your knob inside an mOnProcessValueChange, by always console.logging the arguments:
Once you do this, you can get a better feel (or even a precise one) on the knob’s behaviour by checking both value/diff variables. The first should give you the range, the other one the “velocity” of turning this knob.
Now, say, you find out that this diff is of no importance, and you want to provide a change to your hostValue even at its smaller fraction.
You’ll need a custom Variable defined as (just an example):
Back to your mOnProcessValueChange of your knob, you can now have this:
Finally, instead of binding the original knob, you have to bind this new custom variable to your host value:
Enough with snippets, I get back to my first post: I really insist on getting in touch with the user who wrote the original script. Maybe your suggestion/notice would be beneficial to the community using the initial script, maybe not. BUT the way I see it (and this happens with every new API, not just this one here) collaboration maximises the benefit for all users