Forum
    • Categories
    • Register
    • Login

    [bug] Pan knob displayed value is wrong

    Scheduled Pinned Locked Moved Bug Reports
    9 Posts 3 Posters 963 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.
    • David HealeyD
      David Healey
      last edited by David Healey

      Not sure when this got introduced but if you set a knob/slider to pan mode the displayed range is -10000 to 10000.

      Peek 2024-10-18 22-30.gif

      HiseSnippet 797.3ocsU0saSCCE1dadvJ+H.wCPtbfPn10s1JwEL1ePErQEYffqPt1mPspicTryXEDua6Qh2.33jt0L1zFTIxEQ47mOe9bNemLH2J.mylSnMNbRFPn2lEOw3Gs8HtxP5uCgdW19bmGxipTs0jLtyARBkt3KCJnqrDo74mOeKtlaDvLUDxGrJA7FUpxOS6fMesRq2iKgCUo07d8M6KrlssZaAhmEYMIYbwX9WfC3A2VfQdE2MhPeLKoS602nmXMnc21qAcG1sWugh1M2niTB704caIEcFBcQPt7tRk2lG64dvgG5VV4j3Q1uZpRvGTN0PMDDZQhwLWolr8HkVN3zhiiPnKMXVoZwpR0CY6qjpyzOqjcuRCQyhndQitvUAoV+CPhVCRKUAo6yhE4pL+LKA7bKVeC1AS3XuoNTp7kPOgssEcv3eZJeLrWNJbV.q1oYymDgudzyRJLBuxZhrlCrd3slUeTiu2XkF+nQzeZJI4RsERStUqg7K0bXbH+pBbUSQ5PH+IQGw0EvYNhW+yWSW9uqlJpt00bzZ5aT92lASk2ypkgZU36K1AHSKagdwTDht5K6D2cZmHVqjPNQgGxMXu1XG1hTB9ZjjMIuu+NbO+ziAOQLKYPtWEtLzcfiPRTUCdE1Nfar2lU5aZl0DxO8NWaROlPYzdTBYR3ibLsN+jPIY4RGHoJoTCCrNUnjWmBij+rX02f5L8z5D+OcRJ+3Zha5JRRTGGpZugjnzoNOBp9oHSlPe.68NHRBI7BsOxMFOHsxLFjGZKo3oVI5EiMfavMEWX.GoVVYgl6OOeKrIZpg.5qOjGljM3sZRc7+OPBadkjv+VHde1.kWL5xw3BWBFwgg+GXb5pq6v1MIAD9Y.bI1debd2ScMo+c1Bux7k843XPXL7fhzXbEu.vraLf1ElHWHPmpjaFjCUfXvHKE9E9L0XqfLcpwVmZjjxE41OKpHggki2rTChIS4OOVA+KFJGcQ1WXxW8Yg37G0EBbs4Mv1yafqOuAtw7FXm4Mvtyaf8t9.C+J8EEdaZEsgP1evtkaKozcMbbBrbZk7aHVKfQI
      

      Free HISE Bootcamp Full Course for beginners.
      YouTube Channel - Public HISE tutorials
      My Patreon - HISE tutorials

      1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey
        last edited by David Healey

        I've fixed this now but I haven't pushed it... yet.

        I've never liked that when the knob is at 0 it says 0L instead of just 0. So in my fix I've changed that, but what does everyone else think?

        The other thing I'm thinking is when it's less than 0 it is shown as a negative value, which from our point of view makes sense, but from a user's point of view wouldn't it be better to display it as a positive L value instead?

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        A 1 Reply Last reply Reply Quote 2
        • A
          aaronventure @David Healey
          last edited by

          @d-healey 100L to 100R. C in the middle.

          David HealeyD 1 Reply Last reply Reply Quote 4
          • David HealeyD
            David Healey @aaronventure
            last edited by

            @aaronventure C in the middle, nice idea.

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

            1 Reply Last reply Reply Quote 0
            • David HealeyD
              David Healey
              last edited by

              Done - https://github.com/christophhart/HISE/pull/589

              Free HISE Bootcamp Full Course for beginners.
              YouTube Channel - Public HISE tutorials
              My Patreon - HISE tutorials

              C 1 Reply Last reply Reply Quote 2
              • David HealeyD David Healey referenced this topic on
              • C
                clevername27 @David Healey
                last edited by

                @d-healey Thank you for your code contribution. I seem to be misunderstanding—when I assign a slider directly:

                • The Minimum value is 0.0 ; the Maximum is 1.0 ; this would indicate that 0.5 is the Centre.
                • The Centre and Default values are -1.0, which isn't between the Minimum and Maximum.

                Thanks as always.

                187ecf19-c69b-4067-8b4c-562caf80c8ec-Screenshot 2025-01-14 at 8.40.19 pm.png

                David HealeyD 1 Reply Last reply Reply Quote 0
                • David HealeyD
                  David Healey @clevername27
                  last edited by

                  @clevername27 change the mode to pan

                  Free HISE Bootcamp Full Course for beginners.
                  YouTube Channel - Public HISE tutorials
                  My Patreon - HISE tutorials

                  C 1 Reply Last reply Reply Quote 1
                  • C
                    clevername27 @David Healey
                    last edited by

                    @d-healey Thank you, Dave. In my implementation, I'm changing the values via scripting—assigning a Slider to a Parameter was just a test. If I'm scripting, should my values be -100 to 100, which 0 as centre? Thanks again.

                    David HealeyD 1 Reply Last reply Reply Quote 0
                    • David HealeyD
                      David Healey @clevername27
                      last edited by

                      @clevername27 said in [bug] Pan knob displayed value is wrong:

                      If I'm scripting, should my values be -100 to 100, which 0 as centre?

                      Yes, but if you want the panning labels to show up you need to set the mode to pan (which you can also do by scripting).

                      Free HISE Bootcamp Full Course for beginners.
                      YouTube Channel - Public HISE tutorials
                      My Patreon - HISE tutorials

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

                      68

                      Online

                      2.1k

                      Users

                      13.0k

                      Topics

                      112.7k

                      Posts