HISE Logo Forum
    • Categories
    • Register
    • Login

    Hard Clipper

    Scheduled Pinned Locked Moved General Questions
    43 Posts 6 Posters 2.9k 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.
    • DanHD
      DanH @Christoph Hart
      last edited by

      @Christoph-Hart I'm trying to export the project @Dan-Korneff posted above. I've followed instructions on how to compile the SNEX node for export from this thread: https://forum.hise.audio/topic/4364/snex_node-needs-to-be-wrapped-into-a-compileable-dsp-network?_=1683724590086

      So:

      • set 'Allow Compilation'
      • Select SNEX node and Wrap into Compiled DSP Network
      • Reload project and choose Export -> Compile DSP Networks
      • reload project and select Export -> Export as FX Plugin

      However I run into the 'Snex_node Needs to be wrapped into a compilable DSP Network' error every time.

      @Dan-Korneff suggested this is an existing bug with the SNEX Shaper node?

      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
      https://dhplugins.com/ | https://dcbreaks.com/
      London, UK

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

        @DanH if you 'allow compile network' you don't need to wrap the SNEX node. You need to do that if you don't compile the entire network.
        It's either one or the other but not both.

        Develop branch
        Win10 & VS17 / Ventura & Xcode 14. 3

        DanHD 1 Reply Last reply Reply Quote 0
        • DanHD
          DanH @Matt_SF
          last edited by

          @Matt_SF ok thanks, well doing it or not ends up in the same place. My node looks ok I think, the green icon is 'on' as it's meant to be...

          Any chance anyone else can test?

          Screenshot 2023-05-10 at 15.22.49.png

          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
          https://dhplugins.com/ | https://dcbreaks.com/
          London, UK

          Dan KorneffD ulrikU 2 Replies Last reply Reply Quote 0
          • Dan KorneffD
            Dan Korneff @DanH
            last edited by

            @DanH I'll try to redo with the SNEX node today. That should work

            Dan Korneff - Producer / Mixer / Audio Nerd

            1 Reply Last reply Reply Quote 1
            • ulrikU
              ulrik @DanH
              last edited by

              @DanH I get the same "Need to be wrapped...." stuff as you

              Hise Develop branch
              MacOs 15.3.1, Xcode 16.2
              http://musikboden.se

              DanHD 1 Reply Last reply Reply Quote 0
              • DanHD
                DanH @ulrik
                last edited by

                @ulrik Thank you for testing :folded_hands_light_skin_tone:

                DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                https://dhplugins.com/ | https://dcbreaks.com/
                London, UK

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

                  @DanH @ulrik it's working well here. If you first messed up the DLL compilation, maybe try to redo it in a new project folder (to start from scratch).

                  @Dan-Korneff well done, it sounds nice :thumbs_up:

                  Develop branch
                  Win10 & VS17 / Ventura & Xcode 14. 3

                  Dan KorneffD DanHD 3 Replies Last reply Reply Quote 0
                  • Dan KorneffD
                    Dan Korneff @Matt_SF
                    last edited by

                    @Matt_SF Wish I could take credit. This is a variable clipping equation from 20 years ago.

                    Dan Korneff - Producer / Mixer / Audio Nerd

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

                      @Dan-Korneff well, old doesn't mean bad, so thanks anyway 😁👍

                      Develop branch
                      Win10 & VS17 / Ventura & Xcode 14. 3

                      1 Reply Last reply Reply Quote 1
                      • DanHD
                        DanH @Matt_SF
                        last edited by

                        @Matt_SF just tried in a new project and get the same result...

                        I get this error message in the dll compilation though, but says process completed and there's a dylib file created and the node looks correct in Hise...

                        DLL_EXPORT scriptnode::Error getError()
                                                     ^
                        
                        
                        ▸ Compiling RNBO.cpp
                        ▸ Linking CLIPPER.dylib
                        ▸ Build Succeeded
                        
                        Saving session...
                        ...copying shared history...
                        ...saving history...truncating history files...
                        ...completed.
                        
                        [Process completed]
                        
                        

                        DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                        https://dhplugins.com/ | https://dcbreaks.com/
                        London, UK

                        1 Reply Last reply Reply Quote 0
                        • DanHD
                          DanH @Matt_SF
                          last edited by

                          @Matt_SF so you managed to export the project as a plugin?

                          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                          https://dhplugins.com/ | https://dcbreaks.com/
                          London, UK

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

                            @DanH yes, it's working just fine. I don't know why it won't work on your computer.
                            These are the steps I followed (as usual actually) :

                            • new project, create a scriptFX module
                            • create a snex_shaper node
                            • create a new file called "snex_shaper"
                            • create a new parameter called "soft/hard"
                            • copy/paste @Dan-Korneff 's code into it
                            • set allow compilation to "enabled"
                            • Done

                            I'm sure you know how to do it though...

                            If the snex node doesn't work for you, and you still want to use it, try to use a Math.exprnode and put the algorithm @Dan-Korneff used in the SNEX code in it.

                            Develop branch
                            Win10 & VS17 / Ventura & Xcode 14. 3

                            Dan KorneffD 1 Reply Last reply Reply Quote 0
                            • Dan KorneffD
                              Dan Korneff @Matt_SF
                              last edited by Dan Korneff

                              @Matt_SF I get the same issue here when I try to export a plugin after compiling the network .dll of a SNEX Shaper node.

                              Screenshot 2023-05-11 165428.jpg

                              Dan Korneff - Producer / Mixer / Audio Nerd

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

                                @Dan-Korneff you must not wrap the snex_shaper node, simply leave it as it is and compile the dll :

                                e651c020-c116-4ca4-bd78-08dce33398f3-image.png

                                Develop branch
                                Win10 & VS17 / Ventura & Xcode 14. 3

                                Dan KorneffD 1 Reply Last reply Reply Quote 0
                                • Dan KorneffD
                                  Dan Korneff @Matt_SF
                                  last edited by Dan Korneff

                                  @Matt_SF I thought all custom SNEX nodes needed to be wrapped? 🤷‍♂️

                                  Dan Korneff - Producer / Mixer / Audio Nerd

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

                                    @Dan-Korneff actually, if you want to keep the bare scriptFX module in your project (and in your compiled plugin), you have to :

                                    • disable 'allow compilation' of the network
                                    • wrap the SNEX / expr node
                                    • compile the dll
                                    • compile your plugin.

                                    If you want to use a hardcodedFX in your project (and in your compiled plugin), you just need to :

                                    • enable 'allow compilation' of the network
                                    • compile the dll
                                    • compile your plugin.

                                    (> don't wrap the SNEX / expr node for the 2nd solution)

                                    Edited

                                    Develop branch
                                    Win10 & VS17 / Ventura & Xcode 14. 3

                                    DanHD 1 Reply Last reply Reply Quote 0
                                    • DanHD
                                      DanH @Matt_SF
                                      last edited by

                                      @Matt_SF I've tried both ways and still get the same error!

                                      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                      https://dhplugins.com/ | https://dcbreaks.com/
                                      London, UK

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

                                        @DanH did you retry in a new blank project ?

                                        Develop branch
                                        Win10 & VS17 / Ventura & Xcode 14. 3

                                        DanHD 1 Reply Last reply Reply Quote 0
                                        • DanHD
                                          DanH @Matt_SF
                                          last edited by

                                          @Matt_SF I did, I'll try with most recent commit. Maybe I'll also try with exp node before that actually....

                                          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                          https://dhplugins.com/ | https://dcbreaks.com/
                                          London, UK

                                          DanHD 1 Reply Last reply Reply Quote 0
                                          • DanHD
                                            DanH @DanH
                                            last edited by

                                            @Dan-Korneff tried shoving this into a SNEX Node but get any error to do with the parameter control, I'm most likely doing it wrong though! @Matt_SF I couldn't see anywhere to add an algo into the math-exp node...

                                            Any help hugely appreciated!

                                            HiseSnippet 1451.3ocuX0rbaaCDFTVPIx1oSRSldVGclI0kT+ZM8PhsrUplV6nwx0StkAlDxBiHAXIghsRmduuBsuA8RdF5qReC5aP6BBJQPaI+iljPOiLA1EK9vte6tPpejvkFGKhPVkOYZHEYsIdvTtbTmQDFG0aej0iwCXAg9zJc7YggzHzdSCIwwTOjk0ZuVokU4hnjm+8k6Q7IbWZ1THzoBlK8mXALY1r8e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w0eExnQJBkiwGyoW9t3QD0sLyw3+ZMi2TtY6naivatiIU2UifdWETaaYbGevR87lA073.kOaAeBAJWpP9.elGMpOb+T0ncm3wDcYZQv+04GnaM2pfYt0APIbO3dpI6kB54S1rVVdA3xarvP4F3XwP42MhD4kEHlcmBSBTRRjQVRJ0wH5rg1qvUyjK17XiXShTy9g2Rjo38KxXhAT1USNgDcNUpu91mvX0cx4Wt3e9Gpm+5kF0kVfKN6ZRlt4LMuknU9LkuJs2.7I3vxGN9FLgS7mFOq+PpNed6PbOXwKM8uD9bU8hbGlMzbqDA2qSPgbwt0Vbr6g.ZsuZUv6Y6jmharc8pUq1xtUq56T2olc6ET8a9NsjVaWsL5CwNqTiMnAkcMPg1s2od6VP2JMsZPfPHGAWdKqwV0Za2JwV0ZTyoQqFUWFz9b5j1DeLMlJ0l8JsaLYIKk+bsRFah6EepRpKwelEgK0smPLNfjbcxU6K18k3xuAD2Hw6b02mWc3dXxL.8km7qeTFenZbEGz6McUALO16bcmc8rEulpqvZpsBqo9JrlFqvZZtBqo0Jrlctw0n9gf1chTDn+pFvD8OPW0y5.tp2SROPz+CbV3pLA
                                            

                                            DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                            https://dhplugins.com/ | https://dcbreaks.com/
                                            London, UK

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

                                            44

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            102.1k

                                            Posts