HISE Logo Forum
    • Categories
    • Register
    • Login

    Why does this error occurs? (Weird Knob Stepsize)

    Scheduled Pinned Locked Moved General Questions
    10 Posts 5 Posters 315 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.
    • GabG
      Gab
      last edited by

      All knobs works except this one for some reason. Even if I put it to 0.1 it will revert back to that and display the weird numbers, any idea to why it occurs?

      Capture d’écran 2024-12-02 002333.png

      Capture d’écran 2024-12-02 002353.png

      Oli UllmannO MorphoiceM 2 Replies Last reply Reply Quote 0
      • Oli UllmannO
        Oli Ullmann @Gab
        last edited by

        @Gab
        What Parameter are you controlling with this knob? Do you have a snippet?

        GabG 1 Reply Last reply Reply Quote 0
        • MorphoiceM
          Morphoice @Gab
          last edited by

          @Gab you have 101 steps in your knob, so at some point you get uneven values, this happens a lot especially in script nodes

          https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

          Oli UllmannO 1 Reply Last reply Reply Quote 0
          • Oli UllmannO
            Oli Ullmann @Morphoice
            last edited by

            @Morphoice
            This should only have an effect on the display of the filmstrip and should not actually affect the value of the button, if I am not mistaken.

            MorphoiceM 1 Reply Last reply Reply Quote 0
            • MorphoiceM
              Morphoice @Oli Ullmann
              last edited by

              @Oli-Ullmann ah okay

              https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

              1 Reply Last reply Reply Quote 0
              • GabG
                Gab @Oli Ullmann
                last edited by

                @Oli-Ullmann Sorry for the late reply, this is an hardcoded fx so a snippet wouldn't do much but it's the feedback on a Faust Flanger. maybe it could be with how i've set the step in the scriptnodes?

                ustkU HISEnbergH 2 Replies Last reply Reply Quote 0
                • ustkU
                  ustk @Gab
                  last edited by

                  @Gab Be sure to set your stepSize to 0.1 or 0.01

                  Also in the label/localLAF of the knob, you can use Engine.doubleToString() to round the value you display to a fix number of digit

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

                  GabG 1 Reply Last reply Reply Quote 0
                  • HISEnbergH
                    HISEnberg @Gab
                    last edited by

                    @Gab I have encountered this a number of times with Faust nodes, I think there is a discrepancy with the values Faust uses and those used by HISE.

                    @ustk suggestion was the solution for me, use Engine.doubleToString()

                    ustkU 1 Reply Last reply Reply Quote 0
                    • GabG
                      Gab @ustk
                      last edited by

                      @ustk @HISEnberg Yes that was my next option, thanks guys!

                      1 Reply Last reply Reply Quote 0
                      • ustkU
                        ustk @HISEnberg
                        last edited by

                        @HISEnberg My guess is that it might be loss in conversions between float and double precision

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

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

                        46

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        101.8k

                        Posts