Edinburgh Speech Tools  2.1-release
sigpr_frame.cc File Reference
#include "sigpr/EST_sigpr_frame.h"
#include "sigpr/EST_fft.h"
#include "EST_inline_utils.h"
#include "EST_math.h"
#include "EST_error.h"
#include "EST_TBuffer.h"
Include dependency graph for sigpr_frame.cc:

Go to the source code of this file.

Macros

#define ALMOST1   0.99999
 
#define MAX_ABS_CEPS   4.0
 

Functions

float Hz2Mel (float frequency_in_Hertz)
 
float Mel2Hz (float frequency_in_Mel)
 
float lpredict (float *adc, int wsize, float *acf, float *ref, float *lpc, int order)
 
float ogi_lpc (float *adc, int wsize, int order, float *acf, float *ref, float *lpc)
 
void convert2lpc (const EST_FVector &in_frame, const EST_String &in_type, EST_FVector &out_frame)
 
void convert2ref (const EST_FVector &in_frame, const EST_String &in_type, EST_FVector &out_frame)
 
void convert2area (const EST_FVector &in_frame, const EST_String &in_type, EST_FVector &out_frame)
 
void convert2cep (const EST_FVector &in_frame, const EST_String &in_type, EST_FVector &out_frame)
 
void convert2lsf (const EST_FVector &in_frame, const EST_String &in_type, EST_FVector &out_frame)
 
void frame_convert (const EST_FVector &in_frame, const EST_String &in_type, EST_FVector &out_frame, const EST_String &out_type)
 
void sig2lpc (const EST_FVector &sig, EST_FVector &acf, EST_FVector &ref, EST_FVector &xlpc)
 
float lpredict2 (EST_FVector &adc, int wsize, EST_FVector &acf, float *ref, float *lpc, int order)
 
void sig2lpc (const EST_FVector &sig, EST_FVector &lpc)
 
void sig2ref (const EST_FVector &sig, EST_FVector &ref)
 
void ref2area (const EST_FVector &ref, EST_FVector &area)
 
void ref2logarea (const EST_FVector &ref, EST_FVector &logarea)
 
void ref2truearea (const EST_FVector &ref, EST_FVector &area)
 
void lpc2cep (const EST_FVector &lpc, EST_FVector &cep)
 
void lpc2ref (const EST_FVector &lpc, EST_FVector &ref)
 
void ref2lpc (const EST_FVector &ref, EST_FVector &lpc)
 
void lpc2lsf (const EST_FVector &lpc, EST_FVector &lsf)
 
void lsf2lpc (const EST_FVector &lpc, EST_FVector &lsf)
 
void sig2pow (EST_FVector &frame, float &power)
 
void sig2rms (EST_FVector &frame, float &rms_energy)
 
void sig2fbank (const EST_FVector &sig, EST_FVector &fbank_frame, const float sample_rate, const bool use_power_rather_than_energy, const bool take_log)
 
void sig2fft (const EST_FVector &sig, EST_FVector &fft_vec, const bool use_power_rather_than_energy)
 
void fft2fbank (const EST_FVector &fft_frame, EST_FVector &fbank_vec, const float Hz_per_fft_coeff, const EST_FVector &mel_fbank_frequencies)
 
void fbank2melcep (const EST_FVector &fbank_vec, EST_FVector &mfcc_vec, const float liftering_parameter, const bool include_c0)
 
void make_mel_triangular_filter (const float this_mel_centre, const float this_mel_low, const float this_mel_high, const float Hz_per_fft_coeff, const int half_fft_order, int &fft_index_start, EST_FVector &filter)
 

Macro Definition Documentation

#define ALMOST1   0.99999

Definition at line 49 of file sigpr_frame.cc.

#define MAX_ABS_CEPS   4.0

Definition at line 50 of file sigpr_frame.cc.

Function Documentation

float lpredict ( float *  adc,
int  wsize,
float *  acf,
float *  ref,
float *  lpc,
int  order 
)
float ogi_lpc ( float *  adc,
int  wsize,
int  order,
float *  acf,
float *  ref,
float *  lpc 
)
void convert2lpc ( const EST_FVector in_frame,
const EST_String in_type,
EST_FVector out_frame 
)

Definition at line 69 of file sigpr_frame.cc.

void convert2ref ( const EST_FVector in_frame,
const EST_String in_type,
EST_FVector out_frame 
)

Definition at line 83 of file sigpr_frame.cc.

void convert2area ( const EST_FVector in_frame,
const EST_String in_type,
EST_FVector out_frame 
)

Definition at line 107 of file sigpr_frame.cc.

void convert2cep ( const EST_FVector in_frame,
const EST_String in_type,
EST_FVector out_frame 
)

Definition at line 131 of file sigpr_frame.cc.

void convert2lsf ( const EST_FVector in_frame,
const EST_String in_type,
EST_FVector out_frame 
)

Definition at line 182 of file sigpr_frame.cc.

void frame_convert ( const EST_FVector in_frame,
const EST_String in_type,
EST_FVector out_frame,
const EST_String out_type 
)

Definition at line 206 of file sigpr_frame.cc.

float lpredict2 ( EST_FVector adc,
int  wsize,
EST_FVector acf,
float *  ref,
float *  lpc,
int  order 
)

Definition at line 488 of file sigpr_frame.cc.