interval smaller than 1.0 doesn't work?

Home Forums General Using Ctrlr interval smaller than 1.0 doesn't work?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35569
    m.tarenskeen
    Participant
      • Topics: 30
      • Replies: 113
      • Total: 143
      • ★★

      Hi,

      I am having trouble creating a slider/rotaryknob with a floating point value interval smaller than 1.0

      For example if I set Component Interval=1.5 my slider shows 0.0 … 1.5 … 3.0 …etc as expected without problems.

      But if I set 0.5 as interval I get 0.0 … 1.0 … 2.0 …
      Interestingly, if I set 0.5 to be the Component Minimum value this is what I get with Interval=0.5:

      0.5 … 1.0 … 2.0 … 3.0 ….

      Is this a bug or limitation in Ctrlr?

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

        It’s a limitation that i always wanted to be there. MIDI has no concept of floating point integers, it’s all very simple. I added theese options with decimal places just because it’s there in JUCE, but the modulator will always process values as “the next position” so that’s +1 not +interval. If you want to add custom mapped values that’s what FixedSlider and FixedImageSlider are for.

      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 78 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