HISE Logo Forum
    • Categories
    • Register
    • Login

    SNEX Saturation

    Scheduled Pinned Locked Moved General Questions
    4 Posts 2 Posters 289 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.
    • FortuneF
      Fortune
      last edited by Fortune

      Hello guys. Let's say we have a wave shaper code like below:

      (input: a == "overdrive amount" - From 0.1 to 5)
      
      z = M_PI * a;
      s = 1/sin(z)
      b = 1/a
      
      if (x > b)
        f(x) = 1
      else
        f(x) = sin(z*x)*s
      

      Is it possible to adopt this code to SNEX?

      ustkU 1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @Fortune
        last edited by

        @Fortune SNEX was born for this task

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

        FortuneF 1 Reply Last reply Reply Quote 2
        • FortuneF
          Fortune @ustk
          last edited by Fortune

          @ustk I've seen the Hise Docs but SNEX is like C style. Any tips for the conversion to SNEX?

          ustkU 1 Reply Last reply Reply Quote 0
          • ustkU
            ustk @Fortune
            last edited by

            @Fortune There's no official doc at the moment, and yes it's a bit in between JS and C++.
            There is the snex_shaper node that is made for, well, shapers...
            Though for simple shape algorithms, you might want to start with a simple math.expr node

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

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

            17

            Online

            1.7k

            Users

            11.8k

            Topics

            102.6k

            Posts