HISE Logo Forum
    • Categories
    • Register
    • Login

    How can I link a pitch parameter to a knob?

    Scheduled Pinned Locked Moved General Questions
    7 Posts 4 Posters 114 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.
    • L
      lijas90
      last edited by

      Does anyone know how I can link a pitch to a knob without using code? I want to link that pitch to a container where I have the samples.
      I link the knob to the parameterID 'Intensity', but when I move the knob, it changes the pitch directly from 0st to 12st. Thanks.Captura de pantalla 2025-07-29 002612.png Captura de pantalla 2025-07-29 002915.png

      rglidesR ulrikU 2 Replies Last reply Reply Quote 0
      • rglidesR
        rglides @lijas90
        last edited by

        @lijas90 there a little double arrow in the pitch module at the top. click on it to make it a single arrow pointing up

        L 1 Reply Last reply Reply Quote 1
        • L
          lijas90 @rglides
          last edited by

          @rglides Thanks for replying, but it doesn't work 😔

          rglidesR 1 Reply Last reply Reply Quote 0
          • rglidesR
            rglides @lijas90
            last edited by rglides

            @lijas90 Edit; I have an issue where I don't always fully read the post hehe, I saw the arrows and thought that was the problem. So you have got it linked but the range is not working. what is your step size and range set to in the Property Editor? try 0.12 instead of 1.2

            1 Reply Last reply Reply Quote 0
            • ChazroxC
              Chazrox
              last edited by Chazrox

              I know you said no coding, but there is also this...

              Screenshot 2025-07-28 at 8.27.13 PM.png

              About as simple as it gets. You can do it.

              1 Reply Last reply Reply Quote 0
              • ulrikU
                ulrik @lijas90
                last edited by ulrik

                @lijas90 set the slider min -1.0 and max 1.0 and stepSize to 0.01, the connection you've made is correct

                If you want the slider to go from -12 to 12 you have to script it like this:

                inline function onPitchAmountControl(component, value)
                {
                    AHDSREnvelope1.setIntensity(value/12);
                }
                
                Content.getComponent("PitchAmount").setControlCallback(onPitchAmountControl);
                

                pitchenvelope.gif

                Hise Develop branch
                MacOs 15.3.1, Xcode 16.2
                http://musikboden.se

                L 1 Reply Last reply Reply Quote 2
                • L
                  lijas90 @ulrik
                  last edited by

                  @Ulrik It works! Thanks a lot! Problem solved

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

                  21

                  Online

                  1.9k

                  Users

                  12.2k

                  Topics

                  106.6k

                  Posts