Forum

    • Register
    • Login
    • Search
    • Categories

    Sliders and their displayed values

    General Questions
    2
    3
    59
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Lindon
      Lindon last edited by Lindon

      Is there a simple way to get a custom set of values displayed for a slider?

      Lets assume I want to have a knob (not a combo box <- bare with me) to select a note in an octave so I'd like the knob to to display "C","C#","D","D#" etc.

      Knobman offers a nice little way to do this just specify it as a list like this

      (C,C#,D,D#,E,F,F#,G,G#,A,A#,B)

      ..and depending on the value of the knob shows the relevant value. Given that HISE lets me define a value range (say from 1 to 55) but a different numStrips(say 1 to 25) - its already working this out on the fly anyway...

      HISE Development for hire.
      www.channelrobot.com

      1 Reply Last reply Reply Quote 0
      • d.healey
        d.healey last edited by d.healey

        No, the knob's value can't contain text. Perhaps @Christoph-Hart could add a note number mode to the knob component since this is something that is not uncommon. You could do this with a custom panel though.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        Lindon 1 Reply Last reply Reply Quote 0
        • Lindon
          Lindon @d.healey last edited by

          @d-healey yeah I know I could do it with a custom panel - I just dont want to cause Im lazy...

          HISE Development for hire.
          www.channelrobot.com

          1 Reply Last reply Reply Quote 1
          • First post
            Last post

          7
          Online

          732
          Users

          5.4k
          Topics

          50.2k
          Posts