Mapping something (e.g. loop size/out) to jog wheel

1356724

Answers

  • Sûlherokhh
    Sûlherokhh Member, Traktor Mapping Mod Posts: 2,831 mod

    5-8 is good. I set it so every deck will use a different knob/button, Deck A will activate #5, Deck C #7 (left jogwheel), Deck B #6 and Deck D #8.

  • MadLee
    MadLee Member Posts: 13 Member
    edited June 2023

    Yes! It completely works. It just would be nice if it were a little bit faster (less movement, shorter/wider loop) if that's possible

  • Sûlherokhh
    Sûlherokhh Member, Traktor Mapping Mod Posts: 2,831 mod


    I adjusted this (line 146-147):

           const minimalTickValue = 0.001;
           const rotationScaleFactor = 200;
    

    to this:

           const minimalTickValue = 0.0005;
           const rotationScaleFactor = 400;
    

    The first number is how much minimum turning is needed for any movement, The second number is the coarseness (how much movement per turning tick).

    So, double sensitivity, twice the movement rate. If the loop is shrinking on it's own again, increase the minimalTickValue.


  • MadLee
    MadLee Member Posts: 13 Member

    Ok. Huge Thanks!

  • Stevan
    Stevan Traktor Mapping Mod Posts: 2,043 mod

    Do you have access to modifiers in there??

    If so, then don't waste any midi buttons and use a modifier for the Touch message.

  • Sûlherokhh
    Sûlherokhh Member, Traktor Mapping Mod Posts: 2,831 mod

    Nope. The modifiers are out of reach.

    Just spent an hour finding a bug. It just needed to import a basic library to get me access to a basic function, and i was wondering why i always get a crash. ^^.

    Test version done:

    location is: '...\Native Instruments\Traktor Pro 3\Resources64\qml\CSI\S4MK3\S4MK3Deck.qml'. As always, put the original someplace safe.

    knob value is 0.5 in the middle, going below when turning counterclock, going above when turning clockwise (couldn't manage to use 0.0 and 1.0). Value goes to zero when you stop for 100 ms. If this is too long, i can shorten it.

    Touch sets button value to 1.0 (Hold)

    All of it replaces the GRID function. You have to hold GRID for it to work.

    Enjoy.

  • Stevan
    Stevan Traktor Mapping Mod Posts: 2,043 mod

    I did not realize that you have to hold the GRID button down. No way to toggle it?

    Since it is a momentary button situation, it is not going to work with the jog fx concept.

    Thank you for taking time, I will definitely give this a try and report back!

  • Stevan
    Stevan Traktor Mapping Mod Posts: 2,043 mod

    I can fix the left-side grid button with one of these :)

  • Sûlherokhh
    Sûlherokhh Member, Traktor Mapping Mod Posts: 2,831 mod
    edited June 2023

    I can make it a toggle. Should be really easy. I think. ^^

    EDIT: ...

    You have to check if it works, i just packed up my S4Mk3 really carefully and put it in storage again...

  • Sûlherokhh
    Sûlherokhh Member, Traktor Mapping Mod Posts: 2,831 mod

    I noticed the Hotcue Button LED is set to white while using the S3 file. I added the deck colour in this upload. If you like, i can move the function from the Hotcue button to any other button?


  • Stevan
    Stevan Traktor Mapping Mod Posts: 2,043 mod

    I checked the qml today. The concept definitely works and I could get midi sent from the jogwheel.

    Grid button is toggle as well.

    There are also a couple of issues currently.

    1. The rotary acceleration is not equal in both directions. Left side turn is much more faster.
    2. Ghost notes are triggered. Moving to the left triggers values (65-127 sometimes)
    3. Haptic feedback is not disabled when grid button is activated.
    4. Value jumping 63-65 when jog wheel is static.

    Would certainly need more work before it is ready to get into the Controller Manager side. Good to know it is possible.

  • Sûlherokhh
    Sûlherokhh Member, Traktor Mapping Mod Posts: 2,831 mod

    There are several different EncoderAdapters with several different arguments each. I'll need to fiddle around with it to get it to not jump around with the values. And yeah, i just didn't think about disableing the haptic feedback... ^^

    I have encountered those ghost notes. ➔ For static jogwheel we'll need to increase the minimum move value before any trigger. Those jogwheels are really sensitive.

    I'll dive in again the next free afternoon. There is an elegant solution waiting to be discoverd.

    🦋

  • Stevan
    Stevan Traktor Mapping Mod Posts: 2,043 mod

    Can we try something different? Instead of dealing with the range/direction mapping, is it possible to come up with just a basic relative message for the MIDI Knobs?

    I could then use the 'jog touch' to map the initial value for the MIDI Knob and then adjust the knob values with the jog wheel.

    That could solve some issues.

  • Sûlherokhh
    Sûlherokhh Member, Traktor Mapping Mod Posts: 2,831 mod

    Definitely yes. I made a custom MasterTempo control toggle for the jogs on Joe's mod a while back. So it should be possible to use the wheel as a simple encoder.

    You want it to work like the DJTT S4Mk1+2 custom map JogFX from way back when, right? In that case i suggest to have ANY jogwheel (irrespective of Deck designation) to adjust Knobs 5-8 at once, each with a slightly different sensitivity. Touch function (for Buttons 5-8) can still be per deck, so as to not only initialize the effects, but also to give you 4 different midi signals to trigger the channel gates.

    Is that how you imagine it?

  • Stevan
    Stevan Traktor Mapping Mod Posts: 2,043 mod

    That is correct, I don't scratch and would like to use the jogwheel for controlling other features. It is big part of how I play and default mapping renders the S4 MK3 useless unless we can make this working.

    Definitely keep the current model where each deck has unique input for the encoder message if it is possible.

Back To Top