Forums > MaxMSP

Infinite midi Knob

June 3, 2011 | 9:39 am

hello, i just connected my reloop midi controller to max msp, my idea is to control with an infinite knob the frame of the video, allowing me to navigate through my clip. now the problem… my infinite knob output only 3 numbers instead of the classic 0-127 midi scale… it gives me a number when is stopped, a number when i rotate it to the right and a number when i rotate it to the left… it’s possible to scale this valor to navigate with loop on my video? hope someone can help me!
Petar



EMV
June 3, 2011 | 9:55 am

If it’s anything like in this (http://cycling74.com/forums/topic.php?id=32872) topic, you can use the patch I posted there to make an increasing or decreasing number from your endless encoder output.


June 3, 2011 | 10:28 am

mmm it works when i rotate right…. i rotate and he subtract 1, but when i rotate left, it adds 63…… i’m not expert, maybe something not working on the subpatch?


June 4, 2011 | 1:07 pm

be happy that your infinite knob does not output 0-127 – I hate those which do so !!! the "right" way for them to work (in my opinion of course) is the way it did on the old Doepfer dial control – a different number for turnig right and left (which is what yours does)
than simply add ONE each time the "up" number arrives and minus ONE each time you turn left… building an accelerometer (which, when turned quickly makes steps of 5 or 10) would not be difficult either

best

kasper


June 4, 2011 | 9:00 pm

Would something like this work? Just replace the values in the route object with the ones the controller provides.

– Pasted Max Patch, click to expand. –


June 4, 2011 | 9:12 pm

@Nate : thanks a lot for your patch. I was about to ask to Kasper to elaborate a little bit as I have those knobs he hates. The time to login and you post the answer I was looking for !
It works well for me.


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