Jump to content

Recommended Posts

Posted (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 by Kaspars
Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...