@@ -27,18 +27,18 @@ def mfcc(signal,samplerate=16000,winlen=0.025,winstep=0.01,numcep=13,
2727 ceplifter = 22 ,appendEnergy = True )
2828```
2929
30- | Parameter | Description
31- | signal | the audio signal from which to compute features. Should be an N* 1 array
32- | samplerate | the samplerate of the signal we are working with.
33- | winlen | the length of the analysis window in seconds. Default is 0.025s (25 milliseconds)
34- | winstep | the step between successive windows in seconds. Default is 0.01s (10 milliseconds)
35- | numcep | the number of cepstrum to return, default 13
36- | nfilt | the number of filters in the filterbank, default 20.
37- | nfft | the FFT size. Default is 512.
38- | lowfreq | lowest band edge of mel filters. In Hz, default is 0.
39- | highfreq | highest band edge of mel filters. In Hz, default is samplerate/2
40- | preemph | apply preemphasis filter with preemph as coefficient. 0 is no filter. Default is 0.97.
41- | ceplifter | apply a lifter to final cepstral coefficients. 0 is no lifter. Default is 22.
42- | appendEnergy | if this is true, the zeroth cepstral coefficient is replaced with the log of the total frame energy.
43- | returns | A numpy array of size (NUMFRAMES by numcep) containing features. Each row holds 1 feature vector.
30+ | Parameter | Description |
31+ | signal | the audio signal from which to compute features. Should be an N* 1 array |
32+ | samplerate | the samplerate of the signal we are working with. |
33+ | winlen | the length of the analysis window in seconds. Default is 0.025s (25 milliseconds) |
34+ | winstep | the step between successive windows in seconds. Default is 0.01s (10 milliseconds) |
35+ | numcep | the number of cepstrum to return, default 13 |
36+ | nfilt | the number of filters in the filterbank, default 20. |
37+ | nfft | the FFT size. Default is 512. |
38+ | lowfreq | lowest band edge of mel filters. In Hz, default is 0. |
39+ | highfreq | highest band edge of mel filters. In Hz, default is samplerate/2 |
40+ | preemph | apply preemphasis filter with preemph as coefficient. 0 is no filter. Default is 0.97. |
41+ | ceplifter | apply a lifter to final cepstral coefficients. 0 is no lifter. Default is 22. |
42+ | appendEnergy | if this is true, the zeroth cepstral coefficient is replaced with the log of the total frame energy. |
43+ | returns | A numpy array of size (NUMFRAMES by numcep) containing features. Each row holds 1 feature vector. |
4444
0 commit comments