search for: speex_preprocess_set_prob_start

Displaying 14 results from an estimated 14 matches for "speex_preprocess_set_prob_start".

2007 Nov 05
2
[patch] speex_preprocess_ctl
...t; Index: libspeex/preprocess.c > > =================================================================== > > --- libspeex/preprocess.c (revision 13983) > > +++ libspeex/preprocess.c (arbetskopia) > > @@ -1126,16 +1126,16 @@ > > break; > > > > case SPEEX_PREPROCESS_SET_PROB_START: > > - *(spx_int32_t*)ptr = MIN32(Q15_ONE,MAX32(0, *(spx_int32_t*) > > ptr)); > > - st->speech_prob_start = DIV32_16(MULT16_16(32767,* > > (spx_int32_t*)ptr), 100); > > + *(spx_int32_t*)ptr = MIN32(100,MAX32(0, *(spx_int32_t*)ptr)); > > +...
2007 Jan 08
1
VAD in preprocessor
...in preprocessor is very good, there is not noise outside speech. I don't feel problem so much while continuous speech, but when we speak for short intervals, the start of and end of sentences have clatter (maybe clatter does not meet that sound, there is a defect). To overcome this problem, are SPEEX_PREPROCESS_SET_PROB_START, SPEEX_PREPROCESS_SET_PROB_CONTINUE parameters or other anything useful? int param_enabled = 1; int param_disabled = 0; int sampling_rate = 8000; SpeexPreprocessState *preprocess; preprocess = speex_preprocess_state_init(frame_size, sampling_rate); /* frame_size = 160 */ speex_preproce...
2007 Oct 29
1
[patch] speex_preprocess_ctl
...tch fixes the problem. Mikael -------------- next part -------------- Index: libspeex/preprocess.c =================================================================== --- libspeex/preprocess.c (revision 13983) +++ libspeex/preprocess.c (arbetskopia) @@ -1126,16 +1126,16 @@ break; case SPEEX_PREPROCESS_SET_PROB_START: - *(spx_int32_t*)ptr = MIN32(Q15_ONE,MAX32(0, *(spx_int32_t*)ptr)); - st->speech_prob_start = DIV32_16(MULT16_16(32767,*(spx_int32_t*)ptr), 100); + *(spx_int32_t*)ptr = MIN32(100,MAX32(0, *(spx_int32_t*)ptr)); + st->speech_prob_start = DIV32_16(MULT16_16(Q15ONE,*(spx_int3...
2006 Mar 03
0
Fw: Voice Activation Level (speex 1.1.11.1)
...; static int firstDebug = 1; lisDebugCh = gcvt(g.s.VADstart, 20, lisDebugCh); if(firstDebug == 1) { ::MessageBoxA(NULL, lisDebugCh, "Mumble", MB_OK | MB_ICONERROR); firstDebug = 0; }*/ g.s.VADstart = 0.90f; f.s.VADcontin = 0.90f; speex_preprocess_ctl(sppPreprocess, SPEEX_PREPROCESS_SET_PROB_START, &g.s.VADstart); speex_preprocess_ctl(sppPreprocess, SPEEX_PREPROCESS_SET_PROB_CONTINUE, &g.s.VADcontin); but nothing is changed. The microphone is activated at same loudenes as before and i dont understand why. It seems to look like that i can get throught the whole speex code. I now...
2006 Mar 03
0
Fw: Voice Activation Level (speex 1.1.11.1)
I implemented the calcPower(). It works perfectly. The example is given you in just about 6 hours. Cant paste the whole source here and need to meet someone now. Thanks all (particulary tom). I try to figure out whitch problem exists with the #define SPEEX_PREPROCESS_SET_PROB_START 14 theese days ----- Original Message ----- From: "¼Õ½Â¿ø" <ssw0725@ncsoft.net> To: "Tom Grandgent" <tgrand@canvaslink.com> Cc: <speex-dev@xiph.org> Sent: Friday, March 03, 2006 6:55 AM Subject: RE: [Speex-dev] Voice Activation Level (speex 1.1.11.1) Hi...T...
2007 May 03
3
iaxclient & speex
...the mixer up and v.v.). This appears to be effective. So is there a way to make these items available to speex clients? The speex_preprocess_ctl interface could be extended, but it's not really what it is intended for, is it? Also, can anyone clarify the new use of speex_preprocess_ctl for SPEEX_PREPROCESS_SET_PROB_START/CONTINUE? It used to have a float parameter, and it now seems to be int, but I couldn't get it to set the value correctly and have had to change speex_preprocess_ctl back to using a float. David
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
2006 Dec 29
0
VAD in preprocessor
...in preprocessor is very good, there is not noise outside speech. I don't feel problem so much while continuous speech, but when we speak for short intervals, the start of and end of sentences have clatter (maybe clatter does not meet that sound, there is a defect). To overcome this problem, are SPEEX_PREPROCESS_SET_PROB_START, SPEEX_PREPROCESS_SET_PROB_CONTINUE parameters or if (st->nb_preprocess%200==0) in preprocessor.c (line 608) useful? Thanks a lot in advance, Sincerely, Yasemin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/at...
2007 Nov 05
0
[patch] speex_preprocess_ctl
...eprocess.c >>> =================================================================== >>> --- libspeex/preprocess.c (revision 13983) >>> +++ libspeex/preprocess.c (arbetskopia) >>> @@ -1126,16 +1126,16 @@ >>> break; >>> >>> case SPEEX_PREPROCESS_SET_PROB_START: >>> - *(spx_int32_t*)ptr = MIN32(Q15_ONE,MAX32(0, *(spx_int32_t*) >>> ptr)); >>> - st->speech_prob_start = DIV32_16(MULT16_16(32767,* >>> (spx_int32_t*)ptr), 100); >>> + *(spx_int32_t*)ptr = MIN32(100,MAX32(0, *(spx_int32_t*)ptr)); &gt...
2007 May 03
0
Re: [Iaxclient-devel] iaxclient & speex
...pears to be effective. > > So is there a way to make these items available to speex clients? The > speex_preprocess_ctl interface could be extended, but it's not really > what it is intended for, is it? > > Also, can anyone clarify the new use of speex_preprocess_ctl for > SPEEX_PREPROCESS_SET_PROB_START/CONTINUE? It used to have a float > parameter, and it now seems to be int, but I couldn't get it to set the > value correctly and have had to change speex_preprocess_ctl back to > using a float. > Hi, David, As you can tell, the AAGC integration with speex was really a c...
2004 Aug 06
4
Memory leak in denoiser + a few questions
...h = 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 SPEEX_PREPROCESS_SET_PROB_START: + st->speech_prob_start = (*(float*)ptr) ; + if ( st->speech_prob_start > 1 ) + st->speech_prob_start = st->speech_prob_start / 100 ; + if ( st->speech_prob_start > 1 || st->speech_prob_start < 0 ) + st->speech_prob_start = SPEEX_PROB_START ; + break ; + case...
2006 Mar 02
0
Voice Activation Level (speex 1.1.11.1)
...s) in the audio frames, but it uses a more complex algorithm > which (a) tries to ignore background noise, and (b) tries to detect > speech, in particular, and not just energy. > > If you need to adjust the sensitivity of this, you can use these > settings: > > #define SPEEX_PREPROCESS_SET_PROB_START 14 > #define SPEEX_PREPROCESS_GET_PROB_START 15 > > #define SPEEX_PREPROCESS_SET_PROB_CONTINUE 16 > #define SPEEX_PREPROCESS_GET_PROB_CONTINUE 17 > > which adjusts the 'probabilities' that are used to define speech and > non-speech, for the start of speech, and to co...
2006 Mar 02
0
Voice Activation Level (speex 1.1.11.1)
...he audio frames, but it uses a more complex=20 > algorithm which (a) tries to ignore background noise, and (b) tries to = > detect speech, in particular, and not just energy. >=20 > If you need to adjust the sensitivity of this, you can use these > settings: >=20 > #define SPEEX_PREPROCESS_SET_PROB_START 14 #define=20 > SPEEX_PREPROCESS_GET_PROB_START 15 >=20 > #define SPEEX_PREPROCESS_SET_PROB_CONTINUE 16 #define=20 > SPEEX_PREPROCESS_GET_PROB_CONTINUE 17 >=20 > which adjusts the 'probabilities' that are used to define speech and=20 > non-speech, for the start of speec...
2006 Mar 01
3
Voice Activation Level (speex 1.1.11.1)
Sorry. I forgotten the words volume or loudness. But it is know as microphone stroke too, i think. If something can tell me something about that procedure it would complete my pleasure. To bring back memories, i only wanted to know wheather i can change a variable that holds the sound intensity (loudness) needet to start "encoding >> sending" if the speex codec is in voice