chroma
chroma(
options?):Float64Array<ArrayBufferLike>[]
Defined in: packages/pleco-xa/src/filters/index.js:38
Chroma filter bank. Projects FFT bins onto n_chroma pitch classes via Gaussian bumps.
Parameters
Section titled “Parameters”options?
Section titled “options?”base_c?
Section titled “base_c?”boolean
start the filter bank at C (else A)
ctroct?
Section titled “ctroct?”number
center of the octave dominance window (octs)
n_chroma?
Section titled “n_chroma?”number
number of chroma bins
number
FFT size (required)
number
per-column norm (Infinity for max-norm)
octwidth?
Section titled “octwidth?”number
Gaussian half-width of the dominance window; null for flat octave weighting
number
sample rate (required)
tuning?
Section titled “tuning?”number
deviation from A440 in fractional chroma bins
Returns
Section titled “Returns”Float64Array<ArrayBufferLike>[]
[n_chroma][1 + n_fft/2]