spectral_flatness
spectral_flatness(
y?,options?):Float64Array<ArrayBufferLike>
Defined in: packages/pleco-xa/src/feature/spectral.js:311
Spectral flatness: geometric mean / arithmetic mean of max(amin, S**power) per frame. (Formula salvaged from xa-spectral.js — verified against fixtures — re-hosted here with correct freq-major orientation.)
Parameters
Section titled “Parameters”any = null
options?
Section titled “options?”Returns
Section titled “Returns”Float64Array<ArrayBufferLike>
flatness in [0, 1] per frame