EncoderTool icon indicating copy to clipboard operation
EncoderTool copied to clipboard

Added dynamic velocity to make it easier to set large values

Open rdridder opened this issue 6 months ago • 1 comments

Hi Luni64,

I am using your library and it is a great library for using encoders. I am using the shift register approach with the 74HC165 shift registers.

I am creating a software synthesizer and I need to set parameters with different ranges. For the menu's I am using 4 steps to cycle between the menu's. For the sequencer steps I need to be able to use a range of 1..64 steps and for the filter parameters such as cutoff I need to be able to set parameters between 0..127. When I need to set values with a large spread, 0..127 for example it is very tedious to turn the encoders, I have added progressive velocity to the library. I have created an enum: AccelerationMode where you can set the acceleration mode. Default is none but when choosing SLOW, MEDIUM or FAST the encoders will check when the last time delta was registered and add a multiplier depending on how fast the encoder is turned.

I am not sure if you like this addition or want to include it but please check if this might be a useful addition.

Regards,

Ron

rdridder avatar Jul 06 '25 11:07 rdridder

Thanks, that looks good. I'll test it over the weekend

luni64 avatar Jul 09 '25 16:07 luni64