HISE Logo Forum
    • Categories
    • Register
    • Login

    I have a questions , How to create bypass button on EQ effect?

    Scheduled Pinned Locked Moved General Questions
    10 Posts 3 Posters 1.2k 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.
    • huen97H
      huen97
      last edited by

      I want to create a button , separately for 1-6 EQ...

      1 Reply Last reply Reply Quote 0
      • huen97H
        huen97
        last edited by

        //Bypass0_EQ

        inline function onBypass0Control(component, value)
        {
        ParametriqEQ.setBypassed(ParametriqEQ.BandOffset * 0 + ParametriqEQ.Enabled, value);
        };

        Content.getComponent("Bypass0").setControlCallback(onBypass0Control);

        I don't know how...so now i am trying....

        d.healeyD LindonL 2 Replies Last reply Reply Quote 0
        • d.healeyD
          d.healey @huen97
          last edited by

          @huen97 Do you want to bypass the entire eq effect or the individual bands?

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

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

            @huen97 said in I have a questions , How to create bypass button on EQ effect?:

            //Bypass0_EQ

            inline function onBypass0Control(component, value)
            {
            ParametriqEQ.setBypassed(ParametriqEQ.BandOffset * 0 + ParametriqEQ.Enabled, value);
            };

            Content.getComponent("Bypass0").setControlCallback(onBypass0Control);

            I don't know how...so now i am trying....

            You cant by pass bands - just the FX itself-

            inline function onBypass0Control(component, value)
            {
            ParametriqEQ.setBypassed(true);
            }
            
            • you could set the gain of a band - 0 and that should "bypass" it..

            • please put your code inside the code tags...

            HISE Development for hire.
            www.channelrobot.com

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

              @Lindon You can turn bands off/on I think. If you want to bypass the entire eq there is no need to script it, unless the button needs to do multiple things.

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

              LindonL 1 Reply Last reply Reply Quote 0
              • LindonL
                Lindon @d.healey
                last edited by

                @d-healey said in I have a questions , How to create bypass button on EQ effect?:

                @Lindon You can turn bands off/on I think. If you want to bypass the entire eq there is no need to script it, unless the button needs to do multiple things.

                wow - not sure I'd ever need it but I cant find that int eh documentation anywhere...

                HISE Development for hire.
                www.channelrobot.com

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

                  @Lindon ParametriqEQ.Enabled

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

                  LindonL 1 Reply Last reply Reply Quote 0
                  • LindonL
                    Lindon @d.healey
                    last edited by

                    @d-healey said in I have a questions , How to create bypass button on EQ effect?:

                    @Lindon ParametriqEQ.Enabled

                    LOL...er thats what I just said to him, thats for the FX not for a single band in an FX....

                    HISE Development for hire.
                    www.channelrobot.com

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

                      @Lindon You can use it as the attribute for individual bands.

                      local index = ParametriqEQ.BandOffset * 1 + ParametriqEQ.Enabled

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

                      LindonL 1 Reply Last reply Reply Quote 1
                      • LindonL
                        Lindon @d.healey
                        last edited by

                        @d-healey wow never knew that - as I say cant think why I'd ever want it....so I'm sure I will next week sometime ;-)

                        HISE Development for hire.
                        www.channelrobot.com

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

                        16

                        Online

                        2.0k

                        Users

                        12.7k

                        Topics

                        110.5k

                        Posts