HISE Logo Forum
    • Categories
    • Register
    • Login

    ALARM ALARM - I have big problem I think....

    Scheduled Pinned Locked Moved General Questions
    35 Posts 5 Posters 1.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.
    • LindonL
      Lindon @Lindon
      last edited by Lindon

      @Lindon now Im getting very confused.....

      I get my minimal project to compile and not crash pluginval, I then load my "real" project and compile that - it makes pluginval fail...I go back to my minimal project and re-compile - now its failing....the more I do the more unstable it gets

      HISE Development for hire.
      www.channelrobot.com

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

        @Lindon ...and.....I think @Hisenberb may be correct..its the non linear distortion effect in Faust.

        I deleted all reference to distortion from my main project - removing code headers in two places as well as cpp files and removed the script node from the compiled DLL and the project builds and loads in pluginval....

        Now to invent a non linear distortion .... to replace the one in Faust

        @sletz I think this is now over to you.....

        HISE Development for hire.
        www.channelrobot.com

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

          @Lindon what is the Faust DSP code ?

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

            @sletz very simple I'm afraid:

            // Faust Source File: FaustDistCode
            // Created with HISE on 2023-05-03
            import("stdfaust.lib");
            
            //drive
            drive = hslider("Drive", 0.2, 0, 1, 0.01);
            //offset
            offset = hslider("Offset", 0.2, 0, 1, 0.01);
            
            process = _,_ : ef.cubicnl_nodc(drive,offset),ef.cubicnl_nodc(drive,offset) : _,_;
            

            HISE Development for hire.
            www.channelrobot.com

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

              pls downlaod the snippet I posted above to see I am using a hardcoded dspnetwork.

              The crash report you posted says something different. You'll definitely initialising a DspNetwork from a script FX and it crashes at the parameter initialisation.

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

                @Christoph-Hart said in ALARM ALARM - I have big problem I think....:

                pls downlaod the snippet I posted above to see I am using a hardcoded dspnetwork.

                The crash report you posted says something different. You'll definitely initialising a DspNetwork from a script FX and it crashes at the parameter initialisation.

                well download the snippet I posted and you will see Im not doing that - ..or I dont think I am....

                HISE Development for hire.
                www.channelrobot.com

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

                  @Lindon heres a screen shot - no code no widgets nothing except these HardcodedFX

                  c57030df-0520-4146-a928-682b143c6489-image.png

                  HISE Development for hire.
                  www.channelrobot.com

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

                    @Lindon Print that on your T-Shirt:

                    7cfe696e-558b-478e-b511-a9951f3ced68-image.png

                    :)

                    LindonL 2 Replies Last reply Reply Quote 1
                    • LindonL
                      Lindon @Christoph Hart
                      last edited by

                      @Christoph-Hart said in ALARM ALARM - I have big problem I think....:

                      @Lindon Print that on your T-Shirt:

                      7cfe696e-558b-478e-b511-a9951f3ced68-image.png

                      :)

                      hmm, thers enough on my t-shirt already - but hey ho one more thing wont harm...

                      HISE Development for hire.
                      www.channelrobot.com

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

                        @Christoph-Hart said in ALARM ALARM - I have big problem I think....:

                        @Lindon Print that on your T-Shirt:

                        7cfe696e-558b-478e-b511-a9951f3ced68-image.png

                        :)

                        So just so we are clear - the bypassed ScriptFX is this Faust NLDist thing, so are you saying:

                        1. its this NLDist thing - which generally is my finding..

                        or

                        1. I cant have a bypassed scriptNode version of something if I have also got a compiled version running in a HardCodedFX

                        HISE Development for hire.
                        www.channelrobot.com

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

                          @Lindon Having a non-compiled faust node in a compiled plugin is a nononononononono even if you have bypassed it (which doesn't change anything except for skipping the rendering).

                          1. Develop the faust code
                          2. Export it to a hardcoded FX
                          3. Remove the scriptnode network that you've used for developing the faust code and kill every person that saw you do it.
                          4. Export and enjoy a working plugin.
                          d.healeyD LindonL 2 Replies Last reply Reply Quote 2
                          • d.healeyD
                            d.healey @Christoph Hart
                            last edited by

                            @Christoph-Hart said in ALARM ALARM - I have big problem I think....:

                            Having a non-compiled faust node in a compiled plugin is a nononononononono

                            Maybe it would be good to add this to the export sanity checks

                            Libre Wave - Freedom respecting instruments and effects
                            My Patreon - HISE tutorials
                            YouTube Channel - Public HISE tutorials

                            1 Reply Last reply Reply Quote 2
                            • LindonL
                              Lindon @Christoph Hart
                              last edited by

                              @Christoph-Hart said in ALARM ALARM - I have big problem I think....:

                              @Lindon Having a non-compiled faust node in a compiled plugin is a nononononononono even if you have bypassed it (which doesn't change anything except for skipping the rendering).

                              1. Develop the faust code
                              2. Export it to a hardcoded FX
                              3. Remove the scriptnode network that you've used for developing the faust code and kill every person that saw you do it.
                              4. Export and enjoy a working plugin.

                              Okay after quite a bit of cleaning up - this advice certainly helped got to a consistent and reliable compile that also passes pluginval, and after some fiddling, auval so thanks for this

                              and

                              @sletz - you can ignore me about the non linear distortion(thankfully) as it seems to be working fine now...

                              HISE Development for hire.
                              www.channelrobot.com

                              ? 1 Reply Last reply Reply Quote 1
                              • ?
                                A Former User @Lindon
                                last edited by

                                @Lindon So in the end were you able to compile your project successfully with the Faust Distortion's Offset control? I wouldn't mind seeing how you did this. If not I found another solution where I created a separate Faust node for phase offset that, once I find it, I can share with you.

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

                                  @Hisenberb said in ALARM ALARM - I have big problem I think....:

                                  @Lindon So in the end were you able to compile your project successfully with the Faust Distortion's Offset control? I wouldn't mind seeing how you did this. If not I found another solution where I created a separate Faust node for phase offset that, once I find it, I can share with you.

                                  yes I used the cubicnl_nodc in my compile.... the requirement was to remove all refences to this - rebuild it and make sure there was no scriptFX node left in my product hierarchy - replacing all of them with HardCodedFX modules...

                                  HISE Development for hire.
                                  www.channelrobot.com

                                  ? 1 Reply Last reply Reply Quote 0
                                  • ?
                                    A Former User @Lindon
                                    last edited by

                                    @Lindon Fantastic thanks for sharing!

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

                                    9

                                    Online

                                    1.7k

                                    Users

                                    11.8k

                                    Topics

                                    103.1k

                                    Posts