How to detect Acceleration of Rotary Encoders?

Post Reply New Topic
RELATED
PRODUCTS

Post

Hello,

How do I incorporate Acceleration of Relative Encoders into my script?

I'm modifying Tom's bidirectional generic script. I incorporated Kontrol S's "if >64, increment, if <64, decrement" code into it, so that I can use Two's Complement relative encoders instead of absolute 7-bit CC encoders. I also figured out how to change the step-size of the increase/decrease.

Now I'd like to take advantage of my Electra One controller's acceleration. I'm a beginner coder & learning slowly as I try to incorporate these basic functions.

Post

Fenrok wrote: Thu Feb 20, 2025 8:55 pm Hello,

How do I incorporate Acceleration of Relative Encoders into my script?

I'm modifying Tom's bidirectional generic script. I incorporated Kontrol S's "if >64, increment, if <64, decrement" code into it, so that I can use Two's Complement relative encoders instead of absolute 7-bit CC encoders. I also figured out how to change the step-size of the increase/decrease.

Now I'd like to take advantage of my Electra One controller's acceleration. I'm a beginner coder & learning slowly as I try to incorporate these basic functions.
The accelleration should already be handled by the electra one. as it will just output more or less +/- depending on the midi controller itself. Of course you could build your own accelleration into a bitwig extension or define your own encoder speed based on the values coming in.
----------------------------------------------------------------------
/CTRL → http://slashctrl.io
Music & mixes → http://soundcloud.com/kirkwoodwest

Post

Instead of > 64 take - 64, instead of < 64 take as well - 64 and add the result to the momentary value…

Post Reply

Return to “Controller Scripting”