HISE Logo Forum
    • Categories
    • Register
    • Login

    Mac FX failing pluginval.....

    Scheduled Pinned Locked Moved General Questions
    19 Posts 3 Posters 496 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
      last edited by Lindon

      Once more on the troublesome platform...

      I have a Filter FX, that works fine inside Hise, and build fine to a VST3 FX...but when I load it into PluginVal and run a test I get this:

      Testing with sample rate [44100] and block size [1024] and sub-block size [32]
      !!! Test 13 failed: NaNs found in buffer -- Expected value: 0, Actual value: 2048
      Testing with sample rate [48000] and block size [64] and sub-block size [32]
      !!! Test 16 failed: NaNs found in buffer -- Expected value: 0, Actual value: 128
      Testing with sample rate [48000] and block size [128] and sub-block size [32]
      !!! Test 19 failed: NaNs found in buffer -- Expected value: 0, Actual value: 256
      Testing with sample rate [48000] and block size [256] and sub-block size [32]
      !!! Test 22 failed: NaNs found in buffer -- Expected value: 0, Actual value: 512
      Testing with sample rate [48000] and block size [512] and sub-block size [32]
      !!! Test 25 failed: NaNs found in buffer -- Expected value: 0, Actual value: 1024
      Testing with sample rate [48000] and block size [1024] and sub-block size [32]
      !!! Test 28 failed: NaNs found in buffer -- Expected value: 0, Actual value: 2048
      Testing with sample rate [96000] and block size [64] and sub-block size [32]
      !!! Test 31 failed: NaNs found in buffer -- Expected value: 0, Actual value: 128
      Testing with sample rate [96000] and block size [128] and sub-block size [32]
      !!! Test 34 failed: NaNs found in buffer -- Expected value: 0, Actual value: 256
      Testing with sample rate [96000] and block size [256] and sub-block size [32]
      !!! Test 37 failed: NaNs found in buffer -- Expected value: 0, Actual value: 512
      Testing with sample rate [96000] and block size [512] and sub-block size [32]
      !!! Test 40 failed: NaNs found in buffer -- Expected value: 0, Actual value: 1024
      Testing with sample rate [96000] and block size [1024] and sub-block size [32]
      !!! Test 43 failed: NaNs found in buffer -- Expected value: 0, Actual value: 2048
      FAILED!!  11 tests failed, out of a total of 45
      

      No idea where to start with this, any clues?

      oh course testing the same plugin on windows tells me:

      
      Finished validating: D:\plugtesting\9145.vst3
      ALL TESTS PASSED
      
      Finished batch validation
      

      HISE Development for hire.
      www.channelrobot.com

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

        @Lindon If you're using a buffer of your own, then it tells you it isn't properly initialised (aka filled with zeros), so a read return NaN which is bad

        Hise made me an F5 dude, browser just suffers...

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

          @ustk said in Mac FX failing pluginval.....:

          @Lindon If you're using a buffer of your own, then it tells you it isn't properly initialised (aka filled with zeros), so a read return NaN which is bad

          thanks...but Im not using any sort of buffer.....

          HISE Development for hire.
          www.channelrobot.com

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

            @Lindon What is your filter made of?

            Hise made me an F5 dude, browser just suffers...

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

              @ustk
              well its a fixed filter bank - like the moog 914 - only more so...

              16a6432e-c464-4794-a46d-efb1d0bb963e-image.png

              and the filters are made up of std and faust based filters:

              a648319b-2d36-4821-8920-8a0154dd068f-image.png

              I also note that whilst the macro modulators function fine in HISE, they fail to work at all in the compiled version..but that I think is a different matter

              HISE Development for hire.
              www.channelrobot.com

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

                @Lindon said in Mac FX failing pluginval.....:

                I also note that whilst the macro modulators function fine in HISE, they fail to work at all in the compiled version..but that I think is a different matter

                Or is it? You could try ton export without just to see...

                Bu yeah, the NaN thing seems to be more related to the audio buffer itself. So it might be the Faust nodes. Could you just disable them and try?

                Hise made me an F5 dude, browser just suffers...

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

                  @ustk yeah I could give that a go...

                  HISE Development for hire.
                  www.channelrobot.com

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

                    @Lindon well the macro modulators fail to work at all - still -

                    HISE Development for hire.
                    www.channelrobot.com

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

                      @Lindon well...all very interesting....

                      see this

                      7d060389-152f-4783-9eec-c56ef9a6a2de-image.png

                      This is one of the script node elements in my plugin.....its got three active filters at any given time, and the filter type is set by mode....see that last control there labeled "Feedback"?

                      it feeds an amount of the processed signal back into the input....set this to zero and pluginval is happy, set it to anything else and we get the above errors.... so essentially the feedback loop is emphasising the resonant nature of some of these filters, and thus generating some audio in the buffer, even when no input is present....

                      All I need do now is (probably) add an envelope follower at input and tie it to some output volume....so 0 in == 0 out...

                      HISE Development for hire.
                      www.channelrobot.com

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

                        @Lindon well at some gross level that seems to work - fine tuning required...

                        HISE Development for hire.
                        www.channelrobot.com

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

                          @Lindon or of course I could just "suspend on Silence"...and see how that works...

                          HISE Development for hire.
                          www.channelrobot.com

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

                            @Lindon I've had troubles in the past with feeding back in scriptnode + plugins not validating...

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

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

                              @Lindon well suspend on silence terminates with predjudice...

                              Starting tests in: pluginval / Automation...
                              Testing with sample rate [44100] and block size [64] and sub-block size [32]
                              Testing with sample rate [44100] and block size [128] and sub-block size [32]
                              Testing with sample rate [44100] and block size [256] and sub-block size [32]
                              !!! Test 7 failed: NaNs found in buffer -- Expected value: 0, Actual value: 256
                              Testing with sample rate [44100] and block size [512] and sub-block size [32]
                              !!! Test 10 failed: NaNs found in buffer -- Expected value: 0, Actual value: 1024
                              Testing with sample rate [44100] and block size [1024] and sub-block size [32]
                              !!! Test 13 failed: NaNs found in buffer -- Expected value: 0, Actual value: 1408
                              Testing with sample rate [48000] and block size [64] and sub-block size [32]
                              pluginval received Segmentation fault: 11, exiting immediately
                              pluginval received Segmentation fault: 11, exiting immediately
                              pluginval received Segmentation fault: 11, exiting immediately
                              
                              Finished validating: /Users/lindonparker/Desktop/testAUVSTS/Planet9145.vst3
                              ALL TESTS PASSED
                              
                              Finished batch validation
                              

                              ...well ALL TESTS for sure did not PASS

                              HISE Development for hire.
                              www.channelrobot.com

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

                                @Lindon and actually its not getting any better....

                                Starting tests in: pluginval / Automation...
                                Testing with sample rate [44100] and block size [64] and sub-block size [32]
                                Testing with sample rate [44100] and block size [128] and sub-block size [32]
                                Testing with sample rate [44100] and block size [256] and sub-block size [32]
                                Testing with sample rate [44100] and block size [512] and sub-block size [32]
                                !!! Test 10 failed: NaNs found in buffer -- Expected value: 0, Actual value: 576
                                Testing with sample rate [44100] and block size [1024] and sub-block size [32]
                                !!! Test 13 failed: NaNs found in buffer -- Expected value: 0, Actual value: 2048
                                Testing with sample rate [48000] and block size [64] and sub-block size [32]
                                !!! Test 16 failed: NaNs found in buffer -- Expected value: 0, Actual value: 128
                                Testing with sample rate [48000] and block size [128] and sub-block size [32]
                                !!! Test 19 failed: NaNs found in buffer -- Expected value: 0, Actual value: 256
                                Testing with sample rate [48000] and block size [256] and sub-block size [32]
                                !!! Test 22 failed: NaNs found in buffer -- Expected value: 0, Actual value: 512
                                Testing with sample rate [48000] and block size [512] and sub-block size [32]
                                !!! Test 25 failed: NaNs found in buffer -- Expected value: 0, Actual value: 1024
                                Testing with sample rate [48000] and block size [1024] and sub-block size [32]
                                !!! Test 28 failed: NaNs found in buffer -- Expected value: 0, Actual value: 2048
                                Testing with sample rate [96000] and block size [64] and sub-block size [32]
                                !!! Test 31 failed: NaNs found in buffer -- Expected value: 0, Actual value: 128
                                Testing with sample rate [96000] and block size [128] and sub-block size [32]
                                !!! Test 34 failed: NaNs found in buffer -- Expected value: 0, Actual value: 256
                                Testing with sample rate [96000] and block size [256] and sub-block size [32]
                                !!! Test 37 failed: NaNs found in buffer -- Expected value: 0, Actual value: 512
                                Testing with sample rate [96000] and block size [512] and sub-block size [32]
                                !!! Test 40 failed: NaNs found in buffer -- Expected value: 0, Actual value: 1024
                                Testing with sample rate [96000] and block size [1024] and sub-block size [32]
                                !!! Test 43 failed: NaNs found in buffer -- Expected value: 0, Actual value: 2048
                                FAILED!!  12 tests failed, out of a total of 45
                                

                                HISE Development for hire.
                                www.channelrobot.com

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

                                  @Lindon okay so now its getting a bit silly....

                                  I have 4 instances of a script node in my plugin, all compiled, all the same and if I activate 2 of them we pass, if I activate the third , we fail with this Nan silliness...

                                  HISE Development for hire.
                                  www.channelrobot.com

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

                                    @Lindon said in Mac FX failing pluginval.....:

                                    @Lindon okay so now its getting a bit silly....

                                    I have 4 instances of a script node in my plugin, all compiled, all the same and if I activate 2 of them we pass, if I activate the third , we fail with this Nan silliness...

                                    ...aaaand it turns out(by the look of things) that it is this third script node Hardcoded effect that is somehow corrupted....delete instance 3 - add a new instance 3 in its place and we pass pluginval...

                                    ...how in Gods name are we ever going to find this sort of thing beyond laboriously deleting and replacing every single scriptnode/hardcoded effect until it works...????

                                    HISE Development for hire.
                                    www.channelrobot.com

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

                                      @Lindon I'm having to re-save a lot of my networks just to get the dll to compile. Have had to rebuild entire networks to get it over the line too. Am wondering whether there's issues with networks made before Hise 5 but compiling them in Hise 5.

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

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

                                        @DanH well Im not using HISE 5.

                                        HISE Development for hire.
                                        www.channelrobot.com

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

                                          @Lindon what about setting the strictness level of pluginval to a lower value?
                                          I don’t really know what it does though… I always keep mine at 10

                                          Hise made me an F5 dude, browser just suffers...

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

                                          9

                                          Online

                                          1.9k

                                          Users

                                          12.4k

                                          Topics

                                          108.3k

                                          Posts