Forum
    • Categories
    • Register
    • Login

    Hello, easy one, How do we set a value to a knob by scripting so it never changes.

    Scheduled Pinned Locked Moved General Questions
    13 Posts 3 Posters 45 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.
    • Y
      Yannrog
      last edited by

      Hi, It might be an easy one, but I am learning.
      How do we set a value by scripting to a slider, knob, so it doesn't changes.

      I heard about set attribute, set,...

      Thank you.

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

        @Yannrog said in Hello, easy one, How do we set a value to a knob by scripting so it never changes.:

        so it doesn't changes.

        What do you mean by this?

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

        Y 1 Reply Last reply Reply Quote 0
        • Y
          Yannrog @David Healey
          last edited by

          @David-Healey

          Setting an amount to the lfo frequency and the button will be invisible. The amount will not change.

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

            @Yannrog Set it on the LFO directly, you don't need a knob on the UI if the value won't change.

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

            Y 1 Reply Last reply Reply Quote 0
            • Y
              Yannrog @David Healey
              last edited by

              @David-Healey
              Thank you,

              For some reason, I set it to 1/2, it automatically goes to 1/1 when I close it and re open it.

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

                @Yannrog set it to 1/2, resave the .hip and .xml, then reopen the project!

                Sonic Architect && Software Mercenary

                Y 1 Reply Last reply Reply Quote 0
                • Y
                  Yannrog @HISEnberg
                  last edited by

                  @HISEnberg
                  Hi, thank you for the answer,

                  It the same

                  I have 4 LFOs, set to tempo sync, clock sync, legato, loop, and custom for some.
                  assigned to button for each. I try to set it to 1/2 it go back to 1/1 even after save the hip and xml.
                  save in preset is disabled

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

                    @Yannrog said in Hello, easy one, How do we set a value to a knob by scripting so it never changes.:

                    save in preset is disabled

                    Save in preset shouldn't be part of the equation here. Don't connect any knobs or buttons to parameters you want to remain constant. Just set them on the module's directly in the module tree.

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

                    Y 2 Replies Last reply Reply Quote 0
                    • Y
                      Yannrog @David Healey
                      last edited by

                      @David-Healey Thank you, I took off the button assigned.

                      It's the same, it's maybe the clock sync, or the tempo sync.

                      1 Reply Last reply Reply Quote 0
                      • Y
                        Yannrog @David Healey
                        last edited by

                        @David-Healey @HISEnberg Enregistrement de l’écran 2026-05-25 à 19.40.38.mov

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

                          @Yannrog Make a new project, add the lfo, see if you get the same issue.

                          Are you using the latest develop branch?

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

                          Y 1 Reply Last reply Reply Quote 0
                          • Y
                            Yannrog @David Healey
                            last edited by

                            @David-Healey ok, not the latest. I will update.

                            If I update, will I get the exact features on my project?
                            I will finish my project and update after?

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

                              @Yannrog said in Hello, easy one, How do we set a value to a knob by scripting so it never changes.:

                              If I update, will I get the exact features on my project?

                              Maybe, depends if your current version has a bug

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

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

                              24

                              Online

                              2.3k

                              Users

                              13.7k

                              Topics

                              119.3k

                              Posts