Convert Endless Encoder (Jog Wheel)


    Oct 08 2013 | 8: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?

    • Oct 08 2013 | 9:02 pm
      What does the output currently look like?
    • Oct 08 2013 | 9: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..
    • Oct 08 2013 | 9: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.
    • Oct 08 2013 | 10: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 :)
    • Oct 10 2013 | 4:11 am
      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
    • Oct 10 2013 | 6:15 am
      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.
      Chris.
    • Oct 10 2013 | 10:32 am
      or like this:
      Brendan
    • Oct 10 2013 | 11:35 am
      Another way...
    • Oct 10 2013 | 7: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 :)
    • Oct 25 2013 | 9:42 am
      Thanks everyone for your time and help. The code below seemed to work best.