chroma_stft
chroma_stft(
y?,options?):Float64Array<ArrayBufferLike>[]
Defined in: packages/pleco-xa/src/feature/chroma.js:228
Chromagram from a waveform or power spectrogram (Ellis chromagram_E lineage).
Parameters
Section titled “Parameters”any[] | Float32Array<ArrayBufferLike>
time series (or null when S given)
options?
Section titled “options?”ctroct
Section titled “ctroct”number
/ options.octwidth / options.filter_norm /
options.base_c - forwarded to filters.chroma (filter_norm maps to that
function’s norm to avoid colliding with the frame norm)
n_chroma
Section titled “n_chroma”number
number of chroma bins (default 12)
number
per-frame norm (default Infinity = max)
any[]
precomputed POWER spectrogram [freq][time]
tuning
Section titled “tuning”number
tuning in fractional chroma bins; null (default) estimates it from the input
Returns
Section titled “Returns”Float64Array<ArrayBufferLike>[]
[n_chroma][n_frames]