This node acquires mel-cepstrum coefficients (MFCC), which are a type of acoustic feature. It generates acoustic feature vectors consisting of mel-cepstrum coefficients and logarithmic spectrum power as elements.
No files are required.
When to use
This node is used to generate an acoustic feature with mel-cepstrum coefficients as elements and acoustic feature vectors. For example, acoustic feature vectors are input to the speech recognition node to identify phonemes and speakers.
Typical connection
Parameter name |
Type |
Default value |
Unit |
Description |
FBANK_COUNT |
24 |
The number of filter banks for input spectrum |
||
NUM_CEPS |
12 |
The number of cepstral coefficients for liftering |
||
USE_POWER |
false |
Select whether or not to include logarithmic power in features |
Input
Map<int, ObjectRef> type. A pair of the sound source ID and the vector consisting of sound source output energy of the filter bank as Vector<float> type data.
Map<int, ObjectRef> type. A pair of the sound source ID and the vector consisting of complex spectra as Vector<complex<float> > type data.
Output
Map<int, ObjectRef> type. A pair of the sound source ID and the vector consisting of MFCC and a logarithmic power term as Vector<float> type data.
Parameter
int type. The number of filter banks for the input spectrum. The default value is 24. Its range is positive integer. The frequency band for 1 bank narrows as the value is raised and acoustic features of high frequency resolution are obtained. Acoustic features are expressed more finely by setting greater FBANK_COUNT. Precise expression is not necessarily optimal for speech recognition and it depends on acoustic environment of the utterances.
int type. The number of cepstrum coefficients on which to perform liftering. The default value is 12. The range is positive integers. When raising the value, the dimension of acoustic features increases. Acoustic features that express finer spectral changes are obtained.
When selecting true, the logarithmic power term is added to acoustic features. When selecting false, it is omitted. It is rare to use the power term for acoustic features though it is assumed that delta logarithmic power is effective for speech recognition. When true is selected, delta logarithmic power is calculated in the posterior half and its result is used as acoustic features.
This node acquires mel-cepstrum coefficients (MFCC), which are one of the acoustic features, and logarithmic power. It generates acoustic features consisting of mel-cepstrum coefficients and log spectrum power as elements. A filter bank with a triangle window is used for log spectra. Center frequencies of triangle windows are positioned at regular intervals on the mel-scale. The output logarithmic energy of each filter bank is extracted and the Discrete Cosine Transform is performed on it. The coefficient for which liftering is performed on the obtained coefficient is the MFCC. It is premised that output logarithmic energy of each filter bank is input to FBANK of the input unit of this node. The vector input to FBANK at frame time is expressed as follows.
(99) |
Here, indicates FBANK_COUNT in the dimension number of the input feature vector. The vector output is a dimensional vector and consists of the mel-cepstrum coefficient and power term. The first to th dimensions are for mel-cepstrum coefficients and the dimension is for the power term. The output vector of this node is expressed as;
(100) | |||||
(101) |
Here, indicates the power term (see later description). The liftering coefficient is expressed as
(102) |
Here, . The power term is obtained from the input vector of SPECTRUM part. The input vector is expressed as
(103) |
Here, indicates FFT length. is determined by the dimension number of Map connected to SPECTRUM. The logarithmic power term is expressed as
(104) |