Displaying 5 results from an estimated 5 matches for "is_speech".
Did you mean:
res_speech
2005 Mar 08
1
VAD with speex_preprocess()
speex_preprocess() isn't covered in the manual, is it? But, it's very
easy to use. If it returns non-zero, voice was detected.
Tom
"Meir Yeshurun" <mt_yeshurun@hotmail.com> wrote:
>
> I would like to use speex_preprocess() for voice activity detection. I read
> the comments in speex_preprocess.h and the relevant paragraphs in the Speex
> manual. Is there
2005 Mar 08
0
VAD with speex_preprocess()
...process() is not called unless AGC or denoise is
> enabled.
> If only VAD is enabled, it does not get called.
>
> speex_preprocess() has vad_enabled specific code to detect voice activity.
> speex_preprocess()
> {
> ...
> ...
> if (st->vad_enabled)
> is_speech = speex_compute_vad(st, ps, mean_prior, mean_post);
>
> ...
> ...
> return is_speech;
> }
>
> Some questions for the knowledgable:
> Is speex_preprocess() needed to use vad?
>
> Can speex_preprocess() be used to detect silent frames if vad is enabled,
&g...
2005 Sep 18
1
Adjustable parameters for VAD in preprocessor
...address when posting to
membership-restricted mailing addresses. Was wondering why this hadn't
arrived. Reposted message as follows:
Hi,
Would a patch to change the constants on line 454 - 462 in the preprocessor
into variables be of general interest? At the moment, whether or not
"is_speech" is 1 is hardcoded to be (speec_prob > .35 or >.1 within last 20
frames or it's been less than 20 frames without).. I'd like to turn those 4
constants into speex_preprocess_ctl tunable variables, most likely through
SPEEX_PREPROCESS_GET_VAD_PARAMETERS / SET_VAD_PARAMETERS with...
2004 Aug 06
2
Memory leak in denoiser + a few questions
On Mar 28, 2004, at 8:23 PM, Jean-Marc Valin wrote:
>> The st->zeta pointer isn't freed in the
>> speex_preprocess_state_destroy()
>> function of the preprocess.c file (alloced in line 167). It's in
>> Speex 1.1.4
>> by the way.
>
> Oops... Thanks for letting me know. I'll change that for the next
> release (in the mean time, the fix is
2004 Aug 06
4
Memory leak in denoiser + a few questions
...;.1)) */
- if (st->speech_prob> .20 || (st->last_speech < 20 && st->speech_prob>.05))
+ if (
+ st->speech_prob > st->speech_prob_start
+ || ( st->last_speech < 20 && st->speech_prob > st->speech_prob_continue )
+ )
{
is_speech = 1;
st->last_speech = 0;
- } else {
+ }
+ else
+ {
st->last_speech++;
if (st->last_speech<20)
is_speech = 1;
@@ -985,6 +995,30 @@
case SPEEX_PREPROCESS_GET_VAD:
(*(int*)ptr) = st->vad_enabled;
break;
+
+ case S...