Open MaxPayne86 opened 1 year ago
Your own yocto file has a very interesting line:
-funsafe-loop-optimizations causes the plugin to sound really bad, excluding
Maybe it is this simple...
Yep, that seems to be the case. Fixed in https://github.com/moddevices/mod-plugin-builder/commit/a41eac68c0a62fa2a1280369489a864ff2c9884b Took the chance to enable LTO as well, for a little extra performance benefit.
Might have spoken too soon. behaviour improves but issue still there.
@falkTX being a distortion effect, discussing about sound distorted may became an issue: the problem creates a corrupted sound similar to random noise and crackling mixed with the distorted sound can you confirm? Thanks a lot
There is a high-pitch crackling noise still present. Still investigating...
Something relevant to xsimd vs eigen.. we actually have better performance when using eigen backend. So perhaps the whole deal is a bit pointless
I agree to stay with eigen for now, the only replicable solution to me could be
need to check
This can be replicated with https://github.com/moddevices/mod-plugin-builder/blob/f73345bc16e64b048aa06df7bac3218ba9094782/plugins/package/aidadsp-lv2/aidadsp-lv2.mk#L7
this is not happening on other build systems like yocto and this could help in identifying the issue.
The issue should be related on how MPB builds xsimd backend in RTNeural submodule and not on plugin source code.
@falkTX