search for: speex_preprocess_set_prob_continue

Displaying 12 results from an estimated 12 matches for "speex_preprocess_set_prob_continue".

2007 Nov 05
2
[patch] speex_preprocess_ctl
...start = DIV32_16(MULT16_16(Q15ONE,* > > (spx_int32_t*)ptr), 100); > > break; > > case SPEEX_PREPROCESS_GET_PROB_START: > > (*(spx_int32_t*)ptr) = MULT16_16_Q15(st->speech_prob_start, > > 100); > > break; > > > > case SPEEX_PREPROCESS_SET_PROB_CONTINUE: > > - *(spx_int32_t*)ptr = MIN32(Q15_ONE,MAX32(0, *(spx_int32_t*) > > ptr)); > > - st->speech_prob_continue = 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
...re 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_preprocess_ctl(preprocess, SPEEX_PREPROCESS_...
2007 Oct 29
1
[patch] speex_preprocess_ctl
...int32_t*)ptr = MIN32(100,MAX32(0, *(spx_int32_t*)ptr)); + st->speech_prob_start = DIV32_16(MULT16_16(Q15ONE,*(spx_int32_t*)ptr), 100); break; case SPEEX_PREPROCESS_GET_PROB_START: (*(spx_int32_t*)ptr) = MULT16_16_Q15(st->speech_prob_start, 100); break; case SPEEX_PREPROCESS_SET_PROB_CONTINUE: - *(spx_int32_t*)ptr = MIN32(Q15_ONE,MAX32(0, *(spx_int32_t*)ptr)); - st->speech_prob_continue = 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_continue = DIV32_16(MULT16_16(Q15ONE,*(sp...
2006 Mar 03
0
Fw: Voice Activation Level (speex 1.1.11.1)
...Debug == 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 try Toms solution. After that i will try to find out how the speech_calculate_vad() function i...
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
...re 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/attachments/20061229/b20adaa9/attachme...
2007 Nov 05
0
[patch] speex_preprocess_ctl
...16_16(Q15ONE,* >>> (spx_int32_t*)ptr), 100); >>> break; >>> case SPEEX_PREPROCESS_GET_PROB_START: >>> (*(spx_int32_t*)ptr) = MULT16_16_Q15(st->speech_prob_start, >>> 100); >>> break; >>> >>> case SPEEX_PREPROCESS_SET_PROB_CONTINUE: >>> - *(spx_int32_t*)ptr = MIN32(Q15_ONE,MAX32(0, *(spx_int32_t*) >>> ptr)); >>> - st->speech_prob_continue = DIV32_16(MULT16_16(32767,* >>> (spx_int32_t*)ptr), 100); >>> + *(spx_int32_t*)ptr = MIN32(100,MAX32(0, *(spx_int32_t*)ptr));...
2004 Aug 06
4
Memory leak in denoiser + a few questions
...ch_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 SPEEX_PREPROCESS_GET_PROB_START: + (*(float*)ptr) = st->speech_prob_start ; + break ; + + case SPEEX_PREPROCESS_SET_PROB_CONTINUE: + st->speech_prob_continue = (*(float*)ptr) ; + if ( st->speech_prob_continue > 1 ) + st->speech_prob_continue = st->speech_prob_continue / 100 ; + if ( st->speech_prob_continue > 1 || st->speech_prob_continue < 0 ) + st->speech_prob_continue = SPEEX_PROB_CONTI...
2006 Mar 02
0
Voice Activation Level (speex 1.1.11.1)
...d 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 continue speech. > > -SteveK > > > Lis wrote: > > > Sorry. > > > >...
2006 Mar 02
0
Voice Activation Level (speex 1.1.11.1)
...nd (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 speech, and to continue speech. >=20 > -SteveK >=20 >=20 > Lis wrote: >=20 > > Sorry. >...
2006 Mar 03
0
Fw: Voice Activation Level (speex 1.1.11.1)
...ground 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 continue speech. > > -SteveK > > > Lis wrote: > > > Sorry. > > > > I forg...
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