HISE Logo Forum
    • Categories
    • Register
    • Login

    Scriptnode export issues

    Scheduled Pinned Locked Moved Bug Reports
    28 Posts 4 Posters 1.6k 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
      last edited by crd

      I'm trying to export my program from Hise to a vst/standalone instrument. I'm having some issues:

      1.) I'm getting error when creating dll files for scriptfx's from a wrapped math.expr.
      Scriptnodecompile.gif
      2.) fixed/user error I am now unable to export from Hise certain scriptnode objects without compiling that used to export fine.
      The timer node previously exporting from hise fine but now I am getting this message whenever I try to export a vst or standalone instrument :

      Screen Shot 2022-01-31 at 2.38.06 PM.png

      Any ideas? Everything works within Hise fine. Could I have made an error when compiling the last Hise build that would cause these issues?

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

        Could my issues have something to do with the custom node path ? Right now, that is blank. Should that be directed somewhere?

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

          @crd No that's only used if you make your own c++ nodes

          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
            last edited by

            Problem solved. Creating entirely new projects/network files fixed the issues I was having.

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

              @crd So... if we create a brand new project etc, should we be able to move the dll between projects?

              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 yup!

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

                  @crd just copy the dll files into the new project or?

                  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 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
                                            • First post
                                              Last post

                                            36

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            102.1k

                                            Posts