Integrating Third Party DSP Libraries in Scriptnode
-
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?
-
@Casey-Kolb also seeking this
-
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 intoDspNetworks/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. -
@Christoph-Hart bless you kind sir
-
@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.
-
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!
Is there a place I can put my headers, where they will be picked up by scriptnode?
The autogenerated includes file has correctly transcribed it, but VS is not able to find the thing!