Edinburgh Speech Tools  2.1-release
pcb_smoother.cc File Reference
#include <cmath>
#include <cstdio>
#include "array_smoother.h"
#include "EST_cutils.h"
Include dependency graph for pcb_smoother.cc:

Go to the source code of this file.

Macros

#define MAX_LEN   127
 
#define MODULE   "array_smoother"
 
#define TWO_PI   6.28318530717958647698
 

Functions

float median (int *counter, float valin, float valbuf[], int lmed, int mmed)
 
float hanning (int *counter, float valin, float valhan[], float win_coeff[], struct Ms_Op *ms)
 
void mk_window_coeffs (int length, float win_coeff[])
 
struct Ms_Opdefault_ms_op (struct Ms_Op *ms)
 
void array_smoother (float *p_array, int arraylen, struct Ms_Op *ms)
 
void initialise_parameters (struct Ms_Op *p_par)
 

Macro Definition Documentation

#define MAX_LEN   127

Definition at line 46 of file pcb_smoother.cc.

#define MODULE   "array_smoother"

Definition at line 48 of file pcb_smoother.cc.

#define TWO_PI   6.28318530717958647698

Definition at line 241 of file pcb_smoother.cc.

Function Documentation

float median ( int counter,
float  valin,
float  valbuf[],
int  lmed,
int  mmed 
)

Definition at line 207 of file pcb_smoother.cc.

float hanning ( int counter,
float  valin,
float  valhan[],
float  win_coeff[],
struct Ms_Op ms 
)

Definition at line 255 of file pcb_smoother.cc.

void mk_window_coeffs ( int  length,
float  win_coeff[] 
)

Definition at line 243 of file pcb_smoother.cc.

struct Ms_Op * default_ms_op ( struct Ms_Op ms)

Definition at line 300 of file pcb_smoother.cc.

void array_smoother ( float *  p_array,
int  arraylen,
struct Ms_Op ms 
)

Definition at line 57 of file pcb_smoother.cc.

void initialise_parameters ( struct Ms_Op p_par)

Definition at line 289 of file pcb_smoother.cc.