HISE Logo Forum
    • Categories
    • Register
    • Login

    Scriptnode: how to create and " overlap" switch

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 317 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.
    • J
      Jlev777
      last edited by

      How would I go about creating a switch that keeps bypass nodes on instead of turning one on, and every other one off?

      example: if my xfader is at 1, then only 1 softbypass is on, if at 2, then 2 are on, etc...

      I tried using the "overlap" mode but it does not seem to work

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

        Actually that's a good and simple request with a few applications (eg. adding multiple phaser stages etc).

        I've added a Threshold mode to the control.xfade node for this behaviour.

        It checks whether the input is bigger than Index / numElements and returns either 1 or 0, so it starts sending out 1 values to the targets when you increase the input for the exact behaviour you described.

        J 1 Reply Last reply Reply Quote 3
        • J
          Jlev777 @Christoph Hart
          last edited by

          @Christoph-Hart thank you!

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

          23

          Online

          1.7k

          Users

          11.8k

          Topics

          102.8k

          Posts