novation sl encoders to control dials in Max

    Apr 26 2011 | 7:13 pm
    hello i am trying to make the 8 rotary encoders on a novation remote 25 sl control the various dials in a max patch i am using a midiin object and midiparse object to get the control change value and an unpack object. however moving an encoder on the midi keyboard simply makes the dial glitch. i think the problem may be because the encoders do not have a limit i.e they can be turned an infinite amount. can anybody suggest a workaround for this problem? thanks in advance

    • Apr 27 2011 | 6:10 am
      Rotary encoders do not create values directly, they tell you simply in which direction you moved them. Out of the numbers form such controllers you have to calculate your values. I have some abhaXions in my St.ools collection which do that. (dtlin for example) Basically, use accum and interpret values higher than 63 as negative values... (127 means -1, 126 means -2...) easier than midiin and midiparse is ctlin btw...
    • Apr 27 2011 | 12:31 pm
      This is one way to do it: