HISE Logo Forum
    • Categories
    • Register
    • Login

    Scriptnode Square shape

    Scheduled Pinned Locked Moved General Questions
    4 Posts 3 Posters 102 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 can I add a extra step to this in script node? screeen.png

      T 1 Reply Last reply Reply Quote 0
      • T
        treynterrio @treynterrio
        last edited by

        @Christoph-Hart I've used your Scriptnode LFO example maybe you could help me

        A ustkU 2 Replies Last reply Reply Quote 0
        • A
          aaronventure @treynterrio
          last edited by

          @treynterrio add another ternary step

          input < 0.6f ? 0.0f : (input < 0.7f ? 1.0f : 2.0f)

          1 Reply Last reply Reply Quote 2
          • ustkU
            ustk @treynterrio
            last edited by

            @treynterrio Concatenate the ternary operator:

            (input < 0.5f) ? 0 : (input < 0.75f) ? 1.0f : 2.0f
            

            Can't help pressing F5 in the forum...

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

            15

            Online

            1.8k

            Users

            11.9k

            Topics

            103.9k

            Posts