I’m working on a processing chain for pitch confidence thresholding, and sometimes the thresh’d weights buffer it produces is full of zeros (correctly so). This makes
fluid.bufstats~ further down the line throw up an ugly yellow error:
fluid.bufstats~: Invalid weights
This is a fine enough warning if you have the wrong amount of samples, but if the
@weights buffer is actually full of zeros, it should apply that weight (and zero everything out).
I guess I can add an interim step and if the buffer is zeroed, fork the process and get the stats on an unweighted buffer, but that’s super inelegant.