HISE Logo Forum
    • Categories
    • Register
    • Login

    Link Snex Parameter to Ui

    Scheduled Pinned Locked Moved General Questions
    16 Posts 2 Posters 162 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.
    • LindonL
      Lindon @Oriah Beats
      last edited by

      @Oriah-Beats
      right click on the header and set the network to compilable, save it, open Export>Compile DSP Networks as DLL

      ..follow the process, when its done add a HardCodedMasterFX to your FX chain...., in the combobox select your waveShaper..... your param controls should show up (the one you have called knbDriven) you can address this in the std UI manner with setAttribute...

      HISE Development for hire.
      www.channelrobot.com

      O 1 Reply Last reply Reply Quote 0
      • O
        Oriah Beats @Lindon
        last edited by

        @Lindon Thanks for this. When I try to export, it gives me a compilation error without any details explaining why. I even recreated the ScriptFX in a new project and tried compiling it again, but it still throws an error during export. I've attached an image of the error below.Screenshot 2025-07-15 104146.png

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @Oriah Beats
          last edited by

          @Oriah-Beats try removing the oversampling container and see if it compiles..

          HISE Development for hire.
          www.channelrobot.com

          O 1 Reply Last reply Reply Quote 0
          • O
            Oriah Beats @Lindon
            last edited by

            @Lindon i do not have any oversampling container.

            LindonL 1 Reply Last reply Reply Quote 0
            • LindonL
              Lindon @Oriah Beats
              last edited by Lindon

              @Oriah-Beats it seems to think you do....container.oversample2x - maybe thats your problem...

              do you have any other scriptnode networks in the project?

              HISE Development for hire.
              www.channelrobot.com

              O 1 Reply Last reply Reply Quote 0
              • O
                Oriah Beats @Lindon
                last edited by

                @Lindon here is the image of my Snex Screenshot 2025-07-16 053553.png

                LindonL 1 Reply Last reply Reply Quote 0
                • LindonL
                  Lindon @Oriah Beats
                  last edited by

                  @Oriah-Beats post a snippet

                  HISE Development for hire.
                  www.channelrobot.com

                  O 2 Replies Last reply Reply Quote 0
                  • O
                    Oriah Beats @Lindon
                    last edited by

                    @Lindon ```
                    HiseSnipp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oQPtPNXFoRavfTEZ33usfuUvLIeIU6jzznxanf4Rvq42.Wqaw0zv4ozoqQ2SMzAge+5aBt5gdq2B3lAAqAWfo.KX2qTv6YZTDmmwN+ecQiAteGjvC0zDc00kuRP8tW.wLIK+PBAACsJK.f2khgZA9jL2Vf5+5GWmPdiRkOeAkJWLIdVwh2ey+IOEXPm5dp+1qC4cqSgWnqhf9+au9yG16qez5Ocm50eR4Ko1oNkVRRKdH01q2BUt3cT46UwC1xkV9dMmbXqp7oemsW28Bn0oU2ypu1xwZycp+jMqBIB4eAEdbmO.

                    1 Reply Last reply Reply Quote 0
                    • O
                      Oriah Beats @Lindon
                      last edited by

                      @Lindon

                      HiseSnippet 1815.3oc2X08babaDGmjNmPFmLMYRaxiXzzICUhCEoksqSrkrkDIS4jHIN5nc8aZftCTDiNBb4.NZo1wu2+rxy8o9mRdLuktKvc7NFSYKyj5ooTi9.6hE6OregcE+BCWFwiNQKEIIbCg3s5fTUHWqUoDu5CuLgS7toevkRy38GyDRR+NDua3a3ZCYuKSXZMOh34s52f77psFw94GezdrXlLjWRhPdpRDx+NwDgoj5fG+sh33drH9PwjJ69NOtenRtuJVkA3XU+VjDV34ry3GxvsshO4uxziIdet+su8nv62p082Zq61hw1JhwtSa9VeEez8FEd2VeUqnSuaK3q6AntajvnRCLL.8Du01SEcYvX0ykNE7TgVbZLGWzlD.Z1QtmJNBuhHUx9iEwQyLPZvb4Wwbspyb8w9GHhDynWZ19CVFzRIpZ.8VYd3s5bvqcU30pB7V.j7p.o0bP5C8CBSEIlRNHddO+9RCOcDC7SUghauDueveeErAoo4D147dovhYBz3dsZcKJ7iMdvnLYnQnjTk7PkgejrwF0+G0qU+E0o+RViFsPdnZRUww7zExFCMReUB1PlM4Td5snSYwY7YaDt9yaS8uZaZUWdn6VWYiJYeovbTBWdUABjbSE7WOoeGlggNhbZv9R3oFABAuN7oPZfysTyuCWetQk.IBujOChVTQYwLy7gPXhVNCvFLmeCcNRsvbY0DweyhqttP7C8GHL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ubH4OVs+1MsMP0bbw+2.xJ+zJ9FNTnGxynOTHMTH301vgdGp1jlEZnVYvYsBNr6yN4vi5zsgkzFO.F+p1laR6iOTfMISMicc63zFcLGZ.uYy50FEqX4GjjtMsUy1irB6neF2DXGXrgasPljY1ndMPk0pCemxg1HjzFPefineQ9wrA8ycajt4ufCv.REG2jcptg6nPj9BTeyeUGrCcpRDQ0byrVQaDox.aNcZt9mgYG11Xp8npau2CGy07Yiopov7uVKvYfGmFBuPAqfqCzpYrk9rAZYmp.KZEzXfBin6hNLGR4SF2X3mQifXgbvLRk1fAgJzvwecAcKiYb9Lp1wooQkWPAikfgq2.2qay0zv8oznqQySMz.ge+hqCt5gVqq.byffUgKPUfFrmUJX8LMJ7yyHm+eRnw.2uCR3gZZht59x2IHd2K.eljkeIAmfgVkD.vaQQWs.mPxcDn7u3A0IjWJU4SVPpxEShmkr38u7e3i.BzotIu2dcHtacJLvrJBp+u85OYXuu79q+ncpW+gkS5rScJsbIsXPmsWuEJbwbN4mUwLT4bKGgxwGNpJe52Y60cSDsNs5YVcRMGoM2o9C2rJjHj+CvNA4WI
                      
                      LindonL 1 Reply Last reply Reply Quote 0
                      • LindonL
                        Lindon @Oriah Beats
                        last edited by

                        @Oriah-Beats well it fails to compile with these errors:

                        > Create files
                        > Sorting include dependencies
                        > Creating C++ file for Network snex_shaper
                        > Compiling dll plugin
                        Re-saving file: D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\AutogeneratedProject.jucer
                        Finished saving: Visual Studio 2022
                        Finished saving: Xcode (macOS)
                        Finished saving: Linux Makefile
                        MSBuild version 17.8.3+195e7f5a3 for .NET Framework
                        
                          Main.cpp
                          RNBO.cpp
                          include_hi_dsp_library_01.cpp
                          include_hi_dsp_library_02.cpp
                          include_hi_tools_01.cpp
                          include_hi_tools_02.cpp
                          include_juce_audio_basics.cpp
                          include_juce_audio_formats.cpp
                          include_juce_core.cpp
                          include_juce_data_structures.cpp
                          include_juce_dsp.cpp
                          include_juce_events.cpp
                          include_juce_graphics.cpp
                        !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(19,56): error C2065: 'Drive': undeclared identifier [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
                          (compiling source file '../../Source/Main.cpp')
                        !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(19,44): error C2974: 'scriptnode::core::snex_shaper': invalid template argument for 'ShaperType', type expected [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
                          (compiling source file '../../Source/Main.cpp')
                          D:\HISE\hi_dsp_library\dsp_nodes\CoreNodes.h(587,1):
                          see declaration of 'scriptnode::core::snex_shaper'
                          
                        !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(19,44): error C3203: 'snex_shaper': unspecialized class template can't be used as a template argument for template parameter 'T', expected a real type [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
                          (compiling source file '../../Source/Main.cpp')
                          
                        !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(19,66): error C2988: unrecognizable template declaration/definition [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
                          (compiling source file '../../Source/Main.cpp')
                        !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(19,66): error C2059: syntax error: '>' [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
                          (compiling source file '../../Source/Main.cpp')
                        !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(26,76): error C2039: 'snex_shaper__t': is not a member of 'snex_shaper_impl' [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
                          (compiling source file '../../Source/Main.cpp')
                          D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(14,11):
                          see declaration of 'snex_shaper_impl'
                          
                        !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(26,76): error C2065: 'snex_shaper__t': undeclared identifier [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
                          (compiling source file '../../Source/Main.cpp')
                          
                        !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(26,52): error C2974: 'scriptnode::parameter::plain': invalid template argument for 'T', type expected [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
                          (compiling source file '../../Source/Main.cpp')
                          D:\HISE\hi_dsp_library\node_api\helpers\parameter.h(263,40):
                          see declaration of 'scriptnode::parameter::plain'
                          
                        !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(26,52): error C2976: 'scriptnode::parameter::plain': too few template arguments [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
                          (compiling source file '../../Source/Main.cpp')
                          D:\HISE\hi_dsp_library\node_api\helpers\parameter.h(263,40):
                          see declaration of 'scriptnode::parameter::plain'
                          
                        !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(26,35): error C3544: 'Processors': parameter pack expects a type template argument [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
                          (compiling source file '../../Source/Main.cpp')
                        !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(26,98): error C2988: unrecognizable template declaration/definition [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
                          (compiling source file '../../Source/Main.cpp')
                        !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(26,98): error C2059: syntax error: ',' [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
                          (compiling source file '../../Source/Main.cpp')
                        !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(27,54): error C2065: 'snex_shaper__t': undeclared identifier [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
                        	C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\bit(11): warning STL4038: The contents of <bit> are available only with C++20 or later. [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
                          (compiling source file '../../Source/Main.cpp')
                          
                        !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(27,47): error C2974: 'scriptnode::wrap::fix': invalid template argument for 'T', type expected [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
                          (compiling source file '../../Source/Main.cpp')
                          D:\HISE\hi_dsp_library\node_api\nodes\processors.h(249,1):
                          see declaration of 'scriptnode::wrap::fix'
                          
                        !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(31,26): error C2631: 'instance': a class or enum cannot be defined in an alias template [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
                          (compiling source file '../../Source/Main.cpp')
                          
                        !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(98,1): error C1903: unable to recover from previous error(s); stopping compilation [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
                          (compiling source file '../../Source/Main.cpp')
                          
                        
                        

                        HISE Development for hire.
                        www.channelrobot.com

                        LindonL 1 Reply Last reply Reply Quote 0
                        • LindonL
                          Lindon @Lindon
                          last edited by

                          I think probably because you named your scriptNode network snex_shaper - which is the name of a node - so dont do that for a start.

                          HISE Development for hire.
                          www.channelrobot.com

                          LindonL 1 Reply Last reply Reply Quote 0
                          • LindonL
                            Lindon @Lindon
                            last edited by

                            taking the code youve written for the shaper and applying in a clean project results in a parsing error - so your code isnt right either..

                            HISE Development for hire.
                            www.channelrobot.com

                            O 1 Reply Last reply Reply Quote 0
                            • O
                              Oriah Beats @Lindon
                              last edited by

                              @Lindon Thanks for assisting. i am a newbie in this are you able to briefly explain or if you have a Hise snippet i could check out that does the same function i could implement

                              LindonL 1 Reply Last reply Reply Quote 0
                              • LindonL
                                Lindon @Oriah Beats
                                last edited by

                                @Oriah-Beats try studying some of the example snex shaper files...- I know a few have been posted

                                HISE Development for hire.
                                www.channelrobot.com

                                O 1 Reply Last reply Reply Quote 0
                                • O
                                  Oriah Beats @Lindon
                                  last edited by

                                  @Lindon Noted Thank you

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post

                                  33

                                  Online

                                  1.8k

                                  Users

                                  12.1k

                                  Topics

                                  105.7k

                                  Posts