HISE Logo Forum
    • Categories
    • Register
    • Login

    SNEX - my next attempt at DSP prototyping

    Scheduled Pinned Locked Moved Blog Entries
    12 Posts 9 Posters 1.5k 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.
    • Christoph HartC
      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:

      Link Preview Image
      HISE/hi_snex/Readme.md at scriptnode · christophhart/HISE

      The open source framework for sample based instruments - HISE/hi_snex/Readme.md at scriptnode · christophhart/HISE

      favicon

      GitHub (github.com)

      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.healeyD LindonL orangeO 3 Replies Last reply Reply Quote 7
      • d.healeyD
        d.healey @Christoph Hart
        last edited by

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

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

        A 1 Reply Last reply Reply Quote 1
        • LindonL
          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
          • orangeO
            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
            • ulrikU
              ulrik
              last edited by

              Thrilling!! :)

              Hise Develop branch
              MacOs 15.3.1, Xcode 16.2
              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
                • BrianB
                  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.healeyD
                    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 MayerD
                      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

                      :man_mage_medium_skin_tone:

                      d.healeyD Alex ParadisA 2 Replies Last reply Reply Quote 1
                      • d.healeyD
                        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 ParadisA
                          Alex Paradis @Dominik Mayer
                          last edited by

                          @Dominik-Mayer
                          Sweeet! Thank you.

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

                            18

                            Online

                            1.8k

                            Users

                            12.0k

                            Topics

                            104.4k

                            Posts