HISE Logo Forum
    • Categories
    • Register
    • Login

    Parameter on gui doesn't sync with stepped parameter in scriptnode

    Scheduled Pinned Locked Moved ScriptNode
    8 Posts 2 Posters 156 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.
    • J
      jasonswann
      last edited by

      Hi friends!

      I'm currently working on a plugin and I need to make some controls stepped. On the UI i have a knob with 5 frames, and in the scriptnode I have a parameter with fixed step size. When I use a parameter in the scriptnode everything is fine, however when I use a knob on gui the parameter moves smoothly and doesn't work as I need it to work. Is there a way to fix this?

      886d3187-9bc8-4073-aa8d-1a9d4e19c9e2-image.png
      30f5398d-6ea4-448f-8cf5-f8b0580f3be8-image.png

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

        What step size are you using for the knob?

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

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

          @d-healey i set it to 0.1 because there are only 3 options: 0.01, 0.1 and 1.0

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

            @jasonswann Set it to 1

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

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

              @d-healey if i do this it just selects between min and max value

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

                @jasonswann What have you set the min/max to?

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

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

                  @d-healey WAIT I FIGURED IT OUT my max was set to 1

                  Thank you SO MUCH!!

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

                    @jasonswann Glad you solved it :)

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

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

                    55

                    Online

                    1.7k

                    Users

                    11.7k

                    Topics

                    101.8k

                    Posts