GETTING STARTED?

Home Forums General Using Ctrlr GETTING STARTED?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #546
    human fly
    Participant
      • Topics: 124
      • Replies: 1070
      • Total: 1194
      • ★★★★

      hi folks: newbie post:

      since i couldn’t find a topic on ‘getting started’ – but did find someone asking how to
      on another thread – i thought i’d start it myself.

      i have some experience with sysex, but no idea how to get started with ctrlr, and there’s
      no manual yet.

      any tips on making first steps or a very simple (single object?) project would be a great
      help. also best way to set up to work with it, what other resources needed, etc.
      thanks.

      #3830
      Layzer2
      Participant
        • Topics: 21
        • Replies: 55
        • Total: 76

        probably the most important thing to know about CTRLR is the xx variable.

        when you add a control, ie; a slider or button…. you tell the control
        what value you want to send using the xx variable.

        for example, setting a control with a range of 0 – 127 will
        give xx a value of 0-127 in a midi message like : F0 11 22 43 09 xx F7 plugged into the control’s midi message box

        good luck and have fun making CTRLRS!!!!!

        #3831
        marcianus
        Participant
          • Topics: 0
          • Replies: 6
          • Total: 6
          "Layzer2":tqkano6q wrote:
          probably the most important thing to know about CTRLR is the xx variable.

          when you add a control, ie; a slider or button…. you tell the control
          what value you want to send using the xx variable.

          for example, setting a control with a range of 0 – 127 will
          give xx a value of 0-127 in a midi message like : F0 11 22 43 09 xx F7 plugged into the control’s midi message box

          good luck and have fun making CTRLRS!!!!![/quote:tqkano6q]

          I am a newcomer to Ctrl (this is my first post).
          My first "Hello World" is a Tooggle Button to ON/OFF GM Mode in a Roland Jv2080

          I need to send [F0 7E 7F 09 01 F7] (GM ON) or [F0 7E 7F 09 02 F7] (GM OFF)

          From the upper example, I configure the modulator (Tooggle Button):

          MIDI MESSAGE TYPE: 5 – SYSEX
          SYSEX FORMULA: F0 7E 7F 09 xx F7

          But, where I configure the "real" values (01 , 02) to pass to xx?
          Where to assign values 01 and 02 to the two positions of Toggle Button

          (my "Hello World" sends xx=00 and xx=01, not 01 and 02)


          More questions:

          What is exactly ‘xx’?. I think is a variable value controled via modulators, used by internal code of Cntrl to create SYSEX strings).

          Ok, there is more ‘named’ variables (example from JP8080 panel):
          F0 41 10 00 06 12 01 00 k0 32 xx z5 f7

          k0: I think is a global variable (there are, by inspection, k0 to k16). Are they global to a individual panel o to all panels open?

          xx: I think is the same

          z5: usually this byte is CHECKSUM for ROLAND SYSEX Mssgs. Where is it calculated? Internal code not accesible?
          There is a z0, z1, etc, etc?

          Are more ‘named’ variables I need to know?

          Sorry if the question seems too dumb.

          #3832
          marcianus
          Participant
            • Topics: 0
            • Replies: 6
            • Total: 6
            "marcianus":3st215nt wrote:
            "Layzer2":3st215nt wrote:
            probably the most important thing to know about CTRLR is the xx variable.

            when you add a control, ie; a slider or button…. you tell the control
            what value you want to send using the xx variable.

            for example, setting a control with a range of 0 – 127 will
            give xx a value of 0-127 in a midi message like : F0 11 22 43 09 xx F7 plugged into the control’s midi message box

            good luck and have fun making CTRLRS!!!!![/quote:3st215nt]

            I am a newcomer to Ctrl (this is my first post).
            My first "Hello World" is a Tooggle Button to ON/OFF GM Mode in a Roland Jv2080

            I need to send [F0 7E 7F 09 01 F7] (GM ON) or [F0 7E 7F 09 02 F7] (GM OFF)

            From the upper example, I configure the modulator (Tooggle Button):

            MIDI MESSAGE TYPE: 5 – SYSEX
            SYSEX FORMULA: F0 7E 7F 09 xx F7

            But, where I configure the "real" values (01 , 02) to pass to xx?
            Where to assign values 01 and 02 to the two positions of Toggle Button

            [/quote:3st215nt]

            Solved using a slider with only two possible values (min = 01 and max = 02)

            But, no luck how to pass values to a toggle or ON/OFF button, if posible.

            Any help?

            #3833
            marcianus
            Participant
              • Topics: 0
              • Replies: 6
              • Total: 6

              I think I only need to understand a small question to start making my firsts experimental panes.

              By example, taken from the Jp8080 panel, a slider sends this SYSEX:
              F0 41 10 06 12 01 00 k0 29 xx z5 F7

              No problem how to asign value to xx (from modulator config params)

              But I don´t know how/where/configure to assign values to global variable

              k0 (by midi monitoring, value=40)

              and to calculate CRC value and assign it to z5 (checksum for maybe all Roland Synths)
              LUA method? But I can´t find it.

              any help to overcome this brief difficulty, please

              (My excuses for the language, I don´t speak in english)

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

                Those tokens are inside Ctrlr they are pre-assigned, the checksum counts 5 bytes from it’s position and calculates the checksum of those 5 bytes, after that it inserts the resulting checksum at the position of the z5 token (theese are tokens that’s what i called them).

                The k0 to kf are global values you can assign in the panel, you can create a modulator that will change the value of one of the 16 global values thus changing the sysex that will be sent that has the k0 (or any other k token) token. k0 and kf cause they’re hex
                [code:19tuqj89]
                k0 k1 k2 k3 k4 k5 k6 k7 k8 k9 ka kb kc kd ke kf
                [/code:19tuqj89]

                why z,k,x,y,ls,ms cause they’re not HEX and i can distinguish a hex value from a token and apply an action to it.

                #3835
                marcianus
                Participant
                  • Topics: 0
                  • Replies: 6
                  • Total: 6
                  "atom":3mlqjea8 wrote:
                  Those tokens are inside Ctrlr they are pre-assigned, the checksum counts 5 bytes from it’s position and calculates the checksum of those 5 bytes, after that it inserts the resulting checksum at the position of the z5 token (theese are tokens that’s what i called them).

                  The k0 to kf are global values you can assign in the panel, you can create a modulator that will change the value of one of the 16 global values thus changing the sysex that will be sent that has the k0 (or any other k token) token. k0 and kf cause they’re hex
                  [code:3mlqjea8]
                  k0 k1 k2 k3 k4 k5 k6 k7 k8 k9 ka kb kc kd ke kf
                  [/code:3mlqjea8]

                  why z,k,x,y,ls,ms cause they’re not HEX and i can distinguish a hex value from a token and apply an action to it.[/quote:3mlqjea8]

                  Ok. Verified . Fantastic!!!
                  Thanks.

                  oppps, Can you solve this little previous question?

                  [i:3mlqjea8]
                  I am a newcomer to Ctrl (this is my first post).
                  My first "Hello World" is a Toggle Button to ON/OFF GM Mode in a Roland Jv2080

                  I need to send [F0 7E 7F 09 01 F7] (GM ON) or [F0 7E 7F 09 02 F7] (GM OFF)

                  From the upper example, I configure the modulator (Toggle Button):

                  MIDI MESSAGE TYPE: 5 – SYSEX
                  SYSEX FORMULA: F0 7E 7F 09 xx F7[/i:3mlqjea8]

                  [b:3mlqjea8]But, where I configure the "real" values (01 , 02) to pass to xx?
                  Is possible to assign values 01 and 02 to the two positions of Toggle Button (or other values)?[/b:3mlqjea8]

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

                    Yes there are two properties for the toggle button "Value for ON state" and "Value for OFF state".

                    #3837
                    marcianus
                    Participant
                      • Topics: 0
                      • Replies: 6
                      • Total: 6
                      "atom":1cc3oh4d wrote:
                      Yes there are two properties for the toggle button "Value for ON state" and "Value for OFF state".[/quote:1cc3oh4d]

                      Yes, I have used previously these properties but no luck (the button always sends 00 or 01 values)
                      Maybe I need to modify another properties, additionally?

                    Viewing 9 posts - 1 through 9 (of 9 total)
                    • The forum ‘Using Ctrlr’ is closed to new topics and replies.
                    There is currently 0 users and 59 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