HISE Logo Forum
    • Categories
    • Register
    • Login

    Snex_node Needs to be wrapped into a compileable DSP Network

    Scheduled Pinned Locked Moved General Questions
    92 Posts 10 Posters 7.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Christoph HartC
      Christoph Hart
      last edited by

      @Brian save and reload is just a shortcut. If you reopen the workbench and load your network it should be the same

      @Matt_SF What‘s the error message?

      Matt_SFM 1 Reply Last reply Reply Quote 0
      • Matt_SFM
        Matt_SF @Christoph Hart
        last edited by

        @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]
        
        
        
        1 Reply Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart
          last edited by

          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.

          Matt_SFM 2 Replies Last reply Reply Quote 0
          • Matt_SFM
            Matt_SF @Christoph Hart
            last edited by Matt_SF

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • Matt_SFM
              Matt_SF @Christoph Hart
              last edited by

              @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

              Christoph HartC 1 Reply Last reply Reply Quote 0
              • BrianB
                Brian
                last edited by

                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 :)

                1 Reply Last reply Reply Quote 1
                • Christoph HartC
                  Christoph Hart @Matt_SF
                  last edited by

                  @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 the jdsp.jdelay node for a interpolating delay line instead.

                  Matt_SFM ustkU 2 Replies Last reply Reply Quote 0
                  • Matt_SFM
                    Matt_SF @Christoph Hart
                    last edited by

                    @Christoph-Hart Noted thanks ! Yes this was not meant to be anything, I was just testing something.

                    Christoph HartC 1 Reply Last reply Reply Quote 0
                    • Christoph HartC
                      Christoph Hart @Matt_SF
                      last edited by

                      @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 :)

                      1 Reply Last reply Reply Quote 1
                      • ustkU
                        ustk @Christoph Hart
                        last edited by

                        @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 the jdsp.jdelay node for a interpolating delay line instead.

                        But jdelay isn't meant to be modulated like DelayA was, right?

                        Can't help pressing F5 in the forum...

                        1 Reply Last reply Reply Quote 0
                        • Christoph HartC
                          Christoph Hart
                          last edited by Christoph Hart

                          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.

                          ustkU 1 Reply Last reply Reply Quote 2
                          • ustkU
                            ustk @Christoph Hart
                            last edited by

                            @Christoph-Hart ok so I have to test again, because what I just tried gave me nothing but artifacts and glitches…

                            Can't help pressing F5 in the forum...

                            1 Reply Last reply Reply Quote 0
                            • Christoph HartC
                              Christoph Hart
                              last edited by

                              Well it‘s the delay class from JUCE which is used in their chorus and phaser implementations so it‘s supposed to work...

                              ustkU 1 Reply Last reply Reply Quote 0
                              • ustkU
                                ustk @Christoph Hart
                                last edited by

                                @Christoph-Hart Unless I'm doing it wrong:

                                HiseSnippet 1447.3oc6X8zaaTDEeVaOlXmTTAZEbbUEGRkJQ1lxej3PbSbbIh5V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XV+FPBjcj+KhGA+cio7VPX+zmdbJ.OyXFA6r7FCM4YMFFItkwgTxPafupNkMgwhRVKl0fv9jn9TYBjOIQ3bTm4tfLqf+jjZoYdDE0UwsTDS52bGNAdTIwTb1tteTyYxa93Wo0uuI5ewBI1KLLfPQ5.J4DE8VS650bdV4kyAwIOqrh9YkFK26JNVZJ0WZooK.TiC2HkkkVruyEN20RZ9UmhqVaIzywLiHmZ44yeHktTbVr5MFKEfqNMZclndnklE3EpuTdg4DZZs3C2cZreZyQPSYgzHIS0MmSK5gvve59Xq.Wp3gRQnUC2WVybU78HGRSl6LocnKmr9.QzH2aRAnpdVu9oM44O+m+1OdVm7L7LO44c7j.D1OhviCEwz5lZ9D7ZXxqEUNlaucMIqcotdsgqmw9Vo4ThMLI1kvsTFr1RScTs6lsTWaqGEtM92IqkHib5tiCho2i4KGXn2+vfbCSxuOIxG7KdVigUbol8wd5Ti8myfPk++IxWz.Q0l6.QViRVYJF6wTuWsC+PZ.jllfwWFxKOfLNPNkpcdVGAWDNPvYVQ.6Qgwr52mZEXk6E5FRIwaXFkK0bOJ7nUrUmp2BJGQhRZ8c4rE0O61h44udMrFttphCtOe7kTJ9bzWR4IQFJT+7+Nd5WEC0za3l3tce16ueZ7QWdZbFiHdQhG3o+VUpBFqjPAt27jO7bEbG0Z25nC0cwgw01nFZD7ryC77TwzuAXexWlFKgLu4RHy0WBYdqkPl2dIj4cVBYd24Ji5E+zViUw+.gt6jzIpiS1zcEQ+CjC2c6.
                                

                                Can't help pressing F5 in the forum...

                                Matt_SFM 1 Reply Last reply Reply Quote 0
                                • Matt_SFM
                                  Matt_SF @ustk
                                  last edited by

                                  @ustk @Christoph-Hart and I noticed the same glitches appears if you modulate the simple gain Delay parameter :

                                  HiseSnippet 1079.3oc6X0rjaSDDdjsmTqKfTg7SAG0AtQQJKuKAxIbVu1KtvN1rZqDn3PpAo1VSEoYDRiVv23MfWMdD3NW3M.lQxRZjWgWGE1JYSgO3xc2yOeS+e6EQbGHN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IRpmfFpKr1ecwtrWeLNCtlpjCluaLAb62gl.95HBUl+7lik9ivxb58MSM2lu4s2a0lAt11LZsqI52tMiJSzm1rvq++ZvUdG5sxf1UqLFWpUl.hSD+ExhshHtuJUyAobjZLV5e0XW7LEsoE5BheR5nf8dXOTfrf0KbbTQCelTyV+d52f8bXC1yQMXOedC1yiZvd9hFrmubm6Q0qvSRjSolE4HYrXT17oFEy4J6Y8e3jtzy.
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • Christoph HartC
                                    Christoph Hart
                                    last edited by

                                    Unless I'm doing it wrong:

                                    Scriptnode 101: if modulating sounds bad, put it in a frame block (or fix8, fix16, whatever works).

                                    ustkU Matt_SFM Dan KorneffD 3 Replies Last reply Reply Quote 1
                                    • ustkU
                                      ustk @Christoph Hart
                                      last edited by

                                      @Christoph-Hart Of course... Silly me, I used an oversample chain....

                                      Can't help pressing F5 in the forum...

                                      1 Reply Last reply Reply Quote 0
                                      • Matt_SFM
                                        Matt_SF @Christoph Hart
                                        last edited by

                                        @Christoph-Hart said in Snex_node Needs to be wrapped into a compileable DSP Network:

                                        Unless I'm doing it wrong:

                                        Scriptnode 101: if modulating sounds bad, put it in a frame block (or fix8, fix16, whatever works).

                                        Mmmhh, we agree that we are talking about putting the jdsp.delay node into a container.frame2_block or a container.fix8_block right ? Because it not working here, so I'm guessing I, now am doing it wrong 😁

                                        ustkU 1 Reply Last reply Reply Quote 0
                                        • ustkU
                                          ustk @Matt_SF
                                          last edited by

                                          @Matt_SF Put the whole thing in it, not just the delay node ;)

                                          Can't help pressing F5 in the forum...

                                          Matt_SFM 1 Reply Last reply Reply Quote 1
                                          • Christoph HartC
                                            Christoph Hart
                                            last edited by

                                            This post is deleted!
                                            ustkU 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            22

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.4k

                                            Posts