search for: was_speech

Displaying 6 results from an estimated 6 matches for "was_speech".

Did you mean: res_speech
2011 Aug 29
3
Speex VAD always returning 1
From 1.2rc1 source code: preprocess.c: /* FIXME: This VAD is a kludge */ st->speech_prob = Pframe; if (st->vad_enabled) { if (st->speech_prob > st->speech_prob_start || (st->was_speech && st->speech_prob > st->speech_prob_continue)) { st->was_speech=1; return 1; } else { st->was_speech=0; return 0; } } else { return 1; } AND case SPEEX_PREPROCESS_SET_VAD: speex_warning("The VAD has been replaced by a hack pending a complete rewrite"); st->v...
2010 Jun 07
0
No subject
preprocess.c: /* FIXME: This VAD is a kludge */ st->speech_prob =3D Pframe; if (st->vad_enabled) { if (st->speech_prob > st->speech_prob_start || (st->was_speech && st->speec= h_prob > st->speech_prob_continue)) { st->was_speech=3D1; return 1; } else { st->was_speech=3D0; return 0; } } else { return 1; } AND case SPEEX_PREPROCESS_SET_VAD: speex_warning("The VAD has been replaced by a hack pending a complete rewri= te"); st...
2010 Jun 07
0
No subject
preprocess.c: /* FIXME: This VAD is a kludge */ st->speech_prob =3D Pframe; if (st->vad_enabled) { if (st->speech_prob > st->speech_prob_start || (st->was_speech && st->speec= h_prob > st->speech_prob_continue)) { st->was_speech=3D1; return 1; } else { st->was_speech=3D0; return 0; } } else { return 1; } AND case SPEEX_PREPROCESS_SET_VAD: speex_warning("The VAD has been replaced by a hack pending a complete rewri= te"); st...
2011 Aug 29
0
Speex VAD always returning 1
...36 PM, Yanick Bourbeau <ybourbeau at mrgtech.ca>wrote: > From 1.2rc1 source code: > > preprocess.c: > > /* FIXME: This VAD is a kludge */ > st->speech_prob = Pframe; > if (st->vad_enabled) > { > if (st->speech_prob > st->speech_prob_start || (st->was_speech && > st->speech_prob > st->speech_prob_continue)) > { > st->was_speech=1; > return 1; > } else > { > st->was_speech=0; > return 0; > } > } else { > return 1; > } > > AND > > case SPEEX_PREPROCESS_SET_VAD: > speex_warning(&quo...
2008 Feb 12
0
Second part of data export patch
...< Processing frame in freq domain (2*ps_size) */ @@ -994,9 +996,10 @@ st->outbuf[i] = st->frame[st->frame_size+i]; /* FIXME: This VAD is a kludge */ + st->speech_prob = Pframe; if (st->vad_enabled) { - if (Pframe > st->speech_prob_start || (st->was_speech && Pframe > st->speech_prob_continue)) + if (st->speech_prob > st->speech_prob_start || (st->was_speech && st->speech_prob > st->speech_prob_continue)) { st->was_speech=1; return 1; @@ -1191,6 +1194,9 @@ for(i=0;i&...
2011 Aug 29
2
Speex VAD always returning 1
I have been trying to understand how to get the VAD algorithm working. I sent an input stream of all zeros into the preprocessor but still got a return value of 1 indicating that speech was detected. Is this feature not available with the latest release? I thought at the very least it would detect this as silence and return 0 but that does not seem to be the case. Does anyone have any