mfcc
mfcc(
y?,options?):Float64Array<ArrayBufferLike>[]
Defined in: packages/pleco-xa/src/feature/mfcc.js:72
Mel-frequency cepstral coefficients.
Parameters
Section titled “Parameters”any[] | Float32Array<ArrayBufferLike>
time series (or null when S given)
options?
Section titled “options?”dct_type?
Section titled “dct_type?”number
only type 2 is implemented
lifter?
Section titled “lifter?”number
cepstral liftering parameter
mel_norm?
Section titled “mel_norm?”string | number
mel filterbank
normalization forwarded to melspectrogram as norm
Remaining options forward to melspectrogram (sr, n_fft, hop_length, n_mels, …).
n_mfcc?
Section titled “n_mfcc?”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)
Returns
Section titled “Returns”Float64Array<ArrayBufferLike>[]
[n_mfcc][n_frames]