Snex_node Needs to be wrapped into a compileable DSP Network
-
Can We See A Video Tutorial For This,
Once I'm able to build the develop branch I'll make a video.
-
@d-healey Thank You Sir :)
-
Hi there, and thank you @Christoph-Hart for this tutorial !
I'm facing an issue though : wrapping my custom node into a dsp network works as expected, but when I click 'save & reload' my custom node is gone... all that's left are the root parameter and the other 'factory nodes' I put in the signal chain... The xml file is actually saved in the folder...
If someone has an idea of why this happens... maybe I missed something ?
Thanks ! -
@Matt_SF Same Here
-
@Natan At first I thought I oversighted a parameter in the projucer project, I tried to compile using different options but I ended up with the same result...
-
@d-healey said in [Snex_node Needs to be wrapped into a
Once I'm able to build the develop branch I'll make a video.
There is No New updated Commit Since 2 Weeks Ago, I Guess Christoph Is Making Some Big Changes, And Still Need To Wait For @d-healey To Change His Mind And Getting A Windows Machine :) LOL And Bring Us An Indepth Tutorial :)
-
@Natan said in Snex_node Needs to be wrapped into a compileable DSP Network:
To Change His Mind And Getting A Windows Machine
I have a Windows machine :p but I only use it for compiling, I have no desire to spend any time with it.
-
@d-healey said in Snex_node Needs to be wrapped into a compileable DSP Network:
I have no desire to spend any time with it.
I really shoul give Linux a try...
(Completey unrelated to the post) :face_savoring_food: -
@Matt_SF Same for me
-
@Christoph-Hart I'm suffering from a severe node-tweaking deficiency so I'm making a small bump :beaming_face_with_smiling_eyes:
-
Hey @d-healey, do you think you'll get any time soon to put together a video tutorial of this for us patreons?
Personally, I've been banging my head against the wall trying to get the Pitchshifter Tutorial working in an exported plugin.
I get as far as this after choosing to Wrap into DSP Network but things appear blank after Saving and reopening the project in HISE.
After saving an reopening things look like this:
I should note that I am using the develop branch to load this Pitchshifter tutorial project as I believe that the 'SNEX Workbench' is only available in develop.
Is this true?The instructions included in the tutorial project appear simple enough but attempting it seems far from trivial (see instructions below).
I'm also unable to find 'Tools/Compile All nodes' anywhere in HISEAny thoughts?... Sorry for the brain dump!
**Compile the PitchShift node
The first thing you should do is to compile the PitchShifter.xml network into a C++ node. Open the Network in the SNEX workbench, then go to Tools / Compile All nodes.The performance of the uncompiled node is around 5% CPU, and goes down to 0.9% CPU in Release mode.
Build the examples
When you compile the nodes in a project, they will also be copied to the AdditionalSourceCode directory of the project root and when you export a plugin from the project that uses one of the compiled nodes, it will compile them again and embed them into the binary of the plugin (so you don't need to ship that .dll that you've used in the SNEX workbench with your plugin). This is the recommended workflow for all non-trivial custom nodes in a project.** -
@LeeC said in Snex_node Needs to be wrapped into a compileable DSP Network:
ll get any time soon to put together a video tutorial of this for us patreons?
I won't do a tutorial for SNEX or scriptnode before HISE 3.0 is released, because this is still quite an active area of development and a lot might change (also I haven't spent that much time with it yet myself).
I believe that the 'SNEX Workbench' is only available in develop.
Is this true?Yes, as far as I know. You definitely want to be using the develop branch for this stuff anyway because there won't be any new updates for it to the master branch until HISE 3.0 is released.
'Tools/Compile All nodes'
That's in the workbench, I think it's been renamed to compile DSP networks.
-
Thanks for clarifying about the renamed "compile DSP networks" @d-healey.
Thought this might be the case but didn't want to assume. -
There are multiple locations where things might have gone wrong. Where did you get stuck?
- Compiling the pitch shifter to a dll
- Reload that as compiled node into the workbench.
- Open the compiled node in HISE.
-
@Christoph-Hart thanks for jumping in!
Really don't want to take up too much of your time on this one, but I guess I never saw instructions on how to compile this 'pitch shifter to a dll'.So step 1. I guess :beaming_face_with_smiling_eyes:
-
Check my first post in this thread, basically you just need to use the Tools / Compile Whatever function and it should run the exporter that compiles the dll you need. Then you will need to restart the SNEX workbench and the node should have been replaced by the dll one (indicated with the freeze icon).
-
@Christoph-Hart Ok, so by restarting the "SNEX workbench" do you mean restarting the whole of HISE? I don't see a specific option for the workbench.
I get as far as this after choosing to Wrap into DSP Network but things appear blank after Saving and reopening the project in HISE.
After saving an reopening things look like this:
-
@LeeC SNEX workbench is a separate application to HISE. It's in the Tools folder of the HISE source.
-
Hi, taking the opportunity to jump in :
On my side I can successfully wrap the nodes network into a DSP network but when I click on Tools/Compile DSP Network, the WB crashes.Everything is supposed to be set up correctly.
Using latest commit, Win10. -
@d-healey A ha... I was completely unaware of this!
Ok, I'll compile the SNEX workbench application and see how I get on :beaming_face_with_smiling_eyes: