#include <sent/stddefs.h>
#include <ctype.h>
mfcc.hのインクルード依存関係図
このグラフは、どのファイルから直接、間接的にインクルードされているかを示しています。
マクロ定義 | |
#define | DEF_SMPPERIOD 625 |
Default sampling period in 100ns (625 = 16kHz). | |
#define | DEF_FRAMESIZE 400 |
Default Window size in samples, similar to WINDOWSIZE in HTK (unit is different). | |
#define | DEF_FFTNUM 512 |
Number of FFT steps. | |
#define | DEF_FRAMESHIFT 160 |
Default frame shift length in samples. | |
#define | DEF_PREENPH 0.97 |
Default pre-emphasis coefficient, corresponds to PREEMCOEF in HTK. | |
#define | DEF_MFCCDIM 12 |
Default number of MFCC dimension, corresponds to NUMCEPS in HTK. | |
#define | DEF_CEPLIF 22 |
Default cepstral Liftering coefficient, corresponds to CEPLIFTER in HTK. | |
#define | DEF_FBANK 24 |
Default number of filterbank channels, corresponds to NUMCHANS in HTK. | |
#define | DEF_DELWIN 2 |
Default delta window size, corresponds to DELTAWINDOW in HTK. | |
#define | DEF_ACCWIN 2 |
Default acceleration window size, corresponds to ACCWINDOW in HTK. | |
#define | DEF_SILFLOOR 50.0 |
Default energy silence floor in dBs, corresponds to SILFLOOR in HTK. | |
#define | DEF_ESCALE 0.1 |
Default scaling coefficient of log energy, corresponds to ESCALE in HTK. | |
#define | DEF_SSALPHA 2.0 |
Default alpha coefficient for spectral subtraction. | |
#define | DEF_SSFLOOR 0.5 |
Default flooring coefficient for spectral subtraction. | |
関数 | |
void | make_costbl_hamming (int framesize) |
void | make_fft_table (int n) |
void | make_costbl_makemfcc (int fbank_num, int mfcc_dim) |
void | make_sintbl_wcep (int lifter, int mfcc_dim) |
void | Hamming (float *wave, int framesize) |
void | PreEmphasise (float *wave, Value para) |
float | Mel (int k, float fres) |
FBankInfo | InitFBank (Value para) |
void | FreeFBank (FBankInfo fb) |
void | FFT (float *xRe, float *xIm, int p) |
void | MakeFBank (float *wave, double *fbank, FBankInfo info, Value para, float *ssbuf) |
void | MakeMFCC (double *fbank, float *mfcc, Value para) |
float | CalcC0 (double *fbank, Value para) |
float | CalcLogRawE (float *wave, int framesize) |
void | ZMeanFrame (float *wave, int framesize) |
void | WeightCepstrum (float *mfcc, Value para) |
void | Delta (float **c, int frame, Value para) |
void | Accel (float **c, int frame, Value para) |
void | NormaliseLogE (float **c, int frame_num, Value para) |
int | Wav2MFCC (SP16 *wave, float **mfcc, Value para, int nSamples, float *ssbuf, int ssbuflen) |
void | CMN (float **mfcc, int frame_num, int dim) |
void | WMP_init (Value para, float **bf, float *ssbuf, int ssbuflen) |
void | WMP_calc (float *mfcc, float *bf, Value para, float *ssbuf) |
DeltaBuf * | WMP_deltabuf_new (int veclen, int windowlen) |
void | WMP_deltabuf_free (DeltaBuf *db) |
void | WMP_deltabuf_prepare (DeltaBuf *db) |
boolean | WMP_deltabuf_proceed (DeltaBuf *db, float *new_mfcc) |
boolean | WMP_deltabuf_flush (DeltaBuf *db) |
void | CMN_realtime_init (int dimension, float weight) |
void | CMN_realtime_prepare () |
void | CMN_realtime (float *mfcc, int dim) |
void | CMN_realtime_update () |
boolean | CMN_load_from_file (char *filename, int dim) |
boolean | CMN_save_to_file (char *filename) |
float * | new_SS_load_from_file (char *filename, int *slen) |
float * | new_SS_calculate (SP16 *wave, int wavelen, Value para, int *slen) |
libsent/src/wav2mfcc/wav2mfcc-pipe.c
julius/wav2mfcc.c
julius/realtime-1stpass.c
mfcc.h で定義されています。
|
Generate table for hamming window.
wav2mfcc-buffer.c の 74 行で定義されています。 参照元 InitFBank(), と new_SS_calculate(). |
|
Build tables for FFT.
wav2mfcc-buffer.c の 105 行で定義されています。 参照元 InitFBank(), と new_SS_calculate(). |
|
Generate table for DCT operation to make mfcc from fbank.
wav2mfcc-buffer.c の 138 行で定義されています。 参照元 InitFBank(). |
|
Generate table for weighing cepstrum.
wav2mfcc-buffer.c の 176 行で定義されています。 参照元 InitFBank(). |
|
Apply hamming window.
wav2mfcc-buffer.c の 354 行で定義されています。 参照元 new_SS_calculate(), Wav2MFCC(), と WMP_calc(). |
|
Apply pre-emphasis filter.
wav2mfcc-buffer.c の 374 行で定義されています。 参照元 new_SS_calculate(), Wav2MFCC(), と WMP_calc(). |
|
Return mel-frequency.
wav2mfcc-buffer.c の 423 行で定義されています。 参照元 InitFBank(). |
|
Build filterbank information and generate tables for MFCC comptutation.
wav2mfcc-buffer.c の 435 行で定義されています。 参照元 Wav2MFCC(), と WMP_init(). |
|
Free FBankInfo.
wav2mfcc-buffer.c の 529 行で定義されています。 参照元 Wav2MFCC(). |
|
Apply FFT
wav2mfcc-buffer.c の 782 行で定義されています。 参照元 MakeFBank(), と new_SS_calculate(). |
|
Convert wave -> (spectral subtraction) -> mel-frequency filterbank
wav2mfcc-buffer.c の 547 行で定義されています。 参照元 Wav2MFCC(), と WMP_calc(). |
|
Apply DCT to filterbank to make MFCC.
wav2mfcc-buffer.c の 607 行で定義されています。 参照元 Wav2MFCC(), と WMP_calc(). |
|
Calculate 0'th cepstral coefficient.
wav2mfcc-buffer.c の 644 行で定義されています。 参照元 Wav2MFCC(), と WMP_calc(). |
|
Calculate Log Raw Energy.
wav2mfcc-buffer.c の 316 行で定義されています。 参照元 Wav2MFCC(), と WMP_calc(). |
|
Remove DC offset per frame
wav2mfcc-buffer.c の 337 行で定義されています。 参照元 Wav2MFCC(), と WMP_calc(). |
|
Re-scale cepstral coefficients.
wav2mfcc-buffer.c の 389 行で定義されています。 参照元 Wav2MFCC(), と WMP_calc(). |
|
Calculate delta coefficients
wav2mfcc-buffer.c の 695 行で定義されています。 参照元 Wav2MFCC(). |
|
Calculate acceleration coefficients.
wav2mfcc-buffer.c の 744 行で定義されています。 参照元 Wav2MFCC(). |
|
Normalise log energy
wav2mfcc-buffer.c の 663 行で定義されています。 参照元 Wav2MFCC(). |
|
Convert wave data to MFCC. Also does spectral subtraction if ssbuf specified.
wav2mfcc-buffer.c の 217 行で定義されています。 参照元 new_wav2mfcc(). |
|
Cepstrum Mean Normalization (buffered) Cepstral mean will be computed within the given MFCC vectors.
wav2mfcc-buffer.c の 835 行で定義されています。 参照元 Wav2MFCC(). |
|
initialize and setup buffers for a MFCC computataion.
wav2mfcc-pipe.c の 60 行で定義されています。 参照元 RealTimeInit(). |
|
Calculate MFCC and log energy for one frame. Perform spectral subtraction if ssbuf is specified.
wav2mfcc-pipe.c の 95 行で定義されています。 参照元 RealTimePipeLine(). |
|
Allocate a new delta cycle buffer.
wav2mfcc-pipe.c の 141 行で定義されています。 参照元 RealTimeInit(). |
|
Destroy the delta cycle buffer.
wav2mfcc-pipe.c の 168 行で定義されています。 |
|
Reset and clear the delta cycle buffer.
wav2mfcc-pipe.c の 186 行で定義されています。 |
|
Store the given MFCC vector into the delta cycle buffer, and compute the latest delta coefficients.
wav2mfcc-pipe.c の 245 行で定義されています。 参照元 RealTimeParam(), と RealTimePipeLine(). |
|
Flush the delta cycle buffer the delta coefficients left in the cycle buffer.
wav2mfcc-pipe.c の 287 行で定義されています。 参照元 RealTimeParam(). |
|
Initialize MAP-CMN at startup.
wav2mfcc-pipe.c の 348 行で定義されています。 参照元 RealTimeInit(). |
|
Prepare for MAP-CMN at start of each input wav2mfcc-pipe.c の 375 行で定義されています。 |
|
Perform MAP-CMN for incoming MFCC vectors
wav2mfcc-pipe.c の 390 行で定義されています。 参照元 RealTimeParam(), と RealTimePipeLine(). |
|
Update initial cepstral mean from previous utterances for next input. wav2mfcc-pipe.c の 418 行で定義されています。 参照元 RealTimeCMNUpdate(). |
|
Load CMN parameter from file. If the number of MFCC dimension in the file does not match the specified one, an error will occur.
wav2mfcc-pipe.c の 518 行で定義されています。 参照元 RealTimeInit(). |
|
Save the current CMN vector to a file.
wav2mfcc-pipe.c の 562 行で定義されています。 参照元 RealTimeCMNUpdate(). |
|
Load a noise spectrum from file.
参照元 new_wav2mfcc(), と RealTimeInit(). |
|
Compute average spectrum of audio input. This is used to estimate a noise spectrum from input samples.
参照元 new_wav2mfcc(). |