Skip to content

mfcc

mfcc(y?, options?): Float64Array<ArrayBufferLike>[]

Defined in: packages/pleco-xa/src/feature/mfcc.js:72

Mel-frequency cepstral coefficients.

any[] | Float32Array<ArrayBufferLike>

time series (or null when S given)

number

only type 2 is implemented

number

cepstral liftering parameter

string | number

mel filterbank normalization forwarded to melspectrogram as norm Remaining options forward to melspectrogram (sr, n_fft, hop_length, n_mels, …).

number

number of coefficients

string

DCT normalization: ‘ortho’ or null

any[]

precomputed LOG-power mel spectrogram (pass power_to_db(melspectrogram(…)))

number

sample rate (forwarded to melspectrogram)

Float64Array<ArrayBufferLike>[]

[n_mfcc][n_frames]