Custom scales in value boxes

Home Forums General Programming Custom scales in value boxes

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

      Hi All,

      Another day another question!

      I’m currently building a panel that sends NRPN data so the actual data range is from 0 to 16383 but I’d like the value box underneath the control to show from 0 to 100%, for example or a bipolar control to show from -64 to +64.

      Is this possible?

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

        Yeah that’s what expressions are for. Have a look at http://ctrlr.org/expressions-in-ctrlr-2/

        #12330
        auricle
        Participant
          • Topics: 2
          • Replies: 6
          • Total: 8

          Thanks once again, Atom.

          I think I’ll need a bit more hand-holding though as I’m not a programmer at all.

          Do these expressions go in the “Expression to evaluate when calculating the modulator value from the midi message value” box? Or do I have to make LUA scripts similar to the one I created to show/hide layers?

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