Hi cyrille,

thanks for your patch.

It seems that turning the knob faster sends the values faster but bound to the rotation angle. No inteligent logic in that. 

So I added the time since the last value change into the patch.

Now I can get faster value changes when turning faster and on the other hand more precise and slower changes when turning slower. Works quite well so far.

Cheers,
Robert




---- On Sa, 22 Okt 2016 15:18:19 +0200cyrille henry <ch@chnry.net> wrote ----

here is a quick example of how i would do this.

I suspect that turnig the knob faster would send other value. with few math you could directlly convert the value send to increment value.

cheers
c


Le 22/10/2016 à 15:04, Robert Grah a écrit :
> Hi,
>
> I lately got a Doepfer Pocket Dial Midi controller which uses endless rotary encoders.
> I switched it to the send increase and decrease values instead of normal 0-127 midi values.
>
> I get the values with ctlin first out is the channel second is 96 while left rotation or 97 during right rotation.
> Is there a good way to handle those values easily to increase an f?
>
> I thought about a combination out of select and moses but maybe there is someone who has something better???
>
> Cheers,
> Robert
>
>
> _______________________________________________
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
>
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list