HISE Logo Forum
    • Categories
    • Register
    • Login

    Scriptnode export issues

    Scheduled Pinned Locked Moved Bug Reports
    28 Posts 4 Posters 1.7k 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.
    • C
      crd @DanH
      last edited by

      @danh I believe if you move the dll file and the xml file you should be able to open it in a new project.

      To deal with my issues, I am avoiding anything that needs compiling which I was able to do.

      Re-doing the network in a separate project, making sure it exports there, then bringing it back into my actual project by coping and pasting the xml of the network.

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

        @crd I tried this and got an error on the node but managed to recompile the node in the project anyway. So all good. However the exported standalone won't open - instant crash like before. Are you experiencing this?

        I'm trying to export a debug build but running into errors such as:

        error reading '/Users/DanH/TEST/Binaries/JuceLibraryCode/include_juce_product_unlocking.mm'

        and other juce files.

        If I open the .mm file I get another error:

        Cannot open file '/Users/DanH/TEST/Binaries/JuceLibraryCode/AppConfig.h': Operation not permitted

        I can open the AppConfig file just fine in XCode.

        Anyone having similar issues?

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

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

          @danh Managed a Debug build on a different machine and older version of develop, here's the crashed thread report, in case it means anything to you @Christoph-Hart

          Screenshot 2022-02-03 at 11.13.33.png

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

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

            @danh I"m getting buffer issues with scriptnode plugins as well.

            Dan Korneff - Producer / Mixer / Audio Nerd

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

              @dustbro Is that what the report is showing?

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

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

                @danh 11 of the 15 lines related to your plugin point to AudioBuffer. The others are referencing your audio device.

                Dan Korneff - Producer / Mixer / Audio Nerd

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

                  @dustbro Ok thanks for looking! The project is literally a waveform generator and the script fx. I'll try a super simple script fx but I think the result will be the same!

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

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

                    @danh yup, same result! Hmmmm... What to do

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

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

                      @danh I can't be much help. It must have something to doing with compiling the dll file because my scriptnode stuff is exporting well, without creating the dll. Maybe raise an issue here so Christoph will see it?
                      https://github.com/christophhart/scriptnode_testsuite

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

                        @crd yep exporting without the .dll is fine. Some people seem to be exporting their plugins with .dlls though, I'm just confused as to how lol

                        @dustbro are you exporting ok with .dlls?

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

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

                          @danh said in Scriptnode export issues:

                          Some people seem to be exporting their plugins with .dlls though, I'm just confused as to how lol

                          I think there is a misunderstanding here. When you go to compile your scriptnode network it doesn't just compile the network you have open, it compiles all of the networks (xml) in your networks folder that have the compilation flag enabled and puts them into a single DLL. If any of those networks has a bug or is uncompilable for some reason then the compilation will fail.

                          So you need to test your networks one by one to make sure they compile successfully. Those that you don't want to compile must have their compilation flag set to disabled.

                          alt text

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

                          DanHD 1 Reply Last reply Reply Quote 1
                          • DanHD
                            DanH @d.healey
                            last edited by

                            @d-healey I put a reverb in a container - basically as simple an effect as I could, to make sure that there wasn't this issue.

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

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

                              @danh If it's a convolution reverb it's uncompilable.

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

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

                                @d-healey it's not and I tried with a simple chorus yesterday 😆

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

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

                                  @danh It seemed like yesterday you were able to compile a dll for something ?

                                  The process is definitely finicky. My goal was only to get a version of my project exported for someone I am working with, not to optimize it yet by compiling a dll of the scriptnode network. One thing I was missing (which may or may not be helpful to you) is each part that needs to be wrapped has to be wrapped individually. I.e if you have two timers in a container, each must be wrapped separately. Each wrapped file get's it's own xml file which the network file references. The network refers to all the xml files in the hise dsp network folder, regardless to whether or not they are actually present in your instrument and it will try and compile everything that you haven't manually marked to not be compiled. Definitely tedious but not impossible.

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

                                    @crd yes I compiled a dll yesterday and today. Compiling doesn't seem to be my issue (one less thing to worry about!) - it's exporting a working plugin that's the problem.

                                    Since I tried with the most basic fx I could do, I'm going to rule out wrapping with wrappers (if that makes sense!).

                                    I see the timer is a SNEX node, which I think all need to wrapped.

                                    In my project I seem to have the option to wrap two containers. Hard to know whether I should or not!

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

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

                                      @danh So, all of the plugin exported to standalone are crashing when you open them?

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

                                        @crd yes

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

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

                                          @danh dumb question, they work when there are no scriptnode stuff in them?

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

                                            @crd they only crash if I compile the scriptnode stuff to a dll. Otherwise it's fine, scriptnode fx (not dll) all good in the exported plugins

                                            My mose basic test is just a waveform generator plus a script fx with only a chorus node inside. Nothing else in the project.

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

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

                                            59

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            103.0k

                                            Posts