Displaying 10 results from an estimated 10 matches for "speex_preprocess_get_prob_start".
2007 Nov 05
2
[patch] speex_preprocess_ctl
...rt = 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_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));
> > -...
2007 Oct 29
1
[patch] speex_preprocess_ctl
...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_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);...
2006 Mar 03
0
Fw: Voice Activation Level (speex 1.1.11.1)
I done it
speex_preprocess_ctl(sppPreprocess, SPEEX_PREPROCESS_GET_PROB_START,
&g.s.VADstart);
speex_preprocess_ctl(sppPreprocess, SPEEX_PREPROCESS_GET_PROB_CONTINUE,
&g.s.VADcontin);
/*char *lisDebugCh = (char*) malloc(20);
int decimalFcvt, signFcvt;
static int firstDebug = 1;
lisDebugCh = gcvt(g.s.VADstart, 20, lisDebugCh);
if(firstDebug == 1)
{...
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
2007 Nov 05
0
[patch] speex_preprocess_ctl
...LT16_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_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))...
2004 Aug 06
4
Memory leak in denoiser + a few questions
...:
+ 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 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_pr...
2006 Mar 02
0
Voice Activation Level (speex 1.1.11.1)
...ex 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 continue speech.
>
> -SteveK
>
>
&g...
2006 Mar 02
0
Voice Activation Level (speex 1.1.11.1)
...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 speech, and to continue speech.
>=20
> -SteveK
>...
2006 Mar 03
0
Fw: Voice Activation Level (speex 1.1.11.1)
...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 continue speech.
>
> -SteveK
>
>
> Lis...
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