Matlabmfcc函数参数详解(英⽂附例)Matlab mfcc函数参数详解
其实可以直接打开源代码看哈。
%MFCC Extract the mfcc, log-energy, delta,and delta-delta of audio signal
% coeffs = MFCC(audioIn,fs) returns the mel-frequency cepstral
% coefficients over time for the audio input. Columns of the input are
% treated as individual channels. coeffs is returned as an L-by-M-by-N
% array.
% L - Number of frames the audio signal is partitioned into.
% This is determined by the WINDOWLENGTH and OVERLAPLENGTH
% properties.
% M - Number coefficients returned per frame.
股票年线怎么看% This is determined by the NUMCOEFFS property.
《秋天的怀念》
% N - Number of channels.
%
% coeffs = MFCC(...,'WindowLength',WINDOWLENGTH) specifies the analysis
% window length ud to calculate the coefficients. Specify the window
% length in samples as a positive scalar. If unspecified, WINDOWLENGTH
% defaults to round(0.030* fs).
%
% coeffs = MFCC(...,'OverlapLength',OVERLAPLENGTH) specifies the number
% of samples overlap between adjacent windows. Specify the overlap length
%as a scalar smaller than the window length. If unspecified,
% OVERLAPLENGTH defaults to round(fs*0.02).
%
% coeffs = MFCC(...,'NumCoeffs',NUMCOEFFS) specifies the number
% of coefficients returned for each window. If not specified, the number
% of coefficients is13.
%
% coeffs = MFCC(...,'FFTLength',FFTLENGTH) specifies the FFT length. By
% default, the FFT length is t to the WINDOWLENGTH.
%椒盐玉米
% coeffs = MFCC(...,'DeltaWindowLength',DELTAWINDOWLENGTH) specifies the
% delta and delta-delta window length. The default is2.
%
% coeffs = MFCC(...,'LogEnergy',LOGENERGY) specifies if and how the log
% energy is ud. Specify log energy as a character vector:
%'Append'- Adds the log-energy as the first element of the小孩肚脐眼周围疼是什么原因
% returned coefficients vector. This is the default
% tting.
%'Replace'- Replaces the zeroth coefficient (first element of
% coeffs)with the log-energy.
怎么看显示器型号%'Ignore'- Ignores and does not return the log-energy.
%
细节决定成败的名言%[coeffs,delta,deltaDelta,loc]= MFCC(...) returns the delta,
% delta-delta,and location in samples of each window of data. The
% location is the most recent sample ud to calculate the coefficients.
艺术字在线制作
% The delta and delta-delta vectors are derived from how the coeffs
% vector was specified. For example,if'LogEnergy'is t to 'Replace',
% the first element of the coeffs vector is the log-energy,and the first
% element of the delta vector is the delta of the log-energy.
%
% EXAMPLE 1: Get the mel-frequency cepstral coefficients for entire
% speech file
%% U the default ttings to extract the MFCC feature from a speech认缴出资时间
%%file.
%
%[audioIn,fs]= audioread('Counting-16-44p1-mono-15cs.wav');
%[coeffs,delta,deltaDelta,loc]= mfcc(audioIn,fs);