HISE Logo Forum
    • Categories
    • Register
    • Login

    Sliders and their displayed values

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 202 Views
    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.
    • LindonL
      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.healeyD
        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

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          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

          45

          Online

          1.7k

          Users

          11.7k

          Topics

          101.9k

          Posts