uiToggleButton values

Home Forums General Using Ctrlr uiToggleButton values

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #60
    Filch
    Participant
      • Topics: 22
      • Replies: 173
      • Total: 195
      • ★★

      I’m currently attempting to build a panel for the OTO Machines Biscuit. It’s all CC messages, so it’ pretty easy compared to some of the other hardware out there, plus there are not that many parameters.

      I was trying to figure out how to send a midi CC value of 64 when I hit the uiToggleButton. This is for the Bypass button which enabled is 0-63, disabled at 64-127. I see that the modulator value changes from 0 to 1 when the button is toggled. The only way I figured out to get it to send out a value of 64 when toggled was to put in modulatorValue+63. It works this way, but I’m not sure if this is the right way I should be going about it.

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

        as i remember i added a "Value for ON state" and a "Value for OFF state" for the toggle buttons so you can attach custom values to the toggleButton states. But your way is just as good, there are many ways of doing the same thign it’s up to you to choose the one you like.

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