HISE Logo Forum
    • Categories
    • Register
    • Login

    Scriptnode is fun!

    Scheduled Pinned Locked Moved General Questions
    29 Posts 10 Posters 2.0k 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 @DabDab
      last edited by

      Alright, I'm currently trying to improve the user friendliness of the export process to make it even more fun. Let's be honest, HISE will never win the "Most easiest app to use"-award, but this is ridiculous even for my low standards :)

      So this is what I've done so far:

      1. You don't need the snex_workbench anymore to compile the networks - there's a item in the Export menu in HISE that opens the same dialogue. It requires you to have at least one DSP network in your signal chain when exporting, but there's an error message that will tell you this.
      2. There's a command-line option to do that process, so you can call HISE.exe compile_networks -c:Debug and it should do everything for you.
      3. It will show which nodes are about to be compiled in the export dialog. After the compilation, you can query the state of the loaded DLL with Tools -> Show DSP Network DLL Info.
      4. You should not rely on the workbench like @dustbro suggested anymore - if you choose "Create a network file" in the scriptnode welcome screen, it should create a file-based network that you can export as DLL (just remember to save the network using the save button before hitting the DLL export).
      5. I am currently writing unit tests for scriptnode in this repository. This includes also a few test nodes that are compiled and tested against the interpreted node. All the nodes here are supposed to be compileable on macOS and Windows (at least with my setup). If you encounter a DspNetwork that throws a compilation error (or crashes on loading), please post it as issue in this repo, then I will create a test file from it and make sure that it works.
      C Dan KorneffD 2 Replies Last reply Reply Quote 10
      • R
        RCJacH
        last edited by

        I just compiled the newest version of HiSE from the develop branch. However I'm not able to compile to vsti. So I tried creating a new preset and added a sampler with empty samplemap to the master chain and hit export as instrument plugin. After a while, it says

        g:\coding\hise\hi_scripting\scripting\hardcoded_modules\arpeggiator.h(47): fatal error C1003: error count exceeds 10
        0; stopping compilation (compiling source file ....\JuceLibraryCode\include_hi_scripting_04.cpp)

        and fails compilation.

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

          @rcjach A bit off topic...

          How many copies of the HISE source code do you have?

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

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

            @d-healey I removed all but the develop branch before building HiSE.

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

              @rcjach There might be a bug in the latest version, try rolling back a few commits.

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

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

                @christoph-hart said in Scriptnode is fun!:

                1. I am currently writing unit tests for scriptnode in this repository. This includes also a few test nodes that are compiled and tested against the interpreted node. All the nodes here are supposed to be compileable on macOS and Windows (at least with my setup). If you encounter a DspNetwork that throws a compilation error (or crashes on loading), please post it as issue in this repo, then I will create a test file from it and make sure that it works.

                I am running in to some issues compiling some Scriptnode patches. Would someone walk me through how to properly post these in the repo Christoph created?

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

                  @crd export the network that doesn't compile as HISE snippet and open an issue here:

                  Link Preview Image
                  christophhart/scriptnode_testsuite

                  The testsuite for scriptnode using the SNEX workbench - christophhart/scriptnode_testsuite

                  favicon

                  GitHub (github.com)

                  Perhaps also post the compile error message (in a code block) so that I know what demons to fight...

                  C R 2 Replies Last reply Reply Quote 0
                  • C
                    crd @Christoph Hart
                    last edited by

                    Got it. Thanks

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

                      @christoph-hart I updated to the latest commit in develop branch and compilation is successful again.

                      1 Reply Last reply Reply Quote 1
                      • Dan KorneffD
                        Dan Korneff @Christoph Hart
                        last edited by

                        @christoph-hart doesn't look like Compile DSP networks in latest commit is doing anything. Dll info shows:

                        {"File": "", "Loaded": false}
                        

                        compile dsp.gif

                        Dan Korneff - Producer / Mixer / Audio Nerd

                        Christoph HartC 1 Reply Last reply Reply Quote 0
                        • Christoph HartC
                          Christoph Hart @Dan Korneff
                          last edited by

                          @dustbro Yes, that's one of the glitches of the JUCE migration - the OK button of ALL dialog windows stopped working. It's fixed now...

                          Dan KorneffD 1 Reply Last reply Reply Quote 3
                          • Dan KorneffD
                            Dan Korneff @Christoph Hart
                            last edited by

                            @christoph-hart Thank you for the quick fix!

                            Dan Korneff - Producer / Mixer / Audio Nerd

                            1 Reply Last reply Reply Quote 0
                            • LillieL
                              Lillie
                              last edited by Lillie

                              Thank you ! Great job :)

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

                              16

                              Online

                              1.8k

                              Users

                              12.0k

                              Topics

                              104.8k

                              Posts