HISE Logo Forum
    • Categories
    • Register
    • Login

    Curve type in a parametric

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 116 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
      last edited by

      If I have a parametric eq and want to control the curve type with a button, it only controls two of the 5 curve type.
      It toggles back and forth between HP and LP.
      How do I set up a button toggle all 5?

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

        @pcs800

        You need to use getfiltermodelist. The usage is not straight forward, but there are a few examples on the forum.

        Scratch that, I was thinking of the filter not the EQ. I'll look into an answer for you.

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

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

          Ah ok I see the issue. I assume you're connecting the button to the module through processor/parameter ID? The button only has two states, 0 and 1, so it will only change the Type parameter between those two values.

          If you want it to cycle through more values you'll need to handle it through scripting by using a variable as a counter and increasing it each time the button is clicked, resetting when you get to the max (4) and passing the value to the EQ's Type attribute.

          If your EQ has more than one band you'll need to use the band offset to select which band is affected by the button - forum search for "band offset".

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

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

          24

          Online

          1.8k

          Users

          12.0k

          Topics

          104.1k

          Posts