Forum

    • Register
    • Login
    • Search
    • Categories

    SNEX - my next attempt at DSP prototyping

    Blog Entries
    9
    12
    491
    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.
    • Christoph Hart
      Christoph Hart last edited by

      Hi everybody,

      I've recently migrated the JIT compiler I was working on for a few years now into the scriptnode branch.

      It is built upon the asmjit library and basically let's you run code in almost native C++ performance (about 10x faster than HiseScript) in a special node called core.jit.

      The language is a (extremely simplified) subset of C++, but anyone that can write Javascript should be able to adapt to it pretty quickly - there's no weird pointer stuff, the only thing that is really different is that it's strongly typed.

      A general overview of the syntax can be found here:

      https://github.com/christophhart/HISE/blob/scriptnode/hi_snex/Readme.md

      There's also a little tool called SNEX Playground, which can be used to get a feeling for the language, so feel free to compile it and let me know what you think.

      Also This is the last missing piece in scriptnode, now I'll start to flatten the edges of it and prepare for the next big HISE (3.0) release.

      d.healey Lindon orange 3 Replies Last reply Reply Quote 7
      • d.healey
        d.healey @Christoph Hart last edited by

        @Christoph-Hart Excellent, I'm glad to see you're enjoying your birthday 😄

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        A 1 Reply Last reply Reply Quote 1
        • Lindon
          Lindon @Christoph Hart last edited by Lindon

          @Christoph-Hart nice!

          minor point in the SNEX documentation:
          "The rules of operator precedence are similar to every other programming language on the planet"

          should read:
          The rules of operator precedence are similar to every other programming language on the planet, that isnt SmallTalk"

          --- yeah call me a pedant - but I'm a SmallTalk programming pedant....

          HISE Development for hire.
          www.channelrobot.com

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

            @Christoph-Hart Great news, I'll looking forward to try it

            develop Branch / XCode 13.1
            macOS Monterey / M1 Max

            1 Reply Last reply Reply Quote 0
            • ulrik
              ulrik last edited by

              Thrilling!! 🙂

              Hise Develop branch
              MacOs 13, Xcode 14.0.1
              http://musikboden.se

              1 Reply Last reply Reply Quote 0
              • A
                arminh @d.healey last edited by

                @d-healey so now im waiting for some tutorials from you haha

                1 Reply Last reply Reply Quote 0
                • Brian
                  Brian last edited by

                  This is seriously dope! Can't wait to see what crazy audio mayhem we are going to be able to flex with this!

                  1 Reply Last reply Reply Quote 0
                  • d.healey
                    d.healey last edited by

                    How does one access the SNEX playground?

                    Libre Wave - Freedom respecting instruments and effects
                    My Patreon - HISE tutorials
                    YouTube Channel - Public HISE tutorials

                    1 Reply Last reply Reply Quote 0
                    • Dominik Mayer
                      Dominik Mayer last edited by Dominik Mayer

                      In the latest scriptnode build...

                      • make a new Script FX or Scriptnode Synthesiser
                      • put the new magic formula Engine.createDspNetwork("abracadabra"); in the onInit Callback
                      • click the little open in workspace symbol
                      • Add a core.jit node
                      • right-click on it and hit edit code

                      🧙🏽♂

                      d.healey Alex Paradis 2 Replies Last reply Reply Quote 1
                      • d.healey
                        d.healey @Dominik Mayer last edited by

                        @Dominik-Mayer Perfect, thank you!

                        Libre Wave - Freedom respecting instruments and effects
                        My Patreon - HISE tutorials
                        YouTube Channel - Public HISE tutorials

                        1 Reply Last reply Reply Quote 0
                        • Alex Paradis
                          Alex Paradis @Dominik Mayer last edited by

                          @Dominik-Mayer
                          Sweeet! Thank you.

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

                            you can also just compile the project snex_playground found in the tools subdirectory, it gives you the window without any actual audio processing but has a function plotter that draws the rendered signal.

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

                            4
                            Online

                            1.2k
                            Users

                            7.0k
                            Topics

                            64.8k
                            Posts