Some of the knobs in my modules use custom tapers. For example, when the user turns a DURATION knob, my modules apply a custom taper to compute the duration.
The custom taper means that I can’t use the param configurations’ built-in linear/exponential mappings.
I would like to make sure the knob rotation and the display value always correspond. Given the knob rotation, I can compute the corresponding duration. Given a duration, I can compute the corresponding rotation.
When the user turns the knob, how can I set its display value to reflect the computed duration?
When the user enters a duration via the keyboard, how can I set the knob’s rotation to reflect the computed rotation?
It’s not obvious to me how to do this. If it’s possible, I’m sure I can figure it out eventually. I’m not sure I can figure it out before v1 launches.