HISE Logo Forum
    • Categories
    • Register
    • Login

    Normalize panel data values

    Scheduled Pinned Locked Moved General Questions
    5 Posts 3 Posters 211 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.
    • ?
      A Former User
      last edited by

      How do I best range panel data values that range from 0 to 600, for example, to a normalized range from 0 to 1??? 😊🤔

      thx!

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

        Link Preview Image
        Example of themed GUI

        Nice - although there are a million websites which do the same thing :) Yeah but that means opening another window :) which is what I was doing previously. T...

        favicon

        Forum (forum.hise.audio)

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

        ? 1 Reply Last reply Reply Quote 0
        • ?
          A Former User @d.healey
          last edited by

          @d-healey Thanks David! 🙏

          ustkU 1 Reply Last reply Reply Quote 0
          • ustkU
            ustk @A Former User
            last edited by ustk

            @UrsBollhalder @d-healey These are indeed the full functions to convert to/from any min/max values.
            But in a general case for less computation, if your values are both starting at 0, then value/max will give you a 0-1 value... So in your case Panel.data.value/600 is good enough ;)

            Can't help pressing F5 in the forum...

            ? 1 Reply Last reply Reply Quote 2
            • ?
              A Former User @ustk
              last edited by

              @ustk Ok. Time for a break... This is getting embarrassing... 🤣
              Thanks man!

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

              23

              Online

              1.8k

              Users

              12.0k

              Topics

              104.2k

              Posts