Snex_node Needs to be wrapped into a compileable DSP Network
-
-
@d-healey said in Snex_node Needs to be wrapped into a compileable DSP Network:
Develop branch?
Yes sir
-
@Christoph-Hart custom math test-node successfully exported and used inside HISE. Great job !
-
@Matt_SF Yeah, Today's Rolling Updates Was Fire :)
Right Now At >>> https://github.com/christophhart/HISE/commits/develop
-
I spent a few hours trying to go through the procedure but keep getting a crash on the âsave and reloadâ step and was not able to go further, using a freshly built version from the latest Develop branch on Mac. Is anybody using a Mac and be able to get this going? If so if you could point to the right version it would be super appreciated :)
-
@Brian I didn't build HISE on mac for a little while but I have the version from Sept. 02. Save and reload + wrapping are working fine.
Compiling DSP network is not though. -
-
@Christoph-Hart It says "too many errors".
Here's the output of the compiler :Last login: Sat Sep 25 20:54:33 on ttys000 soundfingers@MacBook-Air-de-Mathieu ~ % /Users/WORK/Hise\ Projects\ Mac/Test\ Project/DspNetworks/Binaries/batchCompileOSX ; exit; Re-saving file: /Users/WORK/Hise Projects Mac/Test Project/DspNetworks/Binaries/AutogeneratedProject.jucer Finished saving: Visual Studio 2017 Finished saving: Xcode (macOS) Finished saving: Linux Makefile Compiling Test Project ... ⸠Compiling include_juce_events.mm ⸠Compiling include_juce_core.mm ⸠Compiling include_juce_data_structures.mm ⸠Compiling include_juce_gui_basics.mm ⸠Compiling include_juce_audio_formats.mm ⸠Compiling include_juce_graphics.mm â ď¸ /Applications/HISE-develop/JUCE/modules/juce_graphics/fonts/juce_GlyphArrangement.cpp:188:30: unused variable 'x2' [-Wunused-variable] auto x2 = xOffset; ^ ⸠Compiling include_juce_dsp.mm ⸠Compiling include_juce_audio_basics.mm ⸠Compiling include_hi_tools.mm ⸠Compiling include_hi_dsp_library_02.cpp ⸠Compiling include_hi_dsp_library_01.cpp â ď¸ /Applications/HISE-develop/hi_dsp_library/snex_basics/snex_TypeHelpers.cpp:141:9: unused variable 'byteOffset' [-Wunused-variable] size_t byteOffset = (uint8*)dataPointer - (uint8*)dataStart; ^ ⸠Compiling Main.cpp â /Users/WORK/Hise Projects Mac/Test Project/DspNetworks/Binaries/Source/dspTest_1.h:22:56: use of undeclared identifier 'project' using dspTest_1_t_ = container::chain<parameter::plain<project::test_1, 0>, ^ â /Users/WORK/Hise Projects Mac/Test Project/DspNetworks/Binaries/Source/dspTest_1.h:22:75: expected a type using dspTest_1_t_ = container::chain<parameter::plain<project::test_1, 0>, ^ â /Users/WORK/Hise Projects Mac/Test Project/DspNetworks/Binaries/Source/dspTest_1.h:27:41: expected class name struct instance: public dspTest_1_impl::dspTest_1_t_ ^ â /Users/WORK/Hise Projects Mac/Test Project/DspNetworks/Binaries/Source/dspTest_1.h:52:24: no member named 'get' in 'dspTest_1_impl::instance' auto& test_1 = this->getT(0); // project::test_1 ^ â /Users/WORK/Hise Projects Mac/Test Project/DspNetworks/Binaries/Source/dspTest_1.h:52:24: expected unqualified-id /Users/WORK/Hise Projects Mac/Test Project/DspNetworks/Binaries/Source/dspTest_1.h:6:31: note: expanded from macro 'getT' ^ â /Users/WORK/Hise Projects Mac/Test Project/DspNetworks/Binaries/Source/dspTest_1.h:52:24: expected expression /Users/WORK/Hise Projects Mac/Test Project/DspNetworks/Binaries/Source/dspTest_1.h:6:37: note: expanded from macro 'getT' ^ â /Users/WORK/Hise Projects Mac/Test Project/DspNetworks/Binaries/Source/dspTest_1.h:56:9: no member named 'getParameter' in 'dspTest_1_impl::instance' this->getParameterT(0).connectT(0, test_1); // Saturation -> test_1::Value ^ â /Users/WORK/Hise Projects Mac/Test Project/DspNetworks/Binaries/Source/dspTest_1.h:56:9: expected unqualified-id /Users/WORK/Hise Projects Mac/Test Project/DspNetworks/Binaries/Source/dspTest_1.h:8:49: note: expanded from macro 'getParameterT' ^ â /Users/WORK/Hise Projects Mac/Test Project/DspNetworks/Binaries/Source/dspTest_1.h:56:9: expected expression /Users/WORK/Hise Projects Mac/Test Project/DspNetworks/Binaries/Source/dspTest_1.h:8:55: note: expanded from macro 'getParameterT' ^ â /Users/WORK/Hise Projects Mac/Test Project/DspNetworks/Binaries/Source/dspTest_1.h:56:26: 'template' keyword not permitted here this->getParameterT(0).connectT(0, test_1); // Saturation -> test_1::Value ^ â /Users/WORK/Hise Projects Mac/Test Project/DspNetworks/Binaries/Source/dspTest_1.h:62:9: no member named 'setParameter' in 'dspTest_1_impl::instance' this->setParameterT(0, 1.); ^ â /Users/WORK/Hise Projects Mac/Test Project/DspNetworks/Binaries/Source/dspTest_1.h:62:9: expected unqualified-id /Users/WORK/Hise Projects Mac/Test Project/DspNetworks/Binaries/Source/dspTest_1.h:9:56: note: expanded from macro 'setParameterT' ^ â /Applications/HISE-develop/hi_dsp_library/node_api/nodes/processors.h:1203:7: no member named 'prepare' in 'dspTest_1_impl::instance' obj.prepare(ps); ^ ** BUILD FAILED ** The following build commands failed: CompileC /Users/WORK/Hise\ Projects\ Mac/Test\ Project/DspNetworks/Binaries/Builds/MacOSX/build/Test\ Project.build/Release/Test\ Project\ -\ Dynamic\ Library.build/Objects-normal/x86_64/Main.o /Users/WORK/Hise\ Projects\ Mac/Test\ Project/DspNetworks/Binaries/Source/Main.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure) â /Applications/HISE-develop/hi_dsp_library/node_api/nodes/processors.h:1227:30: no member named 'reset' in 'dspTest_1_impl::instance' void reset() noexcept { obj.reset(); } ^ â /Applications/HISE-develop/hi_dsp_library/node_api/nodes/processors.h:1192:7: no member named 'process' in 'dspTest_1_impl::instance' obj.process(fd); ^ â /Applications/HISE-develop/hi_dsp_library/node_api/nodes/processors.h:1198:7: no member named 'processFrame' in 'dspTest_1_impl::instance' obj.processFrame(fd); ^ â /Applications/HISE-develop/hi_dsp_library/node_api/nodes/processors.h:1198:7: no member named 'processFrame' in 'dspTest_1_impl::instance' obj.processFrame(fd); ^ â /Applications/HISE-develop/hi_dsp_library/node_api/nodes/processors.h:1172:7: no member named 'initialise' in 'dspTest_1_impl::instance' obj.initialise(n); ^ â /Applications/HISE-develop/hi_dsp_library/node_api/nodes/processors.h:1208:7: no member named 'handleHiseEvent' in 'dspTest_1_impl::instance' obj.handleHiseEvent(e); ^ â fatal error: too many errors emitted, stopping now [-ferror-limit=] Compiling finished. Cleaning up... [OpĂŠration terminĂŠe]
-
Can you send me the project (just the DspNetworks subfolder)? It seems that the order of includes doesnât detect the inclusion of test1 in your main network.
-
This post is deleted! -
@Christoph-Hart Here's the folder. (Don't mind the Math.expr equation, I was just messing around :beaming_face_with_smiling_eyes: )
DspNetworks.zip -
Thank you @Christoph-Hart & @Matt_SF ! ( Just waking up here on North American time ). I'll be on standby to download and test the fixes, super excited to see this work and try some crazy DSP experiments :)
-
@Matt_SF Thanks for the example. It also doesn't work here for a few reasons, some are trivial, some are a bit harder to fix. BTW, I noticed you're using the
stk.DelayA
node, this is deprecated (I removed the entire stk module). Use thejdsp.jdelay
node for a interpolating delay line instead. -
@Christoph-Hart Noted thanks ! Yes this was not meant to be anything, I was just testing something.
-
@Matt_SF said in Snex_node Needs to be wrapped into a compileable DSP Network:
Yes this was not meant to be anything, I was just testing something.
Yeah, it would require some Steve Jobs level marketing to monetize this :)
-
@Christoph-Hart said in Snex_node Needs to be wrapped into a compileable DSP Network:
I noticed you're using the
stk.DelayA
node, this is deprecated (I removed the entire stk module). Use thejdsp.jdelay
node for a interpolating delay line instead.But jdelay isn't meant to be modulated like DelayA was, right?
-
sure, just don't modulate the limit. The
core.fix_delay
is not the most suitable candidate for modulation as it fades between two delay buffers to avoid pitch shifting, but that's what you want for all chorus, phaser, etc effects. -
@Christoph-Hart ok so I have to test again, because what I just tried gave me nothing but artifacts and glitchesâŚ
-
Well itâs the delay class from JUCE which is used in their chorus and phaser implementations so itâs supposed to work...
-
@Christoph-Hart Unless I'm doing it wrong:
HiseSnippet 1447.3oc6X8zaaTDEeVaOlXmTTAZEbbUEGRkJQ1lxej3PbSbbIh5Vq3Pa4TY5tSrG75YV1cbZLHNwG.NCm3C.GPb.ItwAthDR7EfSHN1uAva1Yc1Yh2XmXQaEU3KIy6Mu27ad+adusajviF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