search for: param_disabled

Displaying 2 results from an estimated 2 matches for "param_disabled".

2007 Jan 08
1
VAD in preprocessor
...ak for short intervals, the start of and end of sentences have clatter (maybe clatter does not meet that sound, there is a defect). To overcome this problem, are SPEEX_PREPROCESS_SET_PROB_START, SPEEX_PREPROCESS_SET_PROB_CONTINUE parameters or other anything useful? int param_enabled = 1; int param_disabled = 0; int sampling_rate = 8000; SpeexPreprocessState *preprocess; preprocess = speex_preprocess_state_init(frame_size, sampling_rate); /* frame_size = 160 */ speex_preprocess_ctl(preprocess, SPEEX_PREPROCESS_SET_DENOISE, &param_enabled); speex_preprocess_ctl(preprocess, SPEEX_PREPROCESS_...
2006 Dec 29
0
VAD in preprocessor
...s, at last I accomplished to use speex-1.2beta1 in my speech application. I try to understand speex source code and improve speech quality. The problem in my application (like many people in the list says) is noise. So I've added VAD in preprocessor as following: int param_enabled = 1; int param_disabled = 0; int sampling_rate = 8000; SpeexPreprocessState *preprocess; preprocess = speex_preprocess_state_init(frame_size, sampling_rate); /* frame_size = 160 */ speex_preprocess_ctl(preprocess, SPEEX_PREPROCESS_SET_DENOISE, &param_enabled); speex_preprocess_ctl(preprocess, SPEEX_PREPROCESS_...