Displaying 3 results from an estimated 3 matches for "shortpoint".
Did you mean:
sharepoint
2008 Feb 17
1
Voice activity detection
Thanks for your reply. I changed my code to:
if (speex_preprocess_run(preprocess_state, shortPointer) == 1)
{
speex_encode_int(enc_state, shortPointer, &enc_bits);
}
In the mobile version of the software, compiled against the mobile build of Speech, I get 1 and 0 based on whether the speech is detected. In the version of the software compiled against the Win32 version of Speex, speex_prepr...
2008 Feb 15
3
Voice activity detection
...e actual frame has
voice in it or not.
So, in my code, I do:
int tmp = 1;
speex_preprocess_ctl(preprocess_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...
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