High-pitched noise with RR group XFades with low buffer sizes
-
@tomekslesicki said in High-pitched noise with RR group XFades with low buffer sizes:
0.00000000001f
That's some precision!
-
0.00000000001f
haha this is basically zero with the single precision resolution of seven digits... You're effectively just deactivating the logic that will save you CPU cycles when there is nothing going on in the modulation signal.
I guess I'll rather make a preprocessor like
HISE_ENABLE_CROSSFADE_MODULATION_THRESHOLD
and if that is set to true, it uses the -80dB threshold that gets rid of most artifacts and if that's not enough for your particular project you can disable it entirely by setting this to zero. -
@Christoph-Hart sounds like a good plan! ;-) By setting it to 0, you mean something like this?
HISE_ENABLE_CROSSFADE_MODULATION_THRESHOLD=0
-
@tomekslesicki yes. Also you then can just leave it as default in HISE and just add that to your project definitions (if you can live with the low artifacts at -80dB during development), this way you don't have to edit the source code at all.
-
@Christoph-Hart epic, thank you!
-
@Christoph-Hart we don't have this HISE_ENABLE_CROSSFADE_MODULATION_THRESHOLD yet, right?
-
@tomekslesicki ah yes my goldfish brain with its limited attention span moved on to the next fancy thing…
-
@Christoph-Hart if I could then send a little wish to that goldfish, I'd say that HISE_ENABLE_CROSSFADE_MODULATION_THRESHOLD would make me very happy ;-)
-
@tomekslesicki If the goldfish can grant wishes then I wish for more goldfish!
-
@tomekslesicki There you go...