Spectral centroid vs rolloff

You’ll be happy to know that so far, there is no bug - I get the same value in SC’s native implementation.

b = Buffer.alloc(s, 2048, 1);
(
x = {
    var in, chain, shape;
	in = Blip.ar(110, MouseX.kr(1,100));
	shape= FluidSpectralShape.kr(in,2048);
    chain = FFT(LocalBuf(2048), in);
	SpecCentroid.kr(chain).poll(2,"scCen");
	shape[0].poll(2,"flCen");
	SpecPcile.kr(chain,0.95,1).poll(2,"sc95");
	shape[4].poll(2,"fl95");
    in.dup * 0.1
}.play
)