HISE Logo Forum
    • Categories
    • Register
    • Login

    Integrating Third Party DSP Libraries in Scriptnode

    Scheduled Pinned Locked Moved Scripting
    scriptnode
    6 Posts 5 Posters 643 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.
    • Casey KolbC
      Casey Kolb
      last edited by Casey Kolb

      Hey all! We're experimenting with some new plugin ideas and started digging deeper into third party library integration with scriptnode. In particular, we're interested in integrating / licensing some of zplane's libraries like Elastique and Espace.

      We have a general idea of how we might achieve this but I haven't been able to find any clear HISE examples showing the basics of working with an external API within scriptnode.

      Does anyone have any experience or insights for this?

      @langermarc19

      Casey Kolb
      Founder & CEO of Lunacy Audio
      Composer | Producer | Software Developer

      Adam_GA 1 Reply Last reply Reply Quote 1
      • Adam_GA
        Adam_G @Casey Kolb
        last edited by

        @Casey-Kolb also seeking this

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

          I'll create an example when I'm back, but basically all you need to do is to create a template file using File -> Create C++ template, then go over to DspNetworks/ThirdParty, edit the code and compile your network dll which will then include the custom C++ node. The template contains all callbacks and should be pretty self-explanatory. If you want to include third party sources, you will need to copy the source code into DspNetworks/ThirdParty/src and include the files from your node file.

          If you've compiled it sucessfully you can load it just like a compiled C++ network (either in scriptnode itself using project.my_node or in the hardcoded FX module.

          If you go into DspNetworks/Binaries/ you can find the IDE project files for the .dll so you can run your code in the Debugger (you will need to set the debugging target to the debug version of the HISE executable which will load the debug version of the dll so you can set breakpoints.

          Adam_GA C griffinboyG 3 Replies Last reply Reply Quote 5
          • Adam_GA
            Adam_G @Christoph Hart
            last edited by

            @Christoph-Hart bless you kind sir :beaming_face_with_smiling_eyes:

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

              @Christoph-Hart Have you been able to create a basic example? Unfortunately I can't find one and I think that it would make it much easier for me and certainly others to get started.

              1 Reply Last reply Reply Quote 0
              • griffinboyG
                griffinboy @Christoph Hart
                last edited by griffinboy

                @Christoph-Hart

                Hi there, I'm looking to integrate a 'header only' library, for use in an external c++ node.

                I could find no 'src' folder and so I created it, and dumped my source code for the library in there, but that doesn't seem to be enough, as my external node will not compile!

                300133a5-fd75-4e4c-80c1-67594212b9c2-image.png

                Is there a place I can put my headers, where they will be picked up by scriptnode?

                276f1dea-2c09-4166-94c5-86c84a63ea8b-image.png

                The autogenerated includes file has correctly transcribed it, but VS is not able to find the thing!

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

                23

                Online

                1.7k

                Users

                11.7k

                Topics

                101.9k

                Posts