search for: was_voice

Displaying 3 results from an estimated 3 matches for "was_voice".

2008 Feb 15
3
Voice activity detection
...eprocess_state, SPEEX_PREPROCESS_SET_VAD, &tmp); speex_preprocess_ctl(preprocess_state, SPEEX_PREPROCESS_SET_DENOISE, &tmp); then later, for each frame speex_preprocess_run(preprocess_state, shortPointer); but how do I know if the frame contained voice? I tried if (preprocess_state->was_voice == 1) { ...Do voice present code... } But the compiler complains that was_voice is not defined, which, I assume, comes from the fact that preprocess_state is declared in speech_preprocess.h as struct SpeexPreprocessState_; How do I check the preprocessor for the presence of voice in a frame? T...
2008 Feb 17
1
Voice activity detection
...); > speex_preprocess_ctl(preprocess_state, SPEEX_PREPROCESS_SET_DENOISE, > &tmp); > > then later, for each frame > > speex_preprocess_run(preprocess_state, shortPointer); > > but how do I know if the frame contained voice? I tried > > if (preprocess_state->was_voice == 1) > { > ...Do voice present code... > } > > But the compiler complains that was_voice is not defined, which, I > assume, comes from the fact that preprocess_state is declared in > speech_preprocess.h as struct SpeexPreprocessState_; > > How do I check the preproces...
2008 Jan 07
2
Problem related to Voice activity detection
hi guys, i am trying to develop an application having a capability to detect voice activity in voice stream and then record only portion of this stream which contains the activity. i went through these steps. 1. Captured voice through Waveform Functions of Windows Multimedia API 2. Started Speex Preprocessing liberary 3. Turned on preprocessor by calling speex_preprocess_state_init and