HISE Logo Forum
    • Categories
    • Register
    • Login

    Link Slider

    Scheduled Pinned Locked Moved Solved General Questions
    25 Posts 4 Posters 1.3k 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.
    • d.healeyD
      d.healey @Jay
      last edited by d.healey

      @Jay

      Start here

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

      JayJ 1 Reply Last reply Reply Quote 0
      • JayJ
        Jay @d.healey
        last edited by

        @d-healey I watched the video but couldn't figure it out.

        Joansi Villalona

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

          @Jay Did you watch the previous video I posted about linking knobs for reverb?

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

          JayJ 1 Reply Last reply Reply Quote 0
          • JayJ
            Jay @d.healey
            last edited by

            @d-healey Yes I watched it, but I didn't understand it. But it's ok I know you must be busy, thank you sir.

            Joansi Villalona

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

              @Jay Do you know how to get the value of a control in your script?

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

              JayJ 2 Replies Last reply Reply Quote 0
              • JayJ
                Jay @d.healey
                last edited by Jay

                @d-healey Yes

                // I just did this one now

                const var lfdBKnob2 = Content.getComponent("lfdBKnob2");
                var a = lfdBKnob2.getValue();
                
                Console.print(a);
                

                and it gave the value I don't know if there is a better solution

                Joansi Villalona

                1 Reply Last reply Reply Quote 0
                • JayJ
                  Jay @d.healey
                  last edited by Jay

                  @d-healey I got this so far, but I don't how to recover them

                  // Referencing Knb Values
                  const var dleftKnb = Content.getComponent("dleftKnb");
                  const var rightKnb = Content.getComponent("rightKnb");
                  const var linkValue = Content.getComponent("linkValue");
                  
                  // Storing Knb Values
                  var leftValue = dleftKnb.getValue();
                  var rightValue = rightKnb.getValue();
                  var lrValue = linkValue.getValue();
                  
                  Console.print(leftValue);
                  Console.print(rightValue);
                  Console.print(lrValue)
                  

                  or better yet when I try it, it quit HISE

                  Delay.setAttribute(Delay.DelayTimeLeft,  dleftKnb[value]);
                  

                  Joansi Villalona

                  LindonL 1 Reply Last reply Reply Quote 0
                  • LindonL
                    Lindon @Jay
                    last edited by

                    @Jay said in Link Slider:

                    dleftKnb[value]

                    whats this?

                    you want the value of the knb no? Didnt you just show us(and yourself) how to do this?

                    HISE Development for hire.
                    www.channelrobot.com

                    JayJ 1 Reply Last reply Reply Quote 1
                    • JayJ
                      Jay @Lindon
                      last edited by Jay

                      @Lindon the knob is changing but not the actual module (delay) itself, plus is quitting hise

                      Joansi Villalona

                      LindonL 1 Reply Last reply Reply Quote 0
                      • LindonL
                        Lindon @Jay
                        last edited by

                        @Jay said in Link Slider:

                        @Lindon the knob is changing but not the actual module (delay) itself, plus is quitting hise

                        you have the answer right in front of you - you've written it yourself:

                        Delay.setAttribute(Delay.DelayTimeLeft,  dleftKn.getValue());
                        

                        HISE Development for hire.
                        www.channelrobot.com

                        JayJ 2 Replies Last reply Reply Quote 0
                        • JayJ
                          Jay @Lindon
                          last edited by

                          @Lindon maybe I’m not explaining myself clear, the knob is changing but it’s not changing in the module, I have to press the knob for it to update to the value that the knob is saying, plus it is quitting HISE

                          Joansi Villalona

                          1 Reply Last reply Reply Quote 0
                          • JayJ
                            Jay @Lindon
                            last edited by Jay

                            @Lindon

                            HiseSnippet 1356.3ocuXEtaaaCDlJwJs1coqEnO.ZACENXct1IYcCnXHpINY0nIoFwYACCXnfVhNlHxjdRzIwXn+eue8EXOB6MX6NIJKJGaGEitoeDXd28w6ij2c7XZGJ8XQQxPhU4yFOjQr9B6NiEp962mxEjVMIVO19XZjhE5jHZuwCoQQLehk0p+DJvpbIR72eu6dz.pvikIhPNWx8XGwGvUYRa69NdPvgTe1Y7A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SFgLYD2k8YeQ8D672pLmU0yuOqpGLuPhj33EEN7aKJb3pzZAPyxVF96gEHw4FbR9UXRFi+3YvOtyMuBe9lsrL2EJUf7QiiVp41.wkb6d3gWOH8GEPU4eRA91IsBnhat93wd0EQb0Xy2VM86LJM+Jt0Mp3dG0SKHcepcatxq+r46JyfuXQf+i4q9Uaqam7vjLxVx9veYgOQqTwtrJiJ24y0dTBWRSUQVj9aShjuPjw0ASkLan4PFyG66y.g61a+ocSkaBHVwQxqaCN7vP1uOYd9yO49V9sjRZ5dL2HY5u1MKIxLva0OSOvkbpbjB5y6XJzeLlXexnAcfm56wzs8Dg43qf2xmLtNNFIQGlvOdv+.eZkMvwVZkMRU9+hOFP8BkevK4FbLT3gwRf0sH9eTQY6iwwNMRu311tds5jAbe9G77v.zusAgLaLasDX1dIvryRf46VBLuZIv78KAleXgXv++MuYjRNHo3EHn8AwMPYYcffBQuwomj+EPtI9lg
                            

                            In this snippet I'm hope you understand what I'm trying to say.
                            The module (delay) in this case, is not updating to the position of the knob in the interface.

                            Thanks in advance

                            Joansi Villalona

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

                              @Jay said in Link Slider:

                              The module (delay) in this case, is not updating to the position of the knob in the interface.

                              if you need the module value, use getAttribute, and use it to set your knob

                              local leftval = Delay.getAttribute(Delay.DelayTimeLeft);

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

                              JayJ 1 Reply Last reply Reply Quote 0
                              • JayJ
                                Jay @ulrik
                                last edited by

                                @ulrik and what could be the logic?

                                HiseSnippet 1356.3ocuXEtaaaCDlJwJs1coqEnO.ZACENXct1IYcCnXHpINY0nIoFwYACCXnfVhNlHxjdRzIwXn+eue8EXOB6MX6NIJKJGaGEitoeDXd28w6ij2c7XZGJ8XQQxPhU4yFOjQr9B6NiEp962mxEjVMIVO19XZjhE5jHZuwCoQQLehk0p+DJvpbIR72eu6dz.pvikIhPNWx8XGwGv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R9poeAP.gMXd9cBRgVSFgLYD2k8YeQ8D672pLmU0yuOqpGLuPhj33EEN7aKJb3pzZAPyxVF96gEHw4FbR9UXRFi+3YvOtyMuBe9lsrL2EJUf7QiiVp41.wkb6d3gWOH8GEPU4eRA91IsBnhat93wd0EQb0Xy2VM86LJM+Jt0Mp3dG0SKHcepcatxq+r46JyfuXQf+i4q9Uaqam7vjLxVx9veYgOQqTwtrJiJ24y0dTBWRSUQVj9aShjuPjw0ASkLan4PFyG66y.g61a+ocSkaBHVwQxqaCN7vP1uOYd9yO49V9sjRZ5dL2HY5u1MKIxLva0OSOvkbpbjB5y6XJzeLlXexnAcfm56wzs8Dg43qf2xmLtNNFIQGlvOdv+.eZkMvwVZkMRU9+hOFP8BkevK4FbLT3gwRf0sH9eTQY6iwwNMRu311tds5jAbe9G77v.zusAgLaLasDX1dIvryRf46VBLuZIv78KAleXgXv++MuYjRNHo3EHn8AwMPYYcffBQuwomj+EPtI9lg
                                
                                

                                Joansi Villalona

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

                                  @Jay When you go from "bothKnob" active to separate knobs, get the Delay values with "getAttribute" and store them in the separate knobs

                                  inline function onBtnLinkControl(component, value)
                                  {
                                  	separatePnl.showControl(!value);
                                  	bothPnl.showControl(value);
                                  	
                                  	//	if no value (!value), get the delay values
                                  	//	and update the separate knobs
                                  	if (!value)
                                  	{
                                  		leftKnb.setValue(Delay.getAttribute(Delay.DelayTimeLeft));
                                  		rightKnb.setValue(Delay.getAttribute(Delay.DelayTimeRight));
                                  	}
                                  };
                                  

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

                                  JayJ 1 Reply Last reply Reply Quote 0
                                  • JayJ
                                    Jay @ulrik
                                    last edited by

                                    @ulrik Thanks a lot buddy, I appreciate it

                                    Joansi Villalona

                                    1 Reply Last reply Reply Quote 0
                                    • JayJ Jay marked this topic as a question on
                                    • JayJ Jay has marked this topic as solved on
                                    • First post
                                      Last post

                                    16

                                    Online

                                    1.8k

                                    Users

                                    12.0k

                                    Topics

                                    104.5k

                                    Posts