melspectrogram
melspectrogram(
y?,options?):Float32Array<ArrayBufferLike>[]
Defined in: packages/pleco-xa/src/feature/mfcc.js:32
Mel spectrogram with a (y, options) API. Thin wrapper over the validated scripts/xa-mel.js implementation.
Parameters
Section titled “Parameters”any[] | Float32Array<ArrayBufferLike>
time series (or null when S given)
options?
Section titled “options?”any = {}
{ sr, S, n_fft, hop_length, win_length, window, center, pad_mode, power, n_mels, fmin, fmax, norm, htk }
Returns
Section titled “Returns”Float32Array<ArrayBufferLike>[]
[n_mels][n_frames]