atmel_fan Posted July 14, 2003 Report Posted July 14, 2003 Hello!!!I make jog wheel (based on pc-mouse opto-encoder) and use  in my project midi transport controller (used at89c2051 and 24mhz crystal). I have question, how work Jog wheel in Logic control. In Midi implementation is write , ( b0, 3c, xx ) xx - ( 0svvvvvv)    s - direction bit  (0-cklockwise, 1-couter clockwise)    vv - number of ticks ( 1-3f value)I know what is this.... but. When I turn jog wheel my midi controller send (b0,3c,01) one tiks to logicaudio. How to send ticks value in slow or fast turning wheel.  how to calculate turn speed ticks? Ps. sorry for my english I'm from Poland... thanx
TK. Posted July 14, 2003 Report Posted July 14, 2003 Hi,just measure the number of cycles between two encoder pulse transitions. Than lower this value, than higher the rotation speed. Unfortunately Mackie didn't specify an equation for the "number of ticks" conversion, but from my experience a maximal number of vv=3 for full speed (==minimum number of cycles between two transitions) works fine. Best Regards, Thorsten.
atmel_fan Posted July 15, 2003 Author Report Posted July 15, 2003 Hi, thanx for answer...Value of 'vv' ticks is between 1-63 , I write in last post in hex value (1-3F),... How to measure the number of cycles between two encoder pulse transitions?... I must calculate on a timer or something else ? help me... wtitte me some example .....
TK. Posted July 17, 2003 Report Posted July 17, 2003 Possibly the answer would be easier for me and more understandable for you, if you could explain how your current solution works so that I only have to write which enhancements are required.Best Regards, Thorsten.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now