Scriptnode is fun!
-
@ursbollhalder I'll post something soon for ya
-
@dustbro That'd be great! Thx!
-
@dustbro How do you move it to HISE after the workbench? As in, when you create a Script FX in HISE, how do you load the compiled chain into it?
-
@danh First, I create a project in HISE, then close it. Open workbench and load your project folder. Create new dsp. Then when you add a scriptFX in HISE, your new dsp network will be available.
-
@ursbollhalder Nice man.. Where is the GUI/Plugins interface. I am curious to see it. Nice work dude (y)
-
@dabdab Thx… with this one I am behind with the ui! Hopefully 2022 will see some releases from me… It’s a long road!
The video was for an Instagram post I made yesterday… Doesn’t have a whole lot to do with the instrument ui and so on… but was fun! -
@ursbollhalder Cheers man. See you soon on the market :)
-
Alright, I'm currently trying to improve the user friendliness of the export process to make it even more fun. Let's be honest, HISE will never win the "Most easiest app to use"-award, but this is ridiculous even for my low standards :)
So this is what I've done so far:
- You don't need the snex_workbench anymore to compile the networks - there's a item in the Export menu in HISE that opens the same dialogue. It requires you to have at least one DSP network in your signal chain when exporting, but there's an error message that will tell you this.
- There's a command-line option to do that process, so you can call
HISE.exe compile_networks -c:Debug
and it should do everything for you. - It will show which nodes are about to be compiled in the export dialog. After the compilation, you can query the state of the loaded DLL with Tools -> Show DSP Network DLL Info.
- You should not rely on the workbench like @dustbro suggested anymore - if you choose "Create a network file" in the scriptnode welcome screen, it should create a file-based network that you can export as DLL (just remember to save the network using the save button before hitting the DLL export).
- I am currently writing unit tests for scriptnode in this repository. This includes also a few test nodes that are compiled and tested against the interpreted node. All the nodes here are supposed to be compileable on macOS and Windows (at least with my setup). If you encounter a DspNetwork that throws a compilation error (or crashes on loading), please post it as issue in this repo, then I will create a test file from it and make sure that it works.
-
I just compiled the newest version of HiSE from the develop branch. However I'm not able to compile to vsti. So I tried creating a new preset and added a sampler with empty samplemap to the master chain and hit export as instrument plugin. After a while, it says
g:\coding\hise\hi_scripting\scripting\hardcoded_modules\arpeggiator.h(47): fatal error C1003: error count exceeds 10
0; stopping compilation (compiling source file ....\JuceLibraryCode\include_hi_scripting_04.cpp)and fails compilation.
-
@rcjach A bit off topic...
How many copies of the HISE source code do you have?
-
@d-healey I removed all but the develop branch before building HiSE.
-
@rcjach There might be a bug in the latest version, try rolling back a few commits.
-
@christoph-hart said in Scriptnode is fun!:
- I am currently writing unit tests for scriptnode in this repository. This includes also a few test nodes that are compiled and tested against the interpreted node. All the nodes here are supposed to be compileable on macOS and Windows (at least with my setup). If you encounter a DspNetwork that throws a compilation error (or crashes on loading), please post it as issue in this repo, then I will create a test file from it and make sure that it works.
I am running in to some issues compiling some Scriptnode patches. Would someone walk me through how to properly post these in the repo Christoph created?
-
@crd export the network that doesn't compile as HISE snippet and open an issue here:
https://github.com/christophhart/scriptnode_testsuite/issues
Perhaps also post the compile error message (in a code block) so that I know what demons to fight...
-
Got it. Thanks
-
@christoph-hart I updated to the latest commit in develop branch and compilation is successful again.
-
@christoph-hart doesn't look like Compile DSP networks in latest commit is doing anything. Dll info shows:
{"File": "", "Loaded": false}
-
@dustbro Yes, that's one of the glitches of the JUCE migration - the OK button of ALL dialog windows stopped working. It's fixed now...
-
@christoph-hart Thank you for the quick fix!
-
Thank you ! Great job :)