Kaspars Posted February 18, 2012 Report Share Posted February 18, 2012 (edited) Hello! I recently bought CDJ1000 jog wheel assembly off ebay. Interfaced it to my PIC18F452 as guided in this topic: But resolution or should i say "sensitivity" is to high for cueing track like on real 12" or let`s just say dont feel like one. I set encoder sensitivity in Traktor to 1% ! and even then it`s to sensitive because that jog has lots of steps per revolution. Is there way to scale down this resolution using software divider? I`m wondering maybe there is some way to utilize "MIOS Rotary Encoder Handler" for reading this encoder like regular one only without 1ms limitation? It would be nice because it has that "MIOS_ENC_SPEED_SLOW" feature! If i`m getting this right "MIOS Rotary Encoder Handler" reads only shift register pins defined in MIOS_ENC_TABLE and as i understand only in intervals of 1ms or more because shift registers are read in intervals of 1ms. But this is not limitation of handler itself and imho if i could somehow tell or trick MIOS_ENC_TABLE to treat PIC pins 23;24 as one encoder "MIOS Rotary Encoder Handler" will do the trick. Or not? ;) Maybe some C guru has an idea? Edited February 18, 2012 by Kaspars Quote Link to comment Share on other sites More sharing options...
Kaspars Posted February 18, 2012 Author Report Share Posted February 18, 2012 Hmm right now testing my version of jog wheel code without acceleration. ///////////////////////////////////////////////////////////////////////////// // Send HI RES ENCODER MIDI MESSAGE ///////////////////////////////////////////////////////////////////////////// if (!(oldsensordirection == 0 && sensordirection==0)){ MIOS_MIDI_TxBufferPut(0xb1); MIOS_MIDI_TxBufferPut(1 + shift); if (sensordirection > 0) { MIOS_MIDI_TxBufferPut(0x41); } if (sensordirection < 0) { MIOS_MIDI_TxBufferPut(0x3f); } Now it feels more natural :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.