HISE Logo Forum
    • Categories
    • Register
    • Login

    Scripnode 101

    Scheduled Pinned Locked Moved General Questions
    157 Posts 13 Posters 14.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.
    • lalalandsynthL
      lalalandsynth
      last edited by

      1. Could anyone explain to my what is the "playground" "snex" and all that jazz ?
      2. Can I build CPP withing the scriptnode to include/build in HISE for future use ?
      3. What is this DLL business I see in this thread ?
      4. Am I supposed to build scriptnode fx in the "playground/Snex" rather then within HISE ?

      https://lalalandaudio.com/

      https://lalalandsynth.com/

      https://www.facebook.com/lalalandsynth

      https://www.facebook.com/lalalandsynth

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

        @lalalandsynth

        Could anyone explain to my what is the "playground" "snex" and all that jazz ?

        https://docs.hise.audio/scriptnode/manual/snex.html
        https://docs.hise.audio/scriptnode/index.html

        1. Can I build CPP withing the scriptnode to include/build in HISE for future use ?
        2. What is this DLL business I see in this thread ?

        You can (and probably should) export your node networks as a dynamic library (DLL on Windows) that will be compiled into your HISE project. This converts the scriptnode patch to C++/Assembly which will also improve efficiency.

        1. Am I supposed to build scriptnode fx in the "playground/Snex" rather then within HISE ?

        You should use the SNEX Workbench.

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

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

          @d-healey said in Scripnode 101:

          You can (and probably should) export your node networks as a dynamic library (DLL on Windows) that will be compiled into your HISE project. This converts the scriptnode patch to C++/Assembly which will also improve efficiency.

          Why , does it not end up the same when I export my plugin ? Not too concerned about performance while making it ...yet , anyways.

          "You should use the SNEX Workbench."
          So is SNEX Workbench meant for programming rather then a NODE environment ?

          https://lalalandaudio.com/

          https://lalalandsynth.com/

          https://www.facebook.com/lalalandsynth

          https://www.facebook.com/lalalandsynth

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

            Why , does it not end up the same when I export my plugin

            No it has to be compiled separately first.

            @lalalandsynth said in Scripnode 101:

            So is SNEX Workbench meant for programming rather then a NODE environment ?

            It's for both.

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

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

              @d-healey said in Scripnode 101:

              No it has to be compiled separately first.

              Interesting, I was sure I read that it was the same in the end.

              So what is the difference between making a dll and exporting as cpp ?
              And what is the benefit of building an FX in SNEX Workbench rather then within Hise where I can make them In context ?

              https://lalalandaudio.com/

              https://lalalandsynth.com/

              https://www.facebook.com/lalalandsynth

              https://www.facebook.com/lalalandsynth

              C DanHD Matt_SFM 3 Replies Last reply Reply Quote 0
              • C
                crd @lalalandsynth
                last edited by

                This post is deleted!
                DanHD 1 Reply Last reply Reply Quote 1
                • DanHD
                  DanH @lalalandsynth
                  last edited by DanH

                  @lalalandsynth said in Scripnode 101:

                  what is the benefit of building an FX in SNEX Workbench rather then within Hise where I can make them In context ?

                  You can only compile the FX in the workbench. But like you I think it seems preferable to create the FX in a HISE project rather than the workbench, and then compile it when finished

                  DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                  https://dhplugins.com/ | https://dcbreaks.com/
                  London, UK

                  1 Reply Last reply Reply Quote 0
                  • DanHD
                    DanH @crd
                    last edited by DanH

                    @crd I don't think that's the case actually, I think you're better off compiling all scriptnode fx for better cpu usage.

                    "Be aware that this is another contender for worst CPU usage for a simple effect (if you compile it the CPU usage will drop significantly)."

                    DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                    https://dhplugins.com/ | https://dcbreaks.com/
                    London, UK

                    C 2 Replies Last reply Reply Quote 0
                    • C
                      crd @DanH
                      last edited by crd

                      @danh Got it. I guess I am confusing "wrapping" with compiling. Trying to compile anything for me right now crashes scriptnode_workbench for me...

                      Has anyone been able to compile a scriptnode network on Mac OS Mojave?

                      Matt_SFM 1 Reply Last reply Reply Quote 0
                      • Matt_SFM
                        Matt_SF @lalalandsynth
                        last edited by

                        @lalalandsynth said in Scripnode 101:

                        So what is the difference between making a dll and exporting as cpp ?

                        In older versions of HISE you had to export as cpp and compile HISE again to include your network into you plugin. It's in the doc but it's outdated.
                        With latest versions you can compile a dll with the workbench, then just compile your plugin with HISE and the dll network will be embedded into your plugin.

                        And what is the benefit of building an FX in SNEX Workbench rather then within Hise where I can make them In context ?

                        @christoph-hart said in Snex_node Needs to be wrapped into a compileable DSP Network:

                        Everything that is using the SNEX compiler in HISE must be compiled to a C++ class for the exported plugin (the JIT compiler is not included in the codebase of a exported plugin). This includes:

                        • list itemany SNEX node
                        • list itemany expression node (control.cable_expr and math.expr)
                        • list itemany expression in a parameter connection (the Expression property)

                        So if you use the SNEX compiler you must compile your network first with the workbench. Also if you're working on big projects it's "lighter" to use the workbench to design your network(s) : once created, they are available here :

                        alt text

                        Develop branch
                        Win10 & VS17 / Ventura & Xcode 14. 3

                        Dan KorneffD 1 Reply Last reply Reply Quote 0
                        • Matt_SFM
                          Matt_SF @crd
                          last edited by

                          @crd

                          Has anyone been able to compile a scriptnode network on Mac OS Mojave?

                          Tried here on Catalina : workbench is not crashing, wrapping is ok but it fails to compile the network.

                          Develop branch
                          Win10 & VS17 / Ventura & Xcode 14. 3

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            crd @Matt_SF
                            last edited by

                            @matt_sf Thanks... Yeah. It wraps then I get an instant crash when trying to compile it.

                            Matt_SFM 1 Reply Last reply Reply Quote 0
                            • Matt_SFM
                              Matt_SF @crd
                              last edited by

                              @crd I faced that kind of issues with some previous commit of the develop branch, but it can be anything... Are you using the latest version of develop ?

                              Develop branch
                              Win10 & VS17 / Ventura & Xcode 14. 3

                              C 1 Reply Last reply Reply Quote 0
                              • C
                                crd @Matt_SF
                                last edited by

                                @matt_sf The build from the 27th. The latest is not building for me. I've been trying to narrow down what this could be for a couple weeks without much luck.

                                1 Reply Last reply Reply Quote 0
                                • Dan KorneffD
                                  Dan Korneff
                                  last edited by

                                  Are there any general rules to follow when using Oversampling in scriptnode? I wrapped a chain that contains send/receive nodes in 4X oversampling, and the receive node is complaining about sample rate mismatch.

                                  receive samplerate mismatch.png

                                  Dan Korneff - Producer / Mixer / Audio Nerd

                                  Matt_SFM 1 Reply Last reply Reply Quote 0
                                  • Matt_SFM
                                    Matt_SF @Dan Korneff
                                    last edited by

                                    @dustbro It happens a lot. Did you try to delete/re-create the node ? It should solve the problem.

                                    Develop branch
                                    Win10 & VS17 / Ventura & Xcode 14. 3

                                    Dan KorneffD 1 Reply Last reply Reply Quote 0
                                    • Dan KorneffD
                                      Dan Korneff @Matt_SF
                                      last edited by

                                      @matt_sf ha! I've had to remove and add a bunch of stuff to get everything to behave. I ended up taking this node out of the oversampling container for a quick fix.
                                      Do we have access to individual nodes via script? I can't seem to find a way to bypass the oversampling. .

                                      Dan Korneff - Producer / Mixer / Audio Nerd

                                      Matt_SFM 1 Reply Last reply Reply Quote 0
                                      • Matt_SFM
                                        Matt_SF @Dan Korneff
                                        last edited by

                                        @dustbro to my knowledge, there is no way to acces individual nodes or bypass a container via script -except for the container.bypass

                                        Develop branch
                                        Win10 & VS17 / Ventura & Xcode 14. 3

                                        1 Reply Last reply Reply Quote 0
                                        • Dan KorneffD
                                          Dan Korneff
                                          last edited by

                                          Maybe with this? I don't see it in the docs so I'm unsure how to use it.

                                          bypass.png

                                          Dan Korneff - Producer / Mixer / Audio Nerd

                                          Matt_SFM 1 Reply Last reply Reply Quote 0
                                          • Matt_SFM
                                            Matt_SF @Dan Korneff
                                            last edited by

                                            @dustbro I've never used these function... and won't be able to tell how they work 😁 But I guess, if you can do the bypass connection in the network graph, you can't do it by script...

                                            Develop branch
                                            Win10 & VS17 / Ventura & Xcode 14. 3

                                            Dan KorneffD 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            22

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.5k

                                            Posts