UiButton on/off values

Home Forums General Using Ctrlr UiButton on/off values

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #25285
    enrique
    Participant
      • Topics: 2
      • Replies: 6
      • Total: 8

      Hello I am new here, and sorry for my english, my question is:
      I wont to send a program change with this toggle button, i have to send a program change when is on, and another when is off.
      Sorry, i know that is simple, but I dnt Know.
      Thanks in advance

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

        hi
        on the modulator properties menu
        set MIDI message type to ProgChange
        set Value for ON state and Value for OFF state
        there is a lot of properties so at first you need to look carefully

        #25396
        mim
        Participant
          • Topics: 3
          • Replies: 8
          • Total: 11

          I’m not sure why it is not sending the on value there but “1” :

          An Idea ?

          Thanks

          Attachments:
          You must be logged in to view attached files.
          #25402
          enrique
          Participant
            • Topics: 2
            • Replies: 6
            • Total: 8

            Thank you very much, Zeoka for your help. I try to change values On state and Off state on componenet, but makes nothing.
            Perhaps you say that I have to change this values on the yellow mark of the attached document.
            I have a doepfer maq 16/3 sequencer, and what I wont to do is send a program change 17 with the on button to say step ON and program change 32 with the off button to say step OFF.
            Thanks again.
            Enrique

            Attachments:
            You must be logged in to view attached files.
            #25414
            msepsis
            Participant
              • Topics: 219
              • Replies: 732
              • Total: 951
              • ★★★

              Are mim and enrique the same people here?

              T…what I wont to do is send a program change 17 with the on button to say step ON and program change 32 with the off button to say step OFF.

              To do that you would simply put the value of the program change in the “button values” property field of the button like so:

              Off = 32
              On = 17

              mim – I would try that, and ignore the fact for now that “Value for on state” etc does not reflect the hardcoded values you’re designating in the button values field.

              in ctrlr if you want to assign fixed values (for things like combo boxes or non 1-127 knobs) just use a fixed image slider or combo box with the value name first and the actual value being sent next w/ the = between the two. ..

              combobox values might be something like:
              off = 0
              on = 1
              something else = 2

              or something like when a knob doesn’t go from 0-127:
              0=0
              1=16
              2=32
              3=48
              4=64
              5=80
              6=96
              7=112

              Monstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen

              #25419
              mim
              Participant
                • Topics: 3
                • Replies: 8
                • Total: 11

                Thanks msepsis !

                LOL we are not the same guy. Enrique has problem with Program Change and I have problem with Control Change. I figured I’d used this thread since it is on topic for my problem.

                I ended up using a combo box for my on/off state to set the value of 64 if it is ON. Nice idea.

                I’ll have some test and release my (hideous) Jomox MBase 11 control panel.

                • This reply was modified 9 years, 10 months ago by mim.
                #25453
                zeoka
                Participant
                  • Topics: 73
                  • Replies: 466
                  • Total: 539
                  • ★★★

                  The uiToggle button works but not the UIbutton
                  Enrique Use the toggle button as you mentioned before instead of uiButton
                  set the value ON and OFF where Mim shows us
                  or possible to do a simple script in “Called when the value change”
                  or use expression in yellow on your pic
                  but I don’t know how to put non logical expressions
                  maybe just
                  32,17 or modulatorValue = 32,modulatorValue = 17
                  Anyone use expressions with chaotic values to send ? ex 12,5,18,17,14
                  Edit
                  Tried this on uiButton : modulatorValue + 32,modulatorValue + 17
                  strange results : cd20 ,cd21 😀
                  SO THE TOGGLE IS OK : c0 20,c0 11

                  • This reply was modified 9 years, 10 months ago by zeoka.
                  #25486
                  enrique
                  Participant
                    • Topics: 2
                    • Replies: 6
                    • Total: 8

                    Thanks Zeoka and Msepsis I resolve with your apreciated help, it was easy, only put some values in “button values” , but with your help.
                    Another question, there are some tutorial about that program?.
                    Not with the xml, because I Know nothing about that, I would like to know how to change Uibuttons of the panel and if it is posible to import:
                    Thanks again and sorry about my english, I come from Spain.

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