HISE Logo Forum
    • Categories
    • Register
    • Login

    Scriptnode DSP Compilation help (again!)

    Scheduled Pinned Locked Moved General Questions
    71 Posts 6 Posters 3.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.
    • C
      crd @crd
      last edited by

      Something seems to be wrong with the export process using the latest develop build and I also think I am messing up the wrap/compile process...

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

        Okay now I am having trouble exporting simple test math.expr nodes. I am getting many errors in the terminal window.

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

          @crd send a snip. I'm using Math nodes with no issues.

          Dan Korneff - Producer / Mixer / Audio Nerd

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

            @dustbro One second and I will make a gif. I think that might be more helpful...

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

              This post is deleted!
              Dan KorneffD 1 Reply Last reply Reply Quote 0
              • Dan KorneffD
                Dan Korneff @crd
                last edited by

                @crd hmm... the scriptnode network is empty in the snip.

                Dan Korneff - Producer / Mixer / Audio Nerd

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

                  @dustbro
                  Okay, I've been at this too long and making silly mistakes.

                  duh. Once the node is wrapped the snippet function doesn't work since it's referring to an external file (?).

                  All that was in the snippet is the math.expr node with the Hise saturation formula in it. It wraps fine but fails to compile. Here are the first few error messages: Here are the first few errors I am getting:

                  ❌ /Users/christopherdammann/Desktop/git/test5/DspNetworks/Binaries/Source/chain.h:36:35: template argument for template type parameter must be a type

                  using chain_t_ = container::chain<NV,
                  ^~

                  ❌ /Users/christopherdammann/Desktop/git/test5/DspNetworks/Binaries/Source/chain.h:42:55: unknown template name 'chain_t_'

                  template struct instance: public chain_impl::chain_t_

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

                    Here is a screen grab of what I'm getting.
                    Scriptnodecompile.gif

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

                      @crd Make sure you use float values for all numbers.

                      Dan Korneff - Producer / Mixer / Audio Nerd

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

                        @dustbro Good to know but I don't think that is the issue I'm having. I'm either missing something obvious or there is something up with the latest build that is making compiling not work for me. Possibly both :)

                        It was all working well for me but I can't remember what build that was.

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

                          @crd Are there any other dsp networks in your dspnetwork folder?
                          I'm able to compile the math.expr node here.

                          exp.png

                          Dan Korneff - Producer / Mixer / Audio Nerd

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

                            @dustbro I've been trying in a fresh project.

                            I will start a new thread so I don't high jack this one any further.

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

                              @crd feel free to hijack the thread! It's all totally relevant anyway.

                              So when I 'Wrap into DSP Network' I get a copy of the Script FX (see image). Is that right?

                              Screenshot 2022-02-01 at 13.49.13.png

                              Also the box in this picture 'Create an Embedded Network' - What does that do that's different to starting a new one?

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

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

                                @danh I get the same duplication. I'm not sure if it's intentional.

                                Embedded puts the scriptnode dsp in the project itself rather than create a network file that you can share between projects ? I think it's intended for prototyping. That's my best guess. :)

                                In the latest build it seems like things that didn't need to previously be compiled like timers now need to be compiled... I'm pretty frustrated. My project used to export fine but now no luck.

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

                                  @crd yes the whole thing is super frustrating :face_with_tears_of_joy: It can add so much to a plugin but take so much of your life !

                                  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 I mean I just rebuilt my script fx from scratch, wrapped it into a DSP Network, unloaded it, tried to reload it from the menu and..... crash!

                                    Try to re-open project... crash!!

                                    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 am having so many crashes it's hard to pinpoint what's what. Sometimes I can wrap and then open the compile dialog (which then fails in terminal). Othertimes after I've wrapped a node then project then crashes immediately when choosing compile all dsp. Previously I worked around this by just removing everything that needed to be compiled but now it seems like more things need to be compiled in order to export vsts.

                                      @Christoph-Hart any ideas about what's going on?

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

                                        @crd I'm going to test with more basic patches - I saw you choose CI in the Build Config option when trying to compile the dll - is that preferable to Release?

                                        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 have no idea. I've been trying both "cl" and "release". cl is what I choose when building Hise from the source code... Maybe that is where I am going wrong ?

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

                                            @crd well I made the most basic fx I cld, stuck a chorus in the main container and managed to wrap into DSP network and compile to dll..... but.... how can you tell if HISE is using the dll? It looks the same to me now that I have reopened 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

                                            28

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.1k

                                            Posts