Skip to content

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.)

any = null

Float64Array<ArrayBufferLike>

flatness in [0, 1] per frame