Skip to content

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

any[] | Float32Array<ArrayBufferLike>

time series (or null when S given)

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)

number

number of chroma bins (default 12)

number

per-frame norm (default Infinity = max)

any[]

precomputed POWER spectrogram [freq][time]

number

tuning in fractional chroma bins; null (default) estimates it from the input

Float64Array<ArrayBufferLike>[]

[n_chroma][n_frames]