Forums > MaxMSP

Convert Endless Encoder (Jog Wheel)

October 8, 2013 | 1:45 pm

Looking to use a Vestax Jog Wheel to control simple effects like filters etc.. Is there a possible solution to convert the input to scale "0 – 127" smoothly?


October 8, 2013 | 2:02 pm

What does the output currently look like?


October 8, 2013 | 2:07 pm

I get a flash of digits when I move the control that set back to 60 when I let it go.

I have tried using "f0.rotary – for endless rotary encoders" but this gives me a random output also..


October 8, 2013 | 2:39 pm

please hook it up to print, and then copy a piece of the stream in here, so we can see what’s going on.


October 8, 2013 | 3:31 pm

I will get this done for you guys tomorrow, as I do not have the controller here right now.

Thank you for your time :)


October 9, 2013 | 9:11 pm

Hi, here is a piece of the stream, winding up, then down on the jogwheel.

print: 65.000000
print: 65.000000
print: 65.000000
print: 65.000000
print: 66.000000
print: 67.000000
print: 67.000000
print: 68.000000
print: 68.000000
print: 68.000000
print: 69.000000
print: 69.000000
print: 69.000000
print: 70.000000
print: 69.000000
print: 70.000000
print: 70.000000
print: 70.000000
print: 70.000000
print: 71.000000
print: 70.000000
print: 71.000000
print: 71.000000
print: 71.000000
print: 72.000000
print: 71.000000
print: 72.000000
print: 71.000000
print: 72.000000
print: 72.000000
print: 72.000000
print: 72.000000
print: 73.000000
print: 72.000000
print: 73.000000
print: 72.000000
print: 73.000000
print: 73.000000
print: 73.000000
print: 73.000000
print: 73.000000
print: 74.000000
print: 73.000000
print: 73.000000
print: 74.000000
print: 73.000000
print: 73.000000
print: 74.000000
print: 73.000000
print: 74.000000
print: 73.000000
print: 74.000000
print: 73.000000
print: 74.000000
print: 74.000000
print: 74.000000
print: 74.000000
print: 74.000000
print: 75.000000
print: 74.000000
print: 75.000000
print: 75.000000
print: 74.000000
print: 75.000000
print: 75.000000
print: 75.000000
print: 75.000000
print: 75.000000
print: 75.000000
print: 76.000000
print: 75.000000
print: 75.000000
print: 76.000000
print: 76.000000
print: 75.000000
print: 76.000000
print: 76.000000
print: 76.000000
print: 75.000000
print: 76.000000
print: 76.000000
print: 76.000000
print: 76.000000
print: 77.000000
print: 76.000000
print: 76.000000
print: 77.000000
print: 77.000000
print: 77.000000
print: 77.000000
print: 77.000000
print: 77.000000
print: 77.000000
print: 78.000000
print: 78.000000
print: 78.000000
print: 77.000000
print: 78.000000
print: 78.000000
print: 78.000000
print: 77.000000
print: 78.000000
print: 78.000000
print: 77.000000
print: 77.000000
print: 77.000000
print: 77.000000
print: 77.000000
print: 77.000000
print: 76.000000
print: 76.000000
print: 77.000000
print: 76.000000
print: 76.000000
print: 76.000000
print: 76.000000
print: 76.000000
print: 76.000000
print: 75.000000
print: 76.000000
print: 76.000000
print: 75.000000
print: 76.000000
print: 76.000000
print: 75.000000
print: 76.000000
print: 75.000000
print: 75.000000
print: 76.000000
print: 75.000000
print: 74.000000
print: 75.000000
print: 75.000000
print: 75.000000
print: 74.000000
print: 74.000000
print: 74.000000
print: 75.000000
print: 74.000000
print: 74.000000
print: 73.000000
print: 74.000000
print: 74.000000
print: 74.000000
print: 74.000000
print: 74.000000
print: 74.000000
print: 75.000000
print: 74.000000
print: 75.000000
print: 75.000000
print: 75.000000
print: 75.000000
print: 75.000000
print: 75.000000
print: 75.000000
print: 76.000000
print: 76.000000
print: 75.000000
print: 76.000000
print: 76.000000
print: 76.000000
print: 76.000000
print: 76.000000
print: 76.000000
print: 76.000000
print: 77.000000
print: 76.000000
print: 77.000000
print: 77.000000
print: 77.000000
print: 77.000000
print: 77.000000
print: 78.000000
print: 77.000000
print: 78.000000
print: 77.000000
print: 78.000000
print: 78.000000
print: 78.000000
print: 78.000000
print: 78.000000
print: 78.000000
print: 78.000000
print: 78.000000
print: 78.000000
print: 77.000000
print: 78.000000
print: 78.000000
print: 78.000000
print: 77.000000
print: 78.000000
print: 77.000000
print: 77.000000
print: 78.000000
print: 77.000000
print: 76.000000
print: 76.000000
print: 76.000000
print: 76.000000
print: 76.000000
print: 75.000000
print: 75.000000
print: 75.000000
print: 75.000000
print: 75.000000
print: 75.000000
print: 74.000000
print: 75.000000
print: 75.000000
print: 76.000000
print: 75.000000
print: 76.000000
print: 76.000000
print: 76.000000
print: 77.000000
print: 77.000000
print: 77.000000
print: 77.000000
print: 78.000000
print: 78.000000
print: 78.000000
print: 79.000000
print: 79.000000
print: 79.000000
print: 80.000000
print: 79.000000
print: 80.000000
print: 80.000000
print: 80.000000
print: 80.000000
print: 81.000000
print: 80.000000
print: 80.000000
print: 80.000000
print: 80.000000
print: 80.000000
print: 80.000000
print: 80.000000
print: 80.000000
print: 79.000000
print: 80.000000
print: 80.000000
print: 80.000000
print: 79.000000
print: 80.000000
print: 80.000000
print: 79.000000
print: 79.000000
print: 80.000000
print: 79.000000
print: 79.000000
print: 79.000000
print: 79.000000
print: 79.000000
print: 78.000000
print: 78.000000
print: 78.000000
print: 77.000000
print: 78.000000
print: 76.000000
print: 77.000000
print: 75.000000
print: 75.000000
print: 74.000000
print: 74.000000
print: 73.000000
print: 72.000000
print: 71.000000
print: 71.000000
print: 69.000000
print: 69.000000
print: 68.000000
print: 67.000000
print: 66.000000
print: 65.000000
print: 65.000000
print: 63.000000
print: 62.000000
print: 62.000000
print: 61.000000
print: 61.000000
print: 60.000000
print: 59.000000
print: 60.000000
print: 58.000000
print: 58.000000
print: 57.000000
print: 57.000000
print: 56.000000
print: 56.000000
print: 55.000000
print: 54.000000
print: 54.000000
print: 53.000000
print: 54.000000
print: 52.000000
print: 52.000000
print: 52.000000
print: 51.000000
print: 51.000000
print: 50.000000
print: 50.000000
print: 50.000000
print: 49.000000
print: 50.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 50.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 48.000000
print: 49.000000
print: 49.000000
print: 48.000000
print: 48.000000
print: 49.000000
print: 48.000000
print: 48.000000
print: 47.000000
print: 48.000000
print: 47.000000
print: 47.000000
print: 47.000000
print: 47.000000
print: 47.000000
print: 47.000000
print: 47.000000
print: 46.000000
print: 47.000000
print: 47.000000
print: 46.000000
print: 47.000000
print: 47.000000
print: 47.000000
print: 46.000000
print: 47.000000
print: 46.000000
print: 45.000000
print: 45.000000
print: 45.000000
print: 43.000000
print: 43.000000
print: 43.000000
print: 42.000000
print: 42.000000
print: 41.000000
print: 41.000000
print: 41.000000
print: 41.000000
print: 40.000000
print: 41.000000
print: 41.000000
print: 41.000000
print: 40.000000
print: 41.000000
print: 42.000000
print: 41.000000
print: 42.000000
print: 41.000000
print: 42.000000
print: 42.000000
print: 42.000000
print: 43.000000
print: 42.000000
print: 43.000000
print: 44.000000
print: 44.000000
print: 45.000000
print: 45.000000
print: 45.000000
print: 45.000000
print: 46.000000
print: 46.000000
print: 46.000000
print: 46.000000
print: 46.000000
print: 46.000000
print: 47.000000
print: 47.000000
print: 47.000000
print: 47.000000
print: 48.000000
print: 47.000000
print: 48.000000
print: 48.000000
print: 48.000000
print: 48.000000
print: 48.000000
print: 49.000000
print: 48.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 50.000000
print: 49.000000
print: 49.000000
print: 50.000000
print: 49.000000
print: 49.000000
print: 48.000000
print: 49.000000
print: 48.000000
print: 48.000000
print: 47.000000
print: 47.000000
print: 47.000000
print: 46.000000
print: 46.000000
print: 46.000000
print: 45.000000
print: 45.000000
print: 45.000000
print: 44.000000
print: 45.000000
print: 44.000000
print: 45.000000
print: 45.000000
print: 46.000000
print: 46.000000
print: 46.000000
print: 46.000000
print: 47.000000
print: 47.000000
print: 48.000000
print: 47.000000
print: 48.000000
print: 48.000000
print: 48.000000
print: 48.000000
print: 48.000000
print: 48.000000
print: 48.000000
print: 48.000000
print: 48.000000
print: 47.000000
print: 48.000000
print: 47.000000
print: 47.000000
print: 46.000000
print: 47.000000
print: 46.000000
print: 46.000000
print: 45.000000
print: 45.000000
print: 44.000000
print: 45.000000
print: 44.000000
print: 44.000000
print: 43.000000
print: 44.000000
print: 43.000000
print: 44.000000
print: 44.000000
print: 44.000000
print: 44.000000
print: 44.000000
print: 44.000000
print: 44.000000
print: 44.000000
print: 45.000000
print: 44.000000
print: 45.000000
print: 44.000000
print: 46.000000
print: 45.000000
print: 45.000000
print: 45.000000
print: 45.000000
print: 46.000000
print: 46.000000
print: 46.000000
print: 46.000000
print: 46.000000
print: 47.000000
print: 47.000000
print: 47.000000
print: 47.000000
print: 46.000000
print: 47.000000
print: 48.000000
print: 46.000000
print: 47.000000
print: 47.000000
print: 46.000000
print: 46.000000
print: 46.000000
print: 45.000000
print: 45.000000
print: 45.000000
print: 43.000000
print: 43.000000
print: 43.000000
print: 42.000000
print: 41.000000
print: 41.000000
print: 41.000000
print: 41.000000
print: 40.000000
print: 41.000000
print: 42.000000
print: 41.000000
print: 42.000000
print: 43.000000
print: 43.000000
print: 43.000000
print: 44.000000
print: 44.000000
print: 45.000000
print: 45.000000
print: 45.000000
print: 46.000000
print: 47.000000
print: 46.000000
print: 47.000000
print: 47.000000
print: 48.000000
print: 48.000000
print: 48.000000
print: 48.000000
print: 49.000000
print: 50.000000
print: 49.000000
print: 49.000000
print: 50.000000
print: 50.000000
print: 51.000000
print: 50.000000
print: 50.000000
print: 51.000000
print: 50.000000
print: 51.000000
print: 51.000000
print: 50.000000
print: 50.000000
print: 50.000000
print: 49.000000
print: 48.000000
print: 48.000000
print: 47.000000
print: 45.000000
print: 44.000000
print: 44.000000
print: 42.000000
print: 41.000000
print: 40.000000
print: 38.000000
print: 37.000000
print: 36.000000
print: 35.000000
print: 34.000000
print: 32.000000
print: 33.000000
print: 33.000000
print: 32.000000
print: 33.000000
print: 33.000000
print: 34.000000
print: 33.000000
print: 33.000000
print: 33.000000
print: 34.000000
print: 32.000000
print: 34.000000
print: 34.000000
print: 34.000000
print: 34.000000
print: 34.000000
print: 35.000000
print: 35.000000
print: 35.000000
print: 36.000000
print: 36.000000
print: 36.000000
print: 36.000000
print: 37.000000
print: 37.000000
print: 37.000000
print: 37.000000
print: 38.000000
print: 38.000000
print: 38.000000
print: 38.000000
print: 39.000000
print: 39.000000
print: 39.000000
print: 39.000000
print: 40.000000
print: 40.000000
print: 40.000000
print: 40.000000
print: 41.000000
print: 41.000000
print: 41.000000
print: 41.000000
print: 41.000000
print: 42.000000
print: 42.000000
print: 43.000000
print: 42.000000
print: 43.000000
print: 43.000000
print: 44.000000
print: 43.000000
print: 44.000000
print: 44.000000
print: 45.000000
print: 44.000000
print: 45.000000
print: 45.000000
print: 45.000000
print: 46.000000
print: 45.000000
print: 46.000000
print: 46.000000
print: 46.000000
print: 47.000000
print: 46.000000
print: 47.000000
print: 47.000000
print: 47.000000
print: 47.000000
print: 48.000000
print: 48.000000
print: 47.000000
print: 48.000000
print: 49.000000
print: 48.000000
print: 49.000000
print: 48.000000
print: 49.000000
print: 49.000000
print: 49.000000
print: 50.000000
print: 49.000000
print: 50.000000
print: 50.000000
print: 50.000000
print: 50.000000
print: 50.000000
print: 50.000000
print: 51.000000
print: 51.000000
print: 51.000000
print: 51.000000
print: 51.000000
print: 51.000000
print: 52.000000
print: 51.000000
print: 52.000000
print: 52.000000
print: 52.000000
print: 52.000000
print: 52.000000
print: 52.000000
print: 53.000000
print: 53.000000
print: 52.000000
print: 53.000000
print: 54.000000
print: 53.000000
print: 53.000000
print: 54.000000
print: 53.000000
print: 54.000000
print: 54.000000
print: 54.000000
print: 54.000000
print: 54.000000
print: 55.000000
print: 54.000000
print: 55.000000
print: 55.000000
print: 55.000000
print: 55.000000
print: 55.000000
print: 55.000000
print: 56.000000
print: 55.000000
print: 56.000000
print: 55.000000
print: 56.000000
print: 56.000000
print: 56.000000
print: 56.000000
print: 57.000000
print: 56.000000
print: 57.000000
print: 56.000000
print: 57.000000
print: 57.000000
print: 57.000000
print: 57.000000
print: 57.000000
print: 57.000000
print: 58.000000
print: 57.000000
print: 58.000000
print: 57.000000
print: 58.000000
print: 58.000000
print: 58.000000
print: 58.000000
print: 58.000000
print: 58.000000
print: 59.000000
print: 58.000000
print: 59.000000
print: 58.000000
print: 59.000000
print: 59.000000
print: 58.000000
print: 59.000000
print: 59.000000
print: 59.000000
print: 60.000000
print: 59.000000
print: 59.000000
print: 60.000000
print: 59.000000
print: 60.000000
print: 59.000000
print: 60.000000
print: 60.000000
print: 60.000000
print: 60.000000
print: 60.000000
print: 60.000000
print: 61.000000
print: 60.000000
print: 60.000000
print: 61.000000
print: 61.000000
print: 60.000000
print: 61.000000
print: 61.000000
print: 61.000000
print: 61.000000
print: 61.000000
print: 61.000000
print: 61.000000
print: 62.000000
print: 61.000000
print: 61.000000
print: 62.000000
print: 62.000000
print: 61.000000
print: 62.000000
print: 62.000000
print: 62.000000
print: 62.000000
print: 62.000000
print: 62.000000
print: 62.000000
print: 63.000000
print: 62.000000
print: 62.000000
print: 63.000000
print: 63.000000
print: 62.000000
print: 63.000000
print: 63.000000
print: 63.000000
print: 63.000000
print: 63.000000
print: 63.000000
print: 63.000000
print: 63.000000
print: 63.000000
print: 63.000000
print: 63.000000
print: 63.000000


October 9, 2013 | 11:15 pm

Looks like the jog wheel would be at 64 at rest/centre?

Something like this? The output value increments/decrements every tick given the distance that your jog wheel is from centre ( ~64 ). You can change how aggressive this is by changing the time-base or by multiplying the incrementing value by a factor.

<code>

– Pasted Max Patch, click to expand. –

</code>

Chris.


October 10, 2013 | 3:32 am

or like this:

<code>

– Pasted Max Patch, click to expand. –

</code>

Brendan


October 10, 2013 | 4:35 am

Another way…

<code>

– Pasted Max Patch, click to expand. –

</code>


October 10, 2013 | 12:04 pm

Thank you everyone for your examples, I will try these out a soon as possible and get back to you.

really appreciate it :)


October 25, 2013 | 2:42 am

Thanks everyone for your time and help. The code below seemed to work best.

<code>

– Pasted Max Patch, click to expand. –

</code>


Viewing 11 posts - 1 through 11 (of 11 total)