Forum

    • Register
    • Login
    • Search
    • Categories

    SNEX Saturation

    General Questions
    2
    4
    63
    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.
    • Fortune
      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?

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

        @Fortune SNEX was born for this task

        Tired to press F5 in the forum...
        Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

        Fortune 1 Reply Last reply Reply Quote 2
        • Fortune
          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?

          ustk 1 Reply Last reply Reply Quote 0
          • ustk
            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

            Tired to press F5 in the forum...
            Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

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

            28
            Online

            792
            Users

            5.5k
            Topics

            51.6k
            Posts