w5 byte (RackAttack checksum)

Home Forums General Using Ctrlr w5 byte (RackAttack checksum)

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #6467
    zeoka
    Participant
      • Topics: 73
      • Replies: 466
      • Total: 539
      • ★★★

      Hi Atom

      Your checksum calculation as a byte in the sysex editor is a great idea and works as expected

      However it seems it just lacks a byte  :

      32(20h)+32(20h)+0(00h)+0(00h)+53(35h)=117 (75h) sound1 volume

      ctrlr : 85(55h)   difference : 32 (20h)

      32(20h)+32(20h)+5(05h)+0(00h)+87(57h)=156-128 ( if>127)=28 (1ch) fxmix sound6

      ctrlr : 123(7bh)  difference : 32 (20h)

      37(25h)+32(20h)+0(00h)+0(00h)+12(0ch)=81 (51h) fx1 delay:sync

      ctrlr : 44(2ch)   difference : 37 (25h)

      33(21h)+32(20h)+0(00h)+0(00h)+20(14h)=85 (55h) trigger A sound

      ctrlr : 52(34h)   difference : 33 (21h)
      –Checksum value at midi value 0

      I could do that in” called when receive midi” but a different method could be more effecient

      Please is it possible to add the first byte in w5 ?

      Or a way to create own byte for the sys ex editor ?

      Then the drumsynth could be used to automate as well as the Ctrlr gui or  NI’s vst controllers  too

      PS : the last nightly(since1285) versions dump very well for me…….. incredible work !

      I will upload the panel soon 🙂

       

      #6468
      atom
      Keymaster
        • Topics: 159
        • Replies: 2945
        • Total: 3104
        • ★★★★★

        What if you use “w6” it will count 6 bytes, the x in wx is a variable.

        #6477
        zeoka
        Participant
          • Topics: 73
          • Replies: 466
          • Total: 539
          • ★★★

          Thank you Atom

          So w counts bytes before it. It does mean w6  works with the Waldorf Q series  too.

          I’ve tried and changed many params yet.

          Ctrl to RA way: it ‘s just perfect ( it seems the RA “prefers” checksum than f7)

          RA to Ctrlr way : strange….

          RA midi value: 0    Ctrlr : 127

          RA midi value: 1    Ctrlr : 0

          RA midi value: 1 to 64   Ctrlr :goes to 127

          RA midi value: more than 64 Ctrlr : nothing

          I’ve checked values and checksums from RA and all is correct except

          some jump values from RA old encoders but it’s not a problem normally.

          I don’t know what’s happen…

           

          #6478
          atom
          Keymaster
            • Topics: 159
            • Replies: 2945
            • Total: 3104
            • ★★★★★

            If i can help somehow let me know.

            #6479
            zeoka
            Participant
              • Topics: 73
              • Replies: 466
              • Total: 539
              • ★★★

              Cool

              May be this byte is simply not done to receive data ?

              Or i must do something in “called when panel receive midi” ?

              I’ve done a correction for params that don’t start by 0 to receive the corect value ;may be i must do the the same thing but to assign to all my params it ‘s too long..

              I’ve found a param that the checksum is identical to the value

              and  Ctrlr count double   1=2 , 2=4  ,3=6 etc…

              What can i do ?

               

              #6480
              atom
              Keymaster
                • Topics: 159
                • Replies: 2945
                • Total: 3104
                • ★★★★★

                If i understood what you mean i’d help but i’m afraid i don’t. You need to explain this better to me.

                #6482
                zeoka
                Participant
                  • Topics: 73
                  • Replies: 466
                  • Total: 539
                  • ★★★

                   

                  To be clear Ctrlr double the value of modulators(with w6 byte) when it receive midi from the synth.

                  Possibilty to divide by 2 in LUA ?

                   

                   

                  #6483
                  atom
                  Keymaster
                    • Topics: 159
                    • Replies: 2945
                    • Total: 3104
                    • ★★★★★

                    Possibly didive by two in the expression property (there are 2 expression properties for each modulator, test them and see what you can achieve with them)

                    #6497
                    zeoka
                    Participant
                      • Topics: 73
                      • Replies: 466
                      • Total: 539
                      • ★★★

                      Hello Atom !

                      I’ve tried expression for the first time , this is a cool thing .

                      I will use it instead LUA(LUA works well however)  for modulators

                      wich don’t start by zero and must be corrected to receive  right values from synth.

                      But not solve the problem i’ve .

                      Well i’ve understand what happens on those  3 modulators:

                      RA value=0  RAchksm=75    Ctrlr value=117 (75h)

                      RA value=0 RAchksm=76    Ctrlr value=118 (76h)

                      RA value=0 RAchksm=77    Ctrlr value=119 (77h)

                      It appears that Ctrlr has chosen the w6 as value !

                       

                       

                      #6600
                      zeoka
                      Participant
                        • Topics: 73
                        • Replies: 466
                        • Total: 539
                        • ★★★

                        Hi Atom

                        midiValue/2 expression works only with mods that have checksum equal to value

                        it seem’s modulator receive xx + w6 like a value  but when i do

                        midiValue – (value of checksum at 0 value) this not working correctly or midiValue + (127 -value of checksum at 0 value)

                        i’m lost  , what can i do ?

                        Even if there  is a solution with expressions  i must do for all mods

                        Nothing to do at the panel level ?

                         

                        #6601
                        atom
                        Keymaster
                          • Topics: 159
                          • Replies: 2945
                          • Total: 3104
                          • ★★★★★

                          I fixed this issue, but you’ll have to wait for a new nightly build.

                          #6612
                          zeoka
                          Participant
                            • Topics: 73
                            • Replies: 466
                            • Total: 539
                            • ★★★

                            Very nice Atom thank you !

                             

                            #6849
                            zeoka
                            Participant
                              • Topics: 73
                              • Replies: 466
                              • Total: 539
                              • ★★★

                              Atom

                              Oh i was stupid : you had writen in the sysex editor how the checksum byte works !

                              Can you say in this post or changelog when you update Ctrlr with your fix ?

                              Thank you

                               

                               

                              #6866
                              atom
                              Keymaster
                                • Topics: 159
                                • Replies: 2945
                                • Total: 3104
                                • ★★★★★

                                This should be fixed in whatever nightly is the latest, give it a try.

                                #7750
                                zeoka
                                Participant
                                  • Topics: 73
                                  • Replies: 466
                                  • Total: 539
                                  • ★★★

                                  Thank you Atom it seems you have put the fix in Rev1334 or earlier

                                  This is working  correctly and even good  , however there is a differerence of just 1 value

                                  Ex : The device sends  a value of  85    Ctrlr display  a value of 84

                                  This is great to use the device itself as controller for the vsthost a side of Ctrlr

                                  An old dream that Ctrlr render possible !

                                  #7752
                                  atom
                                  Keymaster
                                    • Topics: 159
                                    • Replies: 2945
                                    • Total: 3104
                                    • ★★★★★

                                    There might be a formula at play or something else. Remember that values start at 0 so 84 is really 84 if you count from 0.

                                    #7786
                                    zeoka
                                    Participant
                                      • Topics: 73
                                      • Replies: 466
                                      • Total: 539
                                      • ★★★

                                      84 is the 85th value in ctrlr and 85 is the 86th value of rackattack  so i have a difference between the two.

                                      I don’t use LUA for mods i had  checked .  Raaah just 1 value !

                                    Viewing 17 posts - 1 through 17 (of 17 total)
                                    • The forum ‘Using Ctrlr’ is closed to new topics and replies.
                                    There is currently 0 users and 72 guests online
                                    No users are currently active
                                    Forum Statistics
                                    Threads: 2,495, Posts: 17,374, Members: 77,605
                                    Most users ever online was 12 on January 22, 2019 3:47 pm
                                    Ctrlr