HISE Logo Forum
    • Categories
    • Register
    • Login

    Button to set FX value to 0, then back to 100?

    Scheduled Pinned Locked Moved Scripting
    3 Posts 3 Posters 194 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.
    • P
      paper_lung
      last edited by

      Hi all, I'm trying to add some functionality that when a button is clicked, it sets the value of an FX parameter to 0, than after a second or so, sets it back to 100. I think I'd use a timer to do this, but I'm new to this part of Hise. Any recommendations on how to achieve this?

      d.healeyD clevername27C 2 Replies Last reply Reply Quote 1
      • d.healeyD
        d.healey @paper_lung
        last edited by

        @paper_lung

        I have a playlist here about timers - https://www.youtube.com/playlist?list=PLynv7CujPCfZBVsmtWsSZ68nPMXuIHwNL

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

        1 Reply Last reply Reply Quote 1
        • clevername27C
          clevername27 @paper_lung
          last edited by

          @paper_lung In addition to @d-healey's example,. if I'm understanding you correctly, you could simply have an if/then that read the FX parameter, and set the new value based on the current value.

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

          58

          Online

          1.7k

          Users

          11.7k

          Topics

          102.1k

          Posts