Forum

    • Register
    • Login
    • Search
    • Categories

    1 Frequency to 1 Button

    General Questions
    2
    3
    206
    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.
    • Jay
      Jay last edited by

      How do I attach a specific frequency to a button, this is what'm doing, its not working

      inline function onBtn5Control(component, value)
      {
              Btn5.setValue(3500);
      	EQ1.setAttribute(EQ1.BandOffset * 4 + EQ1.Freq, value);
      };
      Content.getComponent("Btn5").setControlCallback(onBtn5Control);
      

      Joansi Villalona

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

        @Jay All of the buttons need to be in the same inline function and on the callback so;
        There you go. Enjoy 😉

        HiseSnippet 1056.3ocuW0saaaCElx1pX1aNnEnO.DAX.xaYAVIQscnnXN1wtvXKId0cA6t.FI5XBKSpJQkMif.rK26ydAFvdK1SwdC1NjRVR9mjEggUdGO77c3GO7nuC0nPgKMJRDhLp+9EATjwmYNdAWNs2TBiiFdBxXGySIQRZHNwT2EAjnHpGxvn5aUFLpWCoG+02zk3S3tzbSHzEBlK86XyYxbqi57sLe+ADO56YyK38QcF5J38D9hXfOUMaiBHtyHWSOinbqhIx3I88XRQ3XIQRi.e5J7VLdp3m3I9eAKhckOUMwFMFBThYTuoLeuQKOqQHjQsQ4m7pIm7madJyikYOOC7T8B3bDEyAFUVkR0VgR12GkFH78TA3dnmQA5UKgdOybraHKPluhhaep4PNb4Lg.o8hzJwWTk+rpYOA3AWt+bxL5fPXRFBqCa2dO7Asa250MazrAj7ij3aHg39euM9MXcgv9WSk8mLg5Js1ELuahqEctarTJ3Wd3L.xx8B.0SLOPvgIV6l4gF8FHc9WQ5LKaea1fw8YbJdRL2UxDbbbfGj5uL00AgzOXEyig7PVbFQBgJH3PuGNYkKH9wzLqsZ13VUfwvvW3R7yORWp8DnWlEEA0FsZ8ZEfs.yYCXNa.SiLAaxfMAasw19FrcqhNgw2tbGKNf6k8inxikxP1UwRpkxPWB267IS.63u.ai+RsWprydX3ZWekWLF2s5z6gZNOD09uSLGMwVe+We1cKyd2Amg7KlHUkCWFJ76Q78uBjNr1rznUNDmR.IqXSvOSHomysZ031F0ab2FqLYx1VJcW7ogaaUkLX3C.yhGO+JU06Mpb+R+.kgUkddxiS5wM4KsBNJ3C4L44Azz44hS1aQbBk9oJHSUIkffqRsH0NohTIoODySoPkcEgz7GYXZn06KCXmLv4saP+vvSHRhRtLkR.MCngRlJaXbB8Fn2Sh3YcySnQyjh.MmSkE.h7nX8Omuo60YQ9jwcBIdLwaCEwAKSVkJ1NqDauBw92e2lwdyVBPiIgWrOQtZ2JUa4zEfxnUZKnj94QL4hh4wRzBq8Vags0pjGIcel4Hlzc514aksvWUY2+y7M8AAMMSZ7kS1ZlC9wOxc+2YYAbu3van8+flGllfl4JD4r34CX9PyrH0mWUfyiRlscwzlxfcpge4y+ii6nLbvpuei6c35FNJ2vS0PbVOnuHyvu9aZOd45w3Uqa3qKFTipOzq5re7upC8NQrjwu9TBzuA9xxDxJigGS5RgqPNm5mkbRm2doVzXpNYYZ72vHcQa0bizEsWt3Gk8XNwMTboah9nph3SzVfyMW+T35vaxg4X6khhp7wb3QpW55ppR+JnBe6HNnzHNrzHNpzHbJMhWTZDurzHd0CfP8GAGGKEySzr.Ci5qaFYXzmSfpU8Wkn+gnyi3l
        

        develop Branch / XCode 13.1
        macOS Monterey / M1 Max

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

          @orange Thanks man, you're the man.

          Joansi Villalona

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

          7
          Online

          983
          Users

          6.6k
          Topics

          60.8k
          Posts