Page 1 of 1

Traktor: trying to find the perfect jog dial emulation

Posted: 18 May 2012 19:58
by Rygen
Hi,

I've been trying to find a way of using an endless knob in Lemur to mimic the scratch behaviour of a jog dial on a cdj.
So far the normal "Knob" object set as endless, and mapped in Traktor as Scratch and set as Fader/Knob - Relative, held the best results
However, there's a problem with it: It sends out continuous values and Traktor only responds when it's inside the 0 to 1 range.
Do you suggest any work around?
I've thought of a script to make it output only values in the 0 to 1 range, but I don't know how to write such script.
Making it a 14bit controller would also improve it's response to very small/precise movements.

Please check the attached module and test it with Traktor Pro 2:
Test_endless_knob.jzlib
(3.12 KiB) Downloaded 158 times
On Traktor you'll just need to map "Transport > Scratch" to Ch04.CC.000 and set is as Fader/Knob > Relative. Then for the button to work, map "Transport > Scratch On" to Ch04.CC.001

I've also tried using the Rotary Encoder module provided here, with the grid setting disabled. I've set it as an Encoder on 3Fh/41h mode and with approx 22% Sensitivity and 0% Acceleration.
The problem with that one is that movement is a bit jagged and feels unnatural. It also doesn't respond to movements with different speeds accordingly. The one mentioned in the first paragraph responds much more naturally. Macciza has also tried this Rotary Encoder with some acceleration values but couldn't get it to make much of an effect.
But maybe this one can be made to work better, with more scripting work.

Thanks in advance!

Cheers,
R

Re: Traktor: trying to find the perfect jog dial emulation

Posted: 20 May 2012 03:34
by Macciza
Hi

I'm presuming we are mapping to 'Seek Position' in Traktors settings.
One issue here is that with the Knob it ends up being a 0-1 mapping across the length of the track
Making it 14 bit by copying over and editing the code from the 14 bit fader would help resolution wise.
One work around here is simply to use a standard Knob as that is what in effect is being done.
Perhaps a horizontal Slider would be better and is how some have tackled this.

Do you want a 'multi-turn' approach? Acceleration etc? Scratching?
Ordinarily it would be the Encoder-style approach, which I think is a better avenue to pursue.
Either a multi-turn knob or a 'shuttle' style where up is 0 and left or right from there is increment/decrement at varying speeds.

For the Monitor - all you need is Scratch.x to show its value - x is a variable not an attribute.
Scratch.x%1 returns the decimal part only - % = modulo . . .

Cheers
MM

Re: Traktor: trying to find the perfect jog dial emulation

Posted: 20 May 2012 19:17
by Rygen
No. What I'm mapping the endless knob to is the Scratch function. Please read my first paragraph to be able to reproduce the behavior and issue.
For "Seek Position" I'm using a horizontal fader, in my opinion it made more sense, as you can set its behaviour to "cap only" and prevent unwanted skips.

Thanks

Re: Traktor: trying to find the perfect jog dial emulation

Posted: 29 Jun 2012 16:29
by Rygen
Has anyone managed to get a good jog dial emulation using Lemur, scratch-wise?