Snex_node Needs to be wrapped into a compileable DSP Network
-
This post is deleted! -
Hi again, scriptnodes enthusiasts !
I'm facing another problem. Here's where I am :
I successfully compiled math node and integrated into a project (although the compiled plugin doesn't output any sound but I have to dig deeper into this before complaining :) ).I have now a whole nodeNetwork with only nodes, which is quite CPU hungry so I want to compile the network.
In the workbench, I've successfully wrapped a test-Network into a DSP network, but when compiling I'm getting this :
e:\applications\programmation\hise-develop\hi_dsp_library\dsp_nodes\routingnodes.h(391): error C2039: 'frameData' : n'e st pas membre de 'scriptnode::cable::block<2,1>' (compilation du fichier source ..\..\Source\Main.cpp) [E:\OneDrive - S oundFingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeExportTest\DspNetworks\Binaries\Builds\VisualStudio2017\FX_NodeExpor tTest_DynamicLibrary.vcxproj]
Using last develop branch version + windows 10.
And this is the WB project snippet (just a simple delay) :ScriptNode554.3oc6U0zaSCDDccR2jTZEBDbGIti0t1tj5SPIUE0CMJhf5UXwdRhUs8FsdMsgeabn+WPh+Fkci+H1VMQ.MUkC3KVimwiey68FuC49.xnyoGiL5hSlGFHQmv7jbwhQL4LjwSwd7XIKHFDlYoGlFMXFKNFBSPFswVngpVLfGxSE5XBZ.OJBhkHiVXz6VLmkj.9YYLZORvmCBY.jfPKeQ0ciVCWAhdXuYpul85Qwx7aOTXXjGsPUpFA6iOM4bcVOVH5bVXJneM5J3tSE3tKV.dPvWgl3UvSkAwSMKReWvaqZr1HlfEARPjA9hHk9cVPbNdwXhIAcF6pxXpJdrDlON3ak4GeAbYFrKpPOROBeB.9eg4cQwzu6NpO6m+t7Gu4nTIOhIyPVNkjyD6gmDb0m7gP1h5bwSTZm.LWk8dhJZ86QE8vTBgTiMdtpD8C0WTGWBk9ZZMxQWfMgRrUE35dniaeBEkMzGqGoOFDAqHqat4EgS94j21jrpfuNaFeVNMTK5lTKlOTE.cwGPsTYqJNcvIPrecc4wkdzk41ZpxsrPMfq5qmLfGWxRk6M0DwpXtKdpZQmVGz6kYlldW+EvF7QsuceTO7qnjlaU+g9nmgOvzwxxpOoeemCcn1DWTl77d8.U5f5gtFaa+xq+6cPaQG93HNWNS4SJvWGrkt6qAM2m7z93O.IfLqs0Z9ZcQ4mmX8O74IF0VTWZseH87cdH77MUw+av2nAuVvu.b1184N
@Christoph-Hart Am I missing something ? or maybe the whole functionnality in not entirely ready ?
Cheers ! -
Yes probably something wrong with the send / receive codegen (from the error it mixes up frame and block processing). I‘ll take a look later.
-
@Christoph-Hart Ok no worries. Just FYI, I tried with my project's scriptNode FX, which includes
jdsp.delay
, modulation,fix8_block
and stuff and I get a bunch of other errors if you want to take a look :e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(27): error C3203: 'jpanner' : la classe modèle non spécialisée ne peut pas être utilisée comme argument modèle pour le paramètre modèle 'T' ; type réel attendu (compilation du fichier source ..\..\Source\Main.cpp) [E:\OneDrive - Sound Fingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeExportTest\DspNetworks\Binaries\Builds\VisualStudio2017\FX_NodeExportTes t_DynamicLibrary.vcxproj] e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(72): error C2275: 'scriptnode::math::sig2mod' : utilisation non conforme de ce type comme expression (compilation d u fichier source ..\..\Source\Main.cpp) [E:\OneDrive - SoundFingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeExportTest\D spNetworks\Binaries\Builds\VisualStudio2017\FX_NodeExportTest_DynamicLibrary.vcxproj] e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_blo ck1.h(72): note: voir la déclaration de 'scriptnode::math::sig2mod' (compilation du fichier source ..\..\Source\Main. cpp) e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(72): error C3544: 'Processors' : le package de paramètres attend un argument template avec type (compilation du fic hier source ..\..\Source\Main.cpp) [E:\OneDrive - SoundFingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeExportTest\DspNet works\Binaries\Builds\VisualStudio2017\FX_NodeExportTest_DynamicLibrary.vcxproj] e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(72): error C2988: impossible de reconnaître la définition/déclaration de modèle (compilation du fichier source ..\. .\Source\Main.cpp) [E:\OneDrive - SoundFingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeExportTest\DspNetworks\Binaries\B uilds\VisualStudio2017\FX_NodeExportTest_DynamicLibrary.vcxproj] e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(72): error C2059: erreur de syntaxe : ',' (compilation du fichier source ..\..\Source\Main.cpp) [E:\OneDrive - Soun dFingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeExportTest\DspNetworks\Binaries\Builds\VisualStudio2017\FX_NodeExportTe st_DynamicLibrary.vcxproj] e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(78): error C2065: 'modchain_t_' : identificateur non déclaré (compilation du fichier source ..\..\Source\Main.cpp) [E:\OneDrive - SoundFingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeExportTest\DspNetworks\Binaries\Builds\VisualStudio2 017\FX_NodeExportTest_DynamicLibrary.vcxproj] e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(78): error C2974: 'scriptnode::wrap::control_rate' : argument modèle non valide pour 'T', type attendu (compilation du fichier source ..\..\Source\Main.cpp) [E:\OneDrive - SoundFingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeExportTest \DspNetworks\Binaries\Builds\VisualStudio2017\FX_NodeExportTest_DynamicLibrary.vcxproj] e:\applications\programmation\hise-develop\hi_dsp_library\node_api\nodes\processors.h(904): note: voir la déclaration de 'scriptnode::wrap::control_rate' (compilation du fichier source ..\..\Source\Main.cpp) e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(82): error C2906: 'scriptnode::container::chain<scriptnode::parameter::empty,scriptnode::wrap::fix<2,scriptnode::co re::fix_delay>,scriptnode::jdsp::jdelay>' : une spécialisation explicite requiert 'template <>' (compilation du fichier source ..\..\Source\Main.cpp) [E:\OneDrive - SoundFingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeExportTest\DspNetwork s\Binaries\Builds\VisualStudio2017\FX_NodeExportTest_DynamicLibrary.vcxproj] e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(86): error C2906: 'scriptnode::container::chain<scriptnode::parameter::empty,scriptnode::wrap::fix<2,scriptnode::co re::fix_delay>,scriptnode::jdsp::jdelay>' : une spécialisation explicite requiert 'template <>' (compilation du fichier source ..\..\Source\Main.cpp) [E:\OneDrive - SoundFingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeExportTest\DspNetwork s\Binaries\Builds\VisualStudio2017\FX_NodeExportTest_DynamicLibrary.vcxproj] e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(90): error C2906: 'scriptnode::container::chain<scriptnode::parameter::empty,scriptnode::wrap::fix<2,scriptnode::co re::fix_delay>,scriptnode::jdsp::jdelay>' : une spécialisation explicite requiert 'template <>' (compilation du fichier source ..\..\Source\Main.cpp) [E:\OneDrive - SoundFingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeExportTest\DspNetwork s\Binaries\Builds\VisualStudio2017\FX_NodeExportTest_DynamicLibrary.vcxproj] e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(94): error C2906: 'scriptnode::container::chain<scriptnode::parameter::empty,scriptnode::wrap::fix<2,scriptnode::co re::fix_delay>,scriptnode::jdsp::jdelay>' : une spécialisation explicite requiert 'template <>' (compilation du fichier source ..\..\Source\Main.cpp) [E:\OneDrive - SoundFingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeExportTest\DspNetwork s\Binaries\Builds\VisualStudio2017\FX_NodeExportTest_DynamicLibrary.vcxproj] e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(100): error C2906: 'scriptnode::container::split<scriptnode::parameter::empty,scriptnode::wrap::fix<2,wrapfix8_bloc k1_impl::chain2_t>,wrapfix8_block1_impl::chain4_t,wrapfix8_block1_impl::chain5_t,wrapfix8_block1_impl::chain3_t>' : une spécialisation explicite requiert 'template <>' (compilation du fichier source ..\..\Source\Main.cpp) [E:\OneDrive - S oundFingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeExportTest\DspNetworks\Binaries\Builds\VisualStudio2017\FX_NodeExpor tTest_DynamicLibrary.vcxproj] e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(106): error C3203: 'jpanner' : la classe modèle non spécialisée ne peut pas être utilisée comme argument modèle pou r le paramètre modèle 'Processors' ; type réel attendu (compilation du fichier source ..\..\Source\Main.cpp) [E:\OneDri ve - SoundFingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeExportTest\DspNetworks\Binaries\Builds\VisualStudio2017\FX_Nod eExportTest_DynamicLibrary.vcxproj] e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(106): error C2906: 'scriptnode::container::chain<scriptnode::parameter::empty,scriptnode::wrap::fix<2,scriptnode::f ilters::svf>,wrapfix8_block1_impl::split1_t,scriptnode::filters::svf_eq,int>' : une spécialisation explicite requiert ' template <>' (compilation du fichier source ..\..\Source\Main.cpp) [E:\OneDrive - SoundFingers\-- HISE SCRIPTNODES PROJ ECTS --\FX_NodeExportTest\DspNetworks\Binaries\Builds\VisualStudio2017\FX_NodeExportTest_DynamicLibrary.vcxproj] e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(110): error C2906: 'scriptnode::container::chain<scriptnode::parameter::empty,scriptnode::wrap::fix<2,scriptnode::f ilters::svf>,scriptnode::core::gain>' : une spécialisation explicite requiert 'template <>' (compilation du fichier sou rce ..\..\Source\Main.cpp) [E:\OneDrive - SoundFingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeExportTest\DspNetworks\Bi naries\Builds\VisualStudio2017\FX_NodeExportTest_DynamicLibrary.vcxproj] e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(114): error C2906: 'scriptnode::container::split<scriptnode::parameter::empty,scriptnode::wrap::fix<2,wrapfix8_bloc k1_impl::chain8_t>,wrapfix8_block1_impl::chain7_t>' : une spécialisation explicite requiert 'template <>' (compilation du fichier source ..\..\Source\Main.cpp) [E:\OneDrive - SoundFingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeExportTest\ DspNetworks\Binaries\Builds\VisualStudio2017\FX_NodeExportTest_DynamicLibrary.vcxproj] e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(118): error C2906: 'scriptnode::container::chain<scriptnode::parameter::empty,scriptnode::wrap::fix<2,wrapfix8_bloc k1_impl::split2_t>,scriptnode::core::gain>' : une spécialisation explicite requiert 'template <>' (compilation du fichi er source ..\..\Source\Main.cpp) [E:\OneDrive - SoundFingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeExportTest\DspNetwo rks\Binaries\Builds\VisualStudio2017\FX_NodeExportTest_DynamicLibrary.vcxproj] e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(121): error C2906: 'scriptnode::container::split<scriptnode::parameter::empty,scriptnode::wrap::fix<2,wrapfix8_bloc k1_impl::wrapsplit11_t>>' : une spécialisation explicite requiert 'template <>' (compilation du fichier source ..\..\So urce\Main.cpp) [E:\OneDrive - SoundFingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeExportTest\DspNetworks\Binaries\Build s\VisualStudio2017\FX_NodeExportTest_DynamicLibrary.vcxproj] e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(124): error C2908: spécialisation explicite ; 'scriptnode::container::chain<scriptnode::parameter::empty,scriptnode ::wrap::fix<2,scriptnode::core::gain>>' a déjà été instancié (compilation du fichier source ..\..\Source\Main.cpp) [E:\ OneDrive - SoundFingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeExportTest\DspNetworks\Binaries\Builds\VisualStudio2017\ FX_NodeExportTest_DynamicLibrary.vcxproj] e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(124): error C2906: 'scriptnode::container::chain<scriptnode::parameter::empty,scriptnode::wrap::fix<2,scriptnode::c ore::gain>>' : une spécialisation explicite requiert 'template <>' (compilation du fichier source ..\..\Source\Main.cpp ) [E:\OneDrive - SoundFingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeExportTest\DspNetworks\Binaries\Builds\VisualStudi o2017\FX_NodeExportTest_DynamicLibrary.vcxproj] e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(128): error C2906: 'scriptnode::container::split<scriptnode::parameter::empty,scriptnode::wrap::fix<2,wrapfix8_bloc k1_impl::wrapwrapsplit111_t>,wrapfix8_block1_impl::chain1_t>' : une spécialisation explicite requiert 'template <>' (co mpilation du fichier source ..\..\Source\Main.cpp) [E:\OneDrive - SoundFingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeE xportTest\DspNetworks\Binaries\Builds\VisualStudio2017\FX_NodeExportTest_DynamicLibrary.vcxproj] e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(130): error C2906: 'scriptnode::container::chain<scriptnode::parameter::empty,scriptnode::wrap::fix<2,wrapfix8_bloc k1_impl::split_t>>' : une spécialisation explicite requiert 'template <>' (compilation du fichier source ..\..\Source\M ain.cpp) [E:\OneDrive - SoundFingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeExportTest\DspNetworks\Binaries\Builds\Visu alStudio2017\FX_NodeExportTest_DynamicLibrary.vcxproj] e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(134): error C2065: 'modchain_t' : identificateur non déclaré (compilation du fichier source ..\..\Source\Main.cpp) [E:\OneDrive - SoundFingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeExportTest\DspNetworks\Binaries\Builds\VisualStudio2 017\FX_NodeExportTest_DynamicLibrary.vcxproj] e:\onedrive - soundfingers\-- hise scriptnodes projects --\fx_nodeexporttest\dspnetworks\binaries\source\wrapfix8_block 1.h(134): error C2974: 'scriptnode::wrap::fix' : argument modèle non valide pour 'T', type attendu (compilation du fich ier source ..\..\Source\Main.cpp)e:\applications\programmation\hise-develop\hi_dsp_library\dsp_nodes\analysernodes.h(20 5): warning C4458: la déclaration de 'rb' masque le membre de classe (compilation du fichier source ..\..\JuceLibraryCo de\include_hi_dsp_library_01.cpp) [E:\OneDrive - SoundFingers\-- HISE SCRIPTNODES PROJECTS --\FX_NodeExportTest\DspNetw orks\Binaries\Builds\VisualStudio2017\FX_NodeExportTest_DynamicLibrary.vcxproj]
Have a nice weekend !
-
Is the "Tools - Compile DSP Networks" working currently? I keep getting a crash whenever I get to this step in the process you outlined above.
-
Does anyone know if this feature is working in the new_layout branch from Oct 31st?
Am I messing something up or is it just not functional yet? I have to find a way to export this plugin now that I've incorporated Scriptnode...
-
@crd Are you using the SNEX workbench?
-
@d-healey Yes. I get an instant crash when I select "tools - compile DSP Networks"
-
For clarity -- I build the network in Hise and then reopened it in the workbench to try and prep it for export. I am also getting some angry red boxes around my global modulator inputs in the workbench.
-
@crd It's working here on GNU/Linux. Try making a simple test patch.
-
@d-healey hmm.. It get the same crash with just one expression node. I will go through the steps on last time but I am pretty sure it just not working on Mac. Even if it is user error, it shouldn't do a full crash when selecting "tools -- compile DSP Networks" regardless.
-
Okay I just double checked with the example Christoph gave above and it is still not working. I will try building the latest new_layout version tomorrow and see if it's fixed there...
-
@crd Current commit doesn't build. Stick to the 31st of Oct for now.
-
@crd I ran into several issues with the snex system so have put it on ice for now as it doesn’t seem finished / working
-
Is this working for anyone else on Mac OS? I am able to wrap the function but it fails at "tools - Compile DSP networks".
-
@crd I'll try it now and let you know.
-
@crd said in Snex_node Needs to be wrapped into a compileable DSP Network:
Is this working for anyone else on Mac OS? I am able to wrap the function but it fails at "tools - Compile DSP networks".
Working here on Big Sur with New Layout commit from earlier today.
-
@d-healey
Thank you for taking the time to check that out.hmmm. I wonder if it might have something to do with me being on Mojave?
-
I am getting a crash whenever I try to compile DSP networks from the SNEX_workbench. I am on Mac OS Mojave, using the latest new_layout build and Xcode 10.3. Here is the error message I get in Xcode when running the debug version of SNEX_workbench.
Any ideas about how I can fix this?
-
@christoph-hart said in Snex_node Needs to be wrapped into a compileable DSP Network:
Scriptnode 101: if modulating sounds bad, put it in a frame block (or fix8, fix16, whatever works).
Do you put your whole network in the fix_block? or just the module you want to modulate?