Mac FX failing pluginval.....
-
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
-
@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 -
@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 badthanks...but Im not using any sort of buffer.....
-
@Lindon What is your filter made of?
-
@ustk
well its a fixed filter bank - like the moog 914 - only more so...and the filters are made up of std and faust based filters:
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
-
@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?
-
@ustk yeah I could give that a go...
-
@Lindon well the macro modulators fail to work at all - still -
-
@Lindon well...all very interesting....
see this
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...
-
@Lindon well at some gross level that seems to work - fine tuning required...
-
@Lindon or of course I could just "suspend on Silence"...and see how that works...
-
@Lindon I've had troubles in the past with feeding back in scriptnode + plugins not validating...
-
@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
-
@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
-
@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...
-
@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...????
-
@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.
-
@DanH well Im not using HISE 5.
-
@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