It's crackling all the time - even when I keep the processing but change the plugin output to be a straight copy of the input (I left it commented just to show). Doesn't look like I am getting out of bond either.Anyway... is it crackling all the time, or when the sound decays to silence? If the latter, then probably you're running into denormals, if you're on x86 set the FTZ (flush very small values to zero) and DAZ (treat denormals as zero) bits in the SSE control register for the duration of your process.
If it's crackling all the time, then chances are the issue isn't CPU cost, but rather you're just indexing out of bounds or something.
I created a branch with the current code: https://github.com/nscotto/clapfx/blob/ ... in.cpp#L67
Never heard about denormals before, I need to look into it.
Statistics: Posted by nscott32 — Thu Jan 16, 2025 10:28 pm