search for: speech_prob

Displaying 20 results from an estimated 20 matches for "speech_prob".

2004 Aug 06
1
speex preprocess redux
...the thresholds to make things more sensitive though: This is what I have now in iaxclient; the first number is the "initial" probability to go from not speech -> speech. The second is to go from speech -> not speech. [the difference implements hysteresis]. /* if (st->speech_prob> .35 || (st->last_speech < 20 && st->speech_prob>.1)) */ if (st->speech_prob> .30 || (st->last_speech < 20 && st->speech_prob>.07)) > I also get the musical artifacts problem with the denoiser. This > seems to > be more of a probl...
2005 Jan 18
1
voice activity detection
...things more sensitive though: > >This is what I have now in iaxclient; the first number is the "initial" >probability to go from not speech -> speech. The second is to go from >speech -> not speech. [the difference implements hysteresis]. > >/* if (st->speech_prob> .35 || (st->last_speech < 20 && >st->speech_prob>.1)) */ > if (st->speech_prob> .30 || (st->last_speech < 20 && > st->speech_prob>.07)) Might be helpful for you. Tom Joachim Boomberschloss <boomberschloss@yahoo.com> wrote: &...
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
2008 Feb 12
0
Second part of data export patch
...d/libspeex/preprocess.c get_prob/libspeex/preprocess.c --- get_psd/libspeex/preprocess.c 2008-02-12 17:16:10.000000000 +0100 +++ get_prob/libspeex/preprocess.c 2008-02-12 17:13:28.000000000 +0100 @@ -199,6 +199,8 @@ int echo_suppress_active; SpeexEchoState *echo_state; + spx_word16_t speech_prob; /**< Probability last frame was speech */ + /* DSP-related arrays */ spx_word16_t *frame; /**< Processing frame (2*ps_size) */ spx_word16_t *ft; /**< Processing frame in freq domain (2*ps_size) */ @@ -994,9 +996,10 @@ st->outbuf[i] = st->frame[st-&gt...
2004 Aug 06
4
Memory leak in denoiser + a few questions
...iServ/dls/CVS/hms/app_conference/libspeex/preprocess.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -w -r1.2 -r1.3 --- preprocess.c 2003/11/07 23:40:23 1.2 +++ preprocess.c 2004/02/06 17:10:24 1.3 @@ -145,6 +145,9 @@ st->agc_level = 8000; st->vad_enabled = 0; + st->speech_prob_start = SPEEX_PROB_START ; + st->speech_prob_continue = SPEEX_PROB_CONTINUE ; + st->frame = (float*)speex_alloc(2*N*sizeof(float)); st->ps = (float*)speex_alloc(N*sizeof(float)); st->gain2 = (float*)speex_alloc(N*sizeof(float)); @@ -435,12 +438,19 @@ st->speec...
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_PREPROCES...
2004 Aug 06
2
Preprocessing and Echo Cancellation Notes.
...that to be speech. This worked OK, but since I never updated my "noise floor" estimate, it was easily broken if there was additional noise added at any time (i.e. the user raised their microphone gain). Here, I have gone in and adjusted some knobs here: <p>/* if (st->speech_prob> .35 || (st->last_speech < 20 && st->speech_prob>.1)) */ if (st->speech_prob> .30 || (st->last_speech < 20 && st->speech_prob>.07)) to make it more sensitive, because I was getting some missed speech, and some dropouts. The dropouts were...
2011 Aug 29
0
Speex VAD always returning 1
...). Ken Smith Cell: 425-443-2359 Email: ken at alanta.com Blog: http://blog.wouldbetheologian.com/ On Mon, Aug 29, 2011 at 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; > retur...
2004 Aug 06
0
Re: Preprocessing and Echo Cancellation Notes.
...orked > OK, but since I never updated my "noise floor" estimate, it was easily > broken if there was additional noise added at any time (i.e. the user > raised their microphone gain). Here, I have gone in and adjusted some > knobs here: > > > /* if (st->speech_prob> .35 || (st->last_speech < 20 && > st->speech_prob>.1)) */ > if (st->speech_prob> .30 || (st->last_speech < 20 && > st->speech_prob>.07)) Well, the tuning always depends on what you're trying to achieve. Currently, the VAD is m...
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
2007 May 03
3
iaxclient & speex
Hi The latest SVN trunk for speex has changed the SpeexPreprocessState to an opaque structure, for jolly good software engineering reasons. However, the Analogue AGC (AAGC) feature of iaxclient (in audio_enode.c) relies on some members of this. It uses speech_prob to detect when there is enough speech to consider AAGC and then loudness2 to decide how to adjust the input mixer. We want to use the latest speex, for echo cancellation and other reasons, so I tried just making SpeexPreprocessState visible again, but it turns out neither of these members are pres...
2004 Aug 06
2
speex preprocess redux
Tom Harper wrote: > Hi All & Jean Marc, > > Once again I find myself delving into the pre-processing code to fiddle > with the VAD, AGC and denoising code. > > Where i am at is that I have implemented all of Steve Kann's mods, and > they are 90% of the way there in terms of working, except that I am still > having issues denoising open air mics. But that is
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_PR...
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_PR...
2007 May 03
0
Re: [Iaxclient-devel] iaxclient & speex
...Brazier wrote: > Hi > > The latest SVN trunk for speex has changed the SpeexPreprocessState to > an opaque structure, for jolly good software engineering reasons. > However, the Analogue AGC (AAGC) feature of iaxclient (in audio_enode.c) > relies on some members of this. It uses speech_prob to detect when > there is enough speech to consider AAGC and then loudness2 to decide how > to adjust the input mixer. We want to use the latest speex, for echo > cancellation and other reasons, so I tried just making > SpeexPreprocessState visible again, but it turns out neither of th...
2005 Jun 20
1
Speech detection in preprocessor with echo
...iable) is at 0.05-0.2, but jumps up above 1.0 if I actually say something. - loudness2 keeps decreasing from the "normal" of ~6000 to 1000 or so, at which point the residual echo is amplified enough that it's clearly audible at the other end. If I say something, it adjusts. - speech_prob is at 0.999 or 1.000 as long as the other end talks. This is all with up-to-date SVN version of speex, and in a fairly noisy environment (it's hot, so I have the window open, so passing cars on the nearby road are quite audible, as is my air cleaner). Is there something I can do to tune thi...
2005 Jun 20
1
Speech detection in preprocessor with echo
...t jumps up > above 1.0 if I actually say something. > - loudness2 keeps decreasing from the "normal" of ~6000 to 1000 or so, at > which point the residual echo is amplified enough that it's clearly > audible at the other end. If I say something, it adjusts. > - speech_prob is at 0.999 or 1.000 as long as the other end talks. > > This is all with up-to-date SVN version of speex, and in a fairly noisy > environment (it's hot, so I have the window open, so passing cars on the > nearby road are quite audible, as is my air cleaner). > > Is there...
2005 Jun 22
1
Speech detection in preprocessor with echo
...ly say something. > > > - loudness2 keeps decreasing from the "normal" of ~6000 to 1000 or so, at > > > which point the residual echo is amplified enough that it's clearly > > > audible at the other end. If I say something, it adjusts. > > > - speech_prob is at 0.999 or 1.000 as long as the other end talks. > > > > > > This is all with up-to-date SVN version of speex, and in a fairly noisy > > > environment (it's hot, so I have the window open, so passing cars on the > > > nearby road are quite audible, as...
2007 May 03
0
Re: [Iaxclient-devel] iaxclient & speex
...ts of hysteresis */ /* use a higher continuation threshold for AAGC than for VAD itself */ if(!silent && (iaxc_silence_threshold != 0) && (iaxc_filters & IAXC_FILTER_AGC) && (iaxc_filters & IAXC_FILTER_AAGC) && (st->speech_prob > .20) ) { static int i; double level; i++; if((i&0x3f) == 0) { float loudness = st->loudness2; if((loudness > 8000) || (loudness < 4000)) { level = iaxc_input_level_get(); /* fprintf(stderr, "loudn...
2007 May 03
2
Re: [Iaxclient-devel] iaxclient & speex
> As you can tell, the AAGC integration with speex was really a classic > hack. Instead of re-creating the hack, what's probably best here is to > integrate AAGC back into speex, and have a proper API. Agreed here. If you can come up with a clean patch to add that feature, it's something I'd like to see in Speex. > For those of you just tuning in, what I call