header image
 

CNTRLR setting encoders to relative mode only in the user mapping

Home Forums Livid Scripts CNTRLR setting encoders to relative mode only in the user mapping

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #834
    trabz
    Participant

    Hi guys, hi amounra

    I’m using my CNTRLR with the amazing drum stepp:r module: encoder 1 (row1) is for the stepp:r and encoder 4 (row1) is for the user mapping.
    I would like to set the first 2 encoders (row1) to relative mode in the user mode (ONLY in user mode so that I can still tweak attack and decay precisely in stepp:r mode)

    How can I modify the remote script to achieve that? (I tried some but didnt work, and the online editor didn’t work aswell)

    Have a great day :)

    /e and sometimes when I link traktor and ableton via midi synch (loopBe, bome midi translator, etc) the encoder 1 row1 goes relative all of a sudden, and all other encoders send midi values jumping from 50 to 50, so no more fine tweaking…

    #898
    amounra
    Participant

    Hey trabz,

    The CNTRLR script depends on the encoders being in the correct mode or they won’t work for their selected functions in the script. So it will override any changes you make in the editor (as you no doubt have already discovered ;) ).

    To be honest, I don’t remember all the details….I have to look stuff up, and it’s a bit harder to do that currently as I don’t have some of the documentation available to me that I had when I wrote that script.

    I think what you’re looking for is line 357:

    _self.encoder_navigation_on = SendLividSysexMode(livid_settings = self._livid_settings, call = ‘set_encoder_encosion_mode’, message = [13, 0, 0, 0])_

    You’d need to create another line like this, but I’m not sure what values you should use here. If I remember correctly, each number in the array represents 4 encoders. Here’s info from the Livid wiki page:

    [wiki.lividinstruments.com/wiki/CNTRLR#07.11_:_Encosion_Style_mapping](http://wiki.lividinstruments.com/wiki/CNTRLR#07.11_:_Encosion_Style_mapping “wiki.lividinstruments.com/wiki/CNTRLR#07.11_:_Encosion_Style_mapping”)

    11 : Encosion Style mapping
    F0 00 01 61 08 11 E1 E2 E3 E4 F7
    This command sets the Mode for each encoder as “absolute” or “inc/dec”. Absolute mode behaves as a linear poteniometer sweeping from 0-127. Inc/dec will send a value of 127 on a CW turn, and a value of 1 on a CCW turn. E1: Acceptable Values: 0-7F. Setting the individual bits for this byte controls mode for Encoders 1-7. A ‘0’ for a bit sets the mode to “absolute,” a ‘1’ sets the mode to “inc/dec.” E2: Acceptable Values: 0-7F Setting the individual bits for this byte controls mode for Encoder 8. Any byte value greater than 0 will set Encoder 7 to “inc/dec” mode. E3: controls Encoders 9-12 E4: unmapped

    You’d need to create a new mode and add it to the”Translations” mode definition, replacing the one that’s already there….unfortunately, the CNTRLR script is extremely complicated, and there’s not an “easy” way to do it. It would take me some time to figure it out, at least and hour….if you’re not able to figure it out yourself and it’s worth a bit of money to you, I might have some time later early next week that I could work on it for you.

    a

    #899
    trabz
    Participant

    Hi amoura thanks for your answer & explanations, this is far beyond my reach indeed :)
    For now I found a trick using bome midi to reset to value 127 encoder reaching 0 and to 0 when reaching 127 its pretty much doing the job although not as precise as relative encoder… I’ll let you know via pm if I finally decide to edit the remote scipt !!

    Have a great day :)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.