Julius 4.2
関数
libsent/src/wav2mfcc/wav2mfcc-buffer.c

音声波形から MFCC 特徴量へ変換する(発話単位) [詳細]

#include <sent/stddefs.h>
#include <sent/mfcc.h>

ソースコードを見る。

関数

int Wav2MFCC (SP16 *wave, float **mfcc, Value *para, int nSamples, MFCCWork *w)
 Convert wave data to MFCC.
void NormaliseLogE (float **mfcc, int frame_num, Value *para)
 Normalise log energy.
void Delta (float **c, int frame, Value *para)
 Calculate delta coefficients.
void Accel (float **c, int frame, Value *para)
 Calculate acceleration coefficients.
void CMN (float **mfcc, int frame_num, int dim)
 Cepstrum Mean Normalization (buffered) Cepstral mean will be computed within the given MFCC vectors.
void MVN (float **mfcc, int frame_num, Value *para)
 Cepstrum Mean/Variance Normalization (buffered)

説明

音声波形から MFCC 特徴量へ変換する(発話単位)

ここでは音声波形全体を単位として MFCC ベクトル系列へ変換する関数が定義 されています.フレーム単位で抽出を行う関数は wav2mfcc-pipe.c に 記述されています

ここで抽出できるのは MFCC[_0][_E][_D][_A][_Z] の形式です.

作者:
Akinobu LEE
日付:
Thu Feb 17 17:43:35 2005
Revision:
1.5

wav2mfcc-buffer.c で定義されています。


関数

int Wav2MFCC ( SP16 wave,
float **  mfcc,
Value para,
int  nSamples,
MFCCWork w 
)

Convert wave data to MFCC.

Also does spectral subtraction if ssbuf specified.

引数:
wave[in] waveform data
mfcc[out] buffer to store the resulting MFCC parameter vector [t][0..veclen-1], should be already allocated
para[in] configuration parameters
nSamples[in] length of waveform data
w[i/o] MFCC calculation work area
戻り値:
the number of processed frames.

wav2mfcc-buffer.c57 行で定義されています。

参照元 wav2mfcc().

void NormaliseLogE ( float **  mfcc,
int  frame_num,
Value para 
)

Normalise log energy.

引数:
mfcc[i/o] array of MFCC vectors
frame_num[in] number of frames
para[in] configuration parameters

wav2mfcc-buffer.c110 行で定義されています。

参照元 Wav2MFCC().

void Delta ( float **  c,
int  frame,
Value para 
)

Calculate delta coefficients.

引数:
c[i/o] MFCC vectors, in which the delta coeff. will be appended.
frame[in] number of frames
para[in] configuration parameters

wav2mfcc-buffer.c142 行で定義されています。

参照元 Wav2MFCC().

void Accel ( float **  c,
int  frame,
Value para 
)

Calculate acceleration coefficients.

引数:
c[i/o] MFCC vectors, in which the delta coeff. will be appended.
frame[in] number of frames
para[in] configuration parameters

wav2mfcc-buffer.c180 行で定義されています。

参照元 Wav2MFCC().

void CMN ( float **  mfcc,
int  frame_num,
int  dim 
)

Cepstrum Mean Normalization (buffered) Cepstral mean will be computed within the given MFCC vectors.

引数:
mfcc[i/o] array of MFCC vectors
frame_num[in] number of frames
dim[in] total dimension of MFCC vectors

wav2mfcc-buffer.c219 行で定義されています。

参照元 Wav2MFCC().

void MVN ( float **  mfcc,
int  frame_num,
Value para 
)

Cepstrum Mean/Variance Normalization (buffered)

引数:
mfcc[i/o] array of MFCC vectors
frame_num[in] number of frames
para[in] configuration parameters

wav2mfcc-buffer.c248 行で定義されています。

参照元 Wav2MFCC().