HISE Logo Forum
    • Categories
    • Register
    • Login

    Call ParametriqEQ Bands

    Scheduled Pinned Locked Moved Solved Scripting
    4 Posts 2 Posters 351 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.
    • T
      treynterrio
      last edited by

      Hi there, how do I call up the respective bands of the ParametriqEQ? 0,1,2,3,4. I want to create a button with which I can reset the frequencies and the gain to a certain value. For example, band 0 is highpass and should be reset to 20.0Hz and gain to 0.00, band 1 is lowpass and should be reset to 20.000kHz and gain to 0.00.

      Thank you!

      T 1 Reply Last reply Reply Quote 0
      • T treynterrio marked this topic as a question on
      • T
        treynterrio @treynterrio
        last edited by

        @treynterrio I'm using this but when I press the reset Button it only changes the Frequency

        inline function onresetButtonControl(component, value)
        {
            if (value)
            {
        
                ParametriqEQ1.setAttribute(ParametriqEQ1.Frequency + 1, 20.0);
                ParametriqEQ1.setAttribute(ParametriqEQ1.Gain + 1, 0.00);  
            }
        }
        
        Content.getComponent("resetButton").setControlCallback(onresetButtonControl);
        
        1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey
          last edited by

          You need to use the band offset - https://forum.hise.audio/topic/530/gui-for-the-parametric-eq/21?_=1717322645375

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

          T 1 Reply Last reply Reply Quote 1
          • T
            treynterrio @d.healey
            last edited by

            @d-healey perfect Thank you!!!

            1 Reply Last reply Reply Quote 0
            • T treynterrio has marked this topic as solved on
            • First post
              Last post

            21

            Online

            1.7k

            Users

            11.9k

            Topics

            103.7k

            Posts