Snex_node Needs to be wrapped into a compileable DSP Network



  • @Matt_SF Put the whole thing in it, not just the delay node ūüėČ



  • This post is deleted!


  • @Christoph-Hart What is the main block size decision? (8-16-32..)
    Is it the computing charge of the graph, like the more you have to compute, the larger the block should be?



  • Yes, at the end it's all about CPU usage, but be aware that these kind of applications are supposed to be compiled into a C++ node, so the performance difference between the different block sizes might not be so huge in the end.

    However, if you don't hear artifacts with higher block sizes for the intended use cases, there's no reason to go lower, so the general rule of thumb would be "try the highest block size that doesn't sound bad".



  • @ustk @Christoph-Hart yahooo it works !!! :ūüēļ ūüéČ
    Thank you, thank you, thank you both of you !! I've been failing for weeks, on and off, at finding a solution. I know I still have a lot to learn but this is a problem solved !!
    I can finally have a good night sleep... and find another wall to break down ūüėĀ



  • @Christoph-Hart I think we are going to need some video tutorials from you on this insanely amazing DSP powerhouse you have created ūüėČ
    And is the PC SNEX workbench working till you sort out the Mac version?



  • 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 !


Log in to reply
 

11
Online

1.6k
Users

4.6k
Topics

42.8k
Posts