HISE Logo Forum
    • Categories
    • Register
    • Login

    Setting filter gain in script

    Scheduled Pinned Locked Moved Scripting
    3 Posts 2 Posters 995 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.
    • d.healeyD
      d.healey
      last edited by

      I'm trying to set the gain attribute of a polyphonic filter from my script, I'm using filterName.setAttribute(0, value); but the values don't seem to line up. If I put in a value of 18 I would expect the gain knob on the filter to go to 18 but it doesn't and if I don't seem to be able to set it to a negative number.

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

      1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart
        last edited by

        Yes there is indeed something weird (it changes the value somehow but with a extremely weird conversion function). I'll investigate.

        1 Reply Last reply Reply Quote 1
        • Christoph HartC
          Christoph Hart
          last edited by

          Alright, it's fixed.

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

          26

          Online

          1.8k

          Users

          12.0k

          Topics

          104.2k

          Posts