HISE Logo Forum
    • Categories
    • Register
    • Login

    Compilation error on dsp network with clone node

    Scheduled Pinned Locked Moved General Questions
    7 Posts 4 Posters 222 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.
    • J
      jmannix
      last edited by jmannix

      I have created a Dsp network using a clone node and clone_cable. However, when I come to try to compile it I get this error.

      Can anyone help point me in the right direction to fix this?

      /Volumes/External SSD/Hise/HISE/hi_dsp_library/node_api/nodes/duplicate.h:172:15 Reference to non-static member function must be called

      Screenshot 2025-02-08 at 15.28.15.jpg

      System Details: Apple M1 / MacOS Sequoia / 15.3 / HISE Version 4.1.0 / Standalone

      d.healeyD HISEnbergH 2 Replies Last reply Reply Quote 0
      • d.healeyD
        d.healey @jmannix
        last edited by

        @jmannix Might be related - https://forum.hise.audio/topic/11919/global-cables-flag

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

        1 Reply Last reply Reply Quote 0
        • HISEnbergH
          HISEnberg @jmannix
          last edited by

          @jmannix there's a few tricks to get the clone node working properly. First is to always have the number of clones (voices) as your first macro control in scriptnode. The second that comes to mind is basically do all of your processing in a seperate scriptnode network, compile it, then embed that within the clone container. This is far less error prone on compilation.

          So for example, if you are making a delay that you want to clone with different delaytimes, make a seperate scriptnode network for just the delay. Compile that network, then embed that within the clone container. Hopefully this is clear and helps with the issues your experiencing, might help if you can share a snippet.

          J clevername27C 2 Replies Last reply Reply Quote 0
          • J
            jmannix @HISEnberg
            last edited by jmannix

            @HISEnberg I tried your suggestion of embedding a compiled network in the clone container, but as soon as I try to do that HISE crashes with no error 😢

            Actually, if I add a ScriptFX to the module tree for the network containing the clone node then it allows me to add the compiled node as a child.

            Is there a way to work on multiple nested networks without having ScriptFX nodes for them in the module tree?

            1 Reply Last reply Reply Quote 1
            • J
              jmannix
              last edited by jmannix

              Good news! I got it working. It involved a lot of stripping it down and building it back up little by little, saving and compiling with each step. I had a lot of trouble with HISE crashing and compilation errors, but I got there in the end. Thanks everyone for the help!

              One thing that helped me was adding a container to the project and putting ScriptFX nodes for the compiled networks in there so I can open them up easily.

              clevername27C 1 Reply Last reply Reply Quote 1
              • clevername27C
                clevername27 @HISEnberg
                last edited by

                @HISEnberg said in Compilation error on dsp network with clone node:

                This is far less error prone on compilation.

                That is a terrifying statement.

                1 Reply Last reply Reply Quote 0
                • clevername27C
                  clevername27 @jmannix
                  last edited by

                  @jmannix I can't do this any more.

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

                  28

                  Online

                  1.7k

                  Users

                  11.8k

                  Topics

                  102.8k

                  Posts