What's the optimal algorithm for high precision endless encoders?
I have some MIDI devices supporting endless encoders. I would like to use these for high precision parameter control.
There are two requirements:
1. High precision support
2. Ability to change the value drastically
After two evenings of experimenting I've come up with the code below. It looks to work well with Arturia SparkLE encoders. It expects a list with CC number and CC value, with the sign bit on the seventh position. It will output the same format, but with accelleration for quick movements.