#include <sent/stddefs.h>
#include <sent/mfcc.h>
wav2mfcc-pipe.cのインクルード依存関係図
マクロ定義 | |
#define | CPMAX 500 |
Maximum number of frames to store ceptral mean for CMN update. | |
#define | CPSTEP 5 |
clist allocate step | |
関数 | |
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) |
static void | WMP_deltabuf_calc (DeltaBuf *db, int cur) |
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 () |
static boolean | myread (void *buf, size_t unitbyte, int unitnum, FILE *fp) |
static boolean | mywrite (void *buf, size_t unitbyte, int unitnum, int fd) |
boolean | CMN_load_from_file (char *filename, int dim) |
boolean | CMN_save_to_file (char *filename) |
変数 | |
static double * | fbank |
Local buffer to hold filterbank. | |
static FBankInfo | fb |
Local buffer to hold filterbank information. | |
static CMEAN * | clist |
List of MFCC sum for previous inputs. | |
static int | clist_max |
Allocated number of CMEAN in clist. | |
static int | clist_num |
Currentlly filled CMEAN in clist. | |
static int | dim |
Local workarea to store the number of MFCC dimension. | |
static float | cweight |
Weight of initial cepstral mean. | |
static float * | cmean_init |
Initial cepstral mean for each input. | |
static boolean | cmean_init_set |
TRUE if cmean_init was set. | |
static CMEAN | now |
Work area to hold current cepstral mean. |
wav2mfcc-pipe.c で定義されています。
|
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 行で定義されています。 |
|
Calculate delta coefficients of the specified point in the cycle buffer.
wav2mfcc-pipe.c の 202 行で定義されています。 |
|
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(). |
|
Read binary with byte swap (assume file is Big Endian)
wav2mfcc-pipe.c の 472 行で定義されています。 |
|
Write binary with byte swap (assume data is Big Endian)
wav2mfcc-pipe.c の 494 行で定義されています。 |
|
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(). |