Forum

    • Register
    • Login
    • Search
    • Categories

    SNEX for idiots

    General Questions
    2
    3
    189
    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.
    • hisefilo
      hisefilo last edited by hisefilo

      Hi guys, trying learn a bit with SNEX. Where can I find more examples (besides the sinewave osc on Docs) to play with?

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

        FYI, I've just added a core.simple_jit module which allows one-line waveshaping algorithms that don't depend on states or external variables. This should be the most simple entry point to the world of SNEX. You can just enter stuff like:

        Math.abs(input - 2.0) * Math.PI + 3.0
        

        input is the hardcoded name for the input value and the calculation will be done for each sample. It's not the most efficient solution, but should get you acquainted with the general syntax and look and feel.

        hisefilo 1 Reply Last reply Reply Quote 4
        • hisefilo
          hisefilo @Christoph Hart last edited by

          @Christoph-Hart can't wait to play with it! (trying to do a sinewave bank for my weird additive stuff)

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

          16
          Online

          1.1k
          Users

          6.8k
          Topics

          62.3k
          Posts