speex_preprocess.h File Reference

Speex preprocessor. The preprocess can do noise suppression, residual echo suppression (after using the echo canceller), automatic gain control (AGC) and voice activity detection (VAD). More...

#include "speex/speex_types.h"

Include dependency graph for speex_preprocess.h:

Go to the source code of this file.

Defines

#define SPEEX_PREPROCESS_SET_DENOISE   0
#define SPEEX_PREPROCESS_GET_DENOISE   1
#define SPEEX_PREPROCESS_SET_AGC   2
#define SPEEX_PREPROCESS_GET_AGC   3
#define SPEEX_PREPROCESS_SET_VAD   4
#define SPEEX_PREPROCESS_GET_VAD   5
#define SPEEX_PREPROCESS_SET_AGC_LEVEL   6
#define SPEEX_PREPROCESS_GET_AGC_LEVEL   7
#define SPEEX_PREPROCESS_SET_DEREVERB   8
#define SPEEX_PREPROCESS_GET_DEREVERB   9
#define SPEEX_PREPROCESS_SET_DEREVERB_LEVEL   10
#define SPEEX_PREPROCESS_GET_DEREVERB_LEVEL   11
#define SPEEX_PREPROCESS_SET_DEREVERB_DECAY   12
#define SPEEX_PREPROCESS_GET_DEREVERB_DECAY   13
#define SPEEX_PREPROCESS_SET_PROB_START   14
#define SPEEX_PREPROCESS_GET_PROB_START   15
#define SPEEX_PREPROCESS_SET_PROB_CONTINUE   16
#define SPEEX_PREPROCESS_GET_PROB_CONTINUE   17
#define SPEEX_PREPROCESS_SET_NOISE_SUPPRESS   18
#define SPEEX_PREPROCESS_GET_NOISE_SUPPRESS   19
#define SPEEX_PREPROCESS_SET_ECHO_SUPPRESS   20
#define SPEEX_PREPROCESS_GET_ECHO_SUPPRESS   21
#define SPEEX_PREPROCESS_SET_ECHO_SUPPRESS_ACTIVE   22
#define SPEEX_PREPROCESS_GET_ECHO_SUPPRESS_ACTIVE   23
#define SPEEX_PREPROCESS_SET_ECHO_STATE   24
#define SPEEX_PREPROCESS_GET_ECHO_STATE   25
#define SPEEX_PREPROCESS_SET_AGC_INCREMENT   26
#define SPEEX_PREPROCESS_GET_AGC_INCREMENT   27
#define SPEEX_PREPROCESS_SET_AGC_DECREMENT   28
#define SPEEX_PREPROCESS_GET_AGC_DECREMENT   29
#define SPEEX_PREPROCESS_SET_AGC_MAX_GAIN   30
#define SPEEX_PREPROCESS_GET_AGC_MAX_GAIN   31
#define SPEEX_PREPROCESS_GET_AGC_LOUDNESS   33
#define SPEEX_PREPROCESS_GET_AGC_GAIN   35
#define SPEEX_PREPROCESS_GET_PSD_SIZE   37
#define SPEEX_PREPROCESS_GET_PSD   39
#define SPEEX_PREPROCESS_GET_NOISE_PSD_SIZE   41
#define SPEEX_PREPROCESS_GET_NOISE_PSD   43
#define SPEEX_PREPROCESS_GET_PROB   45
#define SPEEX_PREPROCESS_SET_AGC_TARGET   46
#define SPEEX_PREPROCESS_GET_AGC_TARGET   47

Typedefs

typedef SpeexPreprocessState_ SpeexPreprocessState

Functions

SpeexPreprocessStatespeex_preprocess_state_init (int frame_size, int sampling_rate)
void speex_preprocess_state_destroy (SpeexPreprocessState *st)
int speex_preprocess_run (SpeexPreprocessState *st, spx_int16_t *x)
int speex_preprocess (SpeexPreprocessState *st, spx_int16_t *x, spx_int32_t *echo)
void speex_preprocess_estimate_update (SpeexPreprocessState *st, spx_int16_t *x)
int speex_preprocess_ctl (SpeexPreprocessState *st, int request, void *ptr)


Detailed Description

Speex preprocessor. The preprocess can do noise suppression, residual echo suppression (after using the echo canceller), automatic gain control (AGC) and voice activity detection (VAD).


Generated on Sat Dec 6 22:03:23 2008 for Speex by  doxygen 1.5.1