Forum

    • Register
    • Login
    • Search
    • Categories

    Normalize panel data values

    General Questions
    3
    5
    37
    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.
    • UrsBollhalder
      UrsBollhalder 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!

      www.ursbollhalder.com
      www.Instagram.com/urs_bollhalder_composer

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

        https://forum.hise.audio/topic/395/example-of-themed-gui/10?_=1630581761798

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

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

          @d-healey Thanks David! 🙏

          www.ursbollhalder.com
          www.Instagram.com/urs_bollhalder_composer

          ustk 1 Reply Last reply Reply Quote 0
          • ustk
            ustk @UrsBollhalder 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 😉

            I cannot help pressing F5 in the forum...
            Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

            UrsBollhalder 1 Reply Last reply Reply Quote 3
            • UrsBollhalder
              UrsBollhalder @ustk last edited by

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

              www.ursbollhalder.com
              www.Instagram.com/urs_bollhalder_composer

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

              15
              Online

              985
              Users

              6.6k
              Topics

              60.8k
              Posts