Traktor - Mapping a "button release" modifier

DJ5D
DJ5D Member Posts: 27 Member
edited October 22 in Mapping Traktor

Hi,

I want to map a one-button style effect, where when the button is pressed, effects knob 1 increments to 100%, and when the button is released, the effects knob auto-decrements back to down a bit to 75%, zero, or whatever value I want.

The increment part is no problem, but initiating a gradual auto-decrement on release, this I cant figure out. I'm playing with modifiers and I can get it to do an instant jump back down, but I want it to be a smooth decrement.

Anyone know how to do this?

«1

Comments

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

    Do you use a MIDI controller with a stepped encoder, or an F1? The important thing about it is the ability to get a 'button' type control be assigned to the turn of a stepped encoder. If you can achieve that, then there is an easy way that i have often used in the past to assign continuous incremental or decremental change of a parameter using a button (the encoder will play no further part except to initialize the mapping).

  • DJ5D
    DJ5D Member Posts: 27 Member

    @Sûlherokhh I'm using a MFT for this.

    OK so I can assign an encoder using learn, to button 1 in the effects.

    Or I can add in button 1, but the only options are toggle, hold or direct.

    What is the "easy way"  to assign continuous incremental or decremental change of a parameter?

  • Sûlherokhh
    Sûlherokhh Member, Traktor Mapping Mod Posts: 2,827 mod
    edited June 6

    MFT has endless encoders, right?

    This works with stepped encoders, the ones i know work are from F1 and K2.

    You assign the encoder-turn to a parameter, declare it a button and choose the type inc or dec.

    You add the modifier condition (for example:) modifer #1 = 4. You have to check the option "Auto Repeat".

    Whenever modifier #1 has the value 4, the inc or dec automatically gets applied consecutively (with fraction of a second between application) without you even touching the encoder. Although, you have to turn the encoder ONCE after loading the mapping or starting Traktor.

    So, to finally trigger the gradual change of the parameter, you will only have to assign a button to temporarily set the modifier to 4 (or whatever you decide it should be). As soon as the condition stops being met, the gradual change stops.

    It should look like this in the end.

    Try it with the endless encoders. In TP 2.6.8 this worked with S2/S4 Mk1/2 encoders as well, but somewhere between then and today, NI disallowed Type:Button to be applied to forbidden encoder/knobs/faders. :/

    Edit: I tried this with FX parameters, and this is what it looks like. (Resolution will determine rate of change).

  • Sûlherokhh
    Sûlherokhh Member, Traktor Mapping Mod Posts: 2,827 mod
    edited June 6

    For your specific task (release the button, gradually reduce parameter) you can:

    add the assignment above for the FX parameter with modifier condition m1 = 1.

    make a copy of it for m1 = 2 to m1 = 7 (a total of 7). Note: when copying, it doesn't copy the AutoRepeat status. You will have to rechange it by hand.

    make an assignment to change m1 with the encoder as a button (like we did for the parameter), decremental, once.

    This will reduce m1 to zero always. But your button release can set it to 7, which will trigger m1 to go down stepwise until it reaches zero again, while on the way the parameter changes since above zero the conditions are met.

    Edit: If going from 7 to zero is too fast for you, you can do the same with with 7 more modifiers and chain them together to extend the interval to what you need. I am sorry for my convoluted way of explaining it. The best thing you can do is experiment with it. Too bad the mapping environment is just a dumped down coding editor. Using a controller that connects to Traktor via qml-code is so much more straightforward.

  • DJ5D
    DJ5D Member Posts: 27 Member

    Ok this makes sense, but in your pic, beside the learn button, i have no option for "encoder".

    It may be the MFT….traktor can can learn a cc value for push or twist, but if I click the drop down where it says encoder, it only offers values for channel and cc, no encoder option.

    im going to try using a different controller, or see if i can adjust something in the MF utility program.

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

    "encoder" is just the name of the control. You turning CC value is supposed to be in that position.

  • DJ5D
    DJ5D Member Posts: 27 Member

    I went thru all this, i can set it up to where it does auto inc with a modifier.

    The problem is how to get it to dec on button release.

    I'm 50% there with these settings:

  • DJ5D
    DJ5D Member Posts: 27 Member

    wait, i didnt see one of your replies until i refreshed the page. i'll try it

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

    Interaction mode: Dec

  • DJ5D
    DJ5D Member Posts: 27 Member
    edited June 7

    I thought i had it, and it did work…..but it was buggy. It produced some kind of feedback loop in the modifiers where the decrement effect just wouldn't switch off, even moving to other effects patches, so i deleted the premature tutorial i made here. back to the drawing board.

    @Sûlherokhh maybe you could try with the explain again from the very beginning, with pics? I get the modifier section where you made copies of M1-7, that was pretty clear, but the rest was fuzzy.

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

    I'll make a template.

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

    For insta grat style of effects mapped to buttons you need a button type set and not fader or encoder.

    Send your TSI here if you still need help with mapping your Twister.

    https://djtechtools.com/contact/

    You don't need a modifier in order to set a value when a button is released, you only need to check the "Invert" box. Modifier is needed here only in case where buttons are not sending 127 and 0.

  • DJ5D
    DJ5D Member Posts: 27 Member

    @Sûlherokhh thank you, much appreciated. :)

  • DJ5D
    DJ5D Member Posts: 27 Member
    edited June 7

    @Stevan that is exactly how i expected it to work, as seen below. Yet it wont. It should be simple.

    Tell me what i'm doing wrong here. (btw- i have all other devices in & out ports set to none, but i do have a lot of mappings in there) @Sûlherokhh your feedback is welcome as well.

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

    AutoRepeat and invert combined just doesn't work the way it should work. Which is why there is this strange workaround with the encoder i mentionend. I'll post the template of how i do this sort of thing over the weekend.

This discussion has been closed.
Back To Top