Jump to content

CDJ1000 Jog wheel resolution scaling


Kaspars
 Share

Recommended Posts

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 by Kaspars
Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...