HISE Logo Forum
    • Categories
    • Register
    • Login

    Linking knobs together via a button

    Scheduled Pinned Locked Moved General Questions
    18 Posts 3 Posters 121 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.
    • pcs800P
      pcs800 @d.healey
      last edited by

      @d-healey
      I don't know what that means. I followed the instructions to create a snippet. That code is the only code in the project. The rest was done via the gui editor.

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

        @pcs800 said in Linking knobs together via a button:

        I don't know what that means.

        The snippet should include the script, the effect, the knobs, and the button, and these should be connected up as is in your main project.

        Then when I load up the snippet I should be able to see the issue you are having.

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

        pcs800P 1 Reply Last reply Reply Quote 0
        • pcs800P
          pcs800 @d.healey
          last edited by

          @d-healey Try this

          HiseSnippet 2138.3oc2Yzzaaibkz1byJYmuVrnnnGJHB1B3TjZHIKaK0.TSaYKG2XGqURq2dnsIiHGIMMTyvkbjSTBLZ.ZOza68dp25egdbQ+Er.EEnGSuUfdY+Gz9lgTTC0G1zpItcqxg34Myade+w7XMelMNHf4qoms4.Orl9JFMFP4cqzEQnZGtml9xFGuyQl6gcQCz1cfGJH.6noqu3AhCnmYIM4uuY6cQtHpMdDHMsSYDa7QjdD9Hn0rdLw0sJxA2jzS4zEsNzlQqvbY8AlYQibZdH6mi5feBRbrELzdDJnql9OznPg11kxkqz5quQNDZcGDpXd75kws2rs8F4Jmyo0F4f+sol9GruCgy7avQbbfl9R6xbFznK6EzPBbJIfzxEKVjWqAP4PvUYtNBQT.UqRWhqSsgZo.MMciZizYKFpy9XiiINjX3izc2Qtg4HLTUf5Kjj8VLA6kWk8xovdSgkzUXokBYo6Zzv1m3wGsSns7PJG62FA1IUVI7rZK7q0MpvfSP4q0C8bbUeXQLFqtYgROvrP4b2+g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u9tFgrqoH.z7au0NW7+qqcdsTH35fF8P19rmZG9UiD9oenDBH2T43YyXbrXs4T9Bc8frbO01N4UMAhElWDWedQr37h3FyKhaNuHt07hXoKGQQQnc5CO0NLzTSCdIp708556SQfWtLhP6eKA.PPM
          
          d.healeyD ChazroxC 2 Replies Last reply Reply Quote 0
          • d.healeyD
            d.healey @pcs800
            last edited by

            There are a couple of problems.

            You haven't assigned the control callback to your controls.

            Controls can either be connected to module by parameter/processor ID or by using a control callback - you can't use both together. So if you want to use a control callback you need to remove the assignment in the interface designer.

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

            pcs800P 1 Reply Last reply Reply Quote 0
            • pcs800P
              pcs800 @d.healey
              last edited by

              @d-healey
              If I remove the assignments from the LDelay and RDelay knobs, won't they get disabled when the linkbutton is not engaged?

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

                @pcs800 said in Linking knobs together via a button:

                won't they get disabled when the linkbutton is not engaged?

                You need to use the control callback to handle both the linked and unlinked scenarios.

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

                pcs800P 1 Reply Last reply Reply Quote 0
                • pcs800P
                  pcs800 @d.healey
                  last edited by

                  @d-healey
                  I guess I am not building this plugin yet. I need to understand more of the coding language. I do not know how to use a control callback. I'll start with your video above.

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

                    @pcs800 Yeah once you get control callbacks down you'll be able to do a lot of stuff.

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

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

                      @pcs800 You have all of your knobs connected via 'Property Editor' so those arent going to react to any script like you have.

                      You can only do one or the other. If you know you're going to have scripting controlling the button/knob/slider, dont connect it via the 'Property Editor'.

                      Also, you're not declaring any reference to your knob before you have it trying to execute an action, so that will cause an error as well on its own.

                      Dave's 101 video is a great place to start. Best wishes!

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

                        Best advice....

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

                        36

                        Online

                        1.7k

                        Users

                        11.8k

                        Topics

                        102.7k

                        Posts