Scriptnode DSP Compilation help (again!)
-
@dustbro I am not - I am a day or so behind. I will give the latest ago. Thanks !!!
-
@dustbro Some progress. Simple test networks are compiling now. My actually project is still crashing instantly when I click "compile all dsp" in Hise or Scriptnode. I'll do the fun task of trying to export each of the nodes individually tomorrow.
-
@crd there’s a thread somewhere with a link @Christoph-Hart posted to his GitHub where you can upload troublesome scriptnode projects so he can see if he needs to update that side of Hise. My one wouldn’t work until he’d pushed a commit after I uploaded it there.
I’ll try and find it later on unless you get there before me
-
@crd Are you using a convolution node?
-
@d-healey I am not.
I found the right GitHub page to load issues to:
https://github.com/christophhart/scriptnode_testsuiteHopefully the minimal snippet I made is enough info for @Christoph-Hart . If I am understanding what constitutes a scriptnode network correctly that is the first of 5 similar networks I am trying to compile.
-
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...
-
Okay now I am having trouble exporting simple test math.expr nodes. I am getting many errors in the terminal window.
-
@crd send a snip. I'm using Math nodes with no issues.
-
@dustbro One second and I will make a gif. I think that might be more helpful...
-
This post is deleted! -
@crd hmm... the scriptnode network is empty in the snip.
-
@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_
-
Here is a screen grab of what I'm getting.
-
@crd Make sure you use float values for all numbers.
-
@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.
-
@crd Are there any other dsp networks in your dspnetwork folder?
I'm able to compile the math.expr node here. -
@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.
-
@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?
Also the box in this picture 'Create an Embedded Network' - What does that do that's different to starting a new one?
-
@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.
-
@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 !