Displaying 10 results from an estimated 10 matches for "speex_preprocess_get_prob_continue".
2007 Nov 05
2
[patch] speex_preprocess_ctl
...= 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,*
> > (spx_int32_t*)ptr), 100);
> > break;
> > case SPEEX_PREPROCESS_GET_PROB_CONTINUE:
> > (*(spx_int32_t*)ptr) = MULT16_16_Q15(st-
> > >speech_prob_continue, 100);
> > _______________________________________________
> > Speex-dev mailing list
> > Speex-dev@xiph.org
> > http://lists.xiph.org/mailman/listinfo/speex-dev
2007 Oct 29
1
[patch] speex_preprocess_ctl
...X32(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,*(spx_int32_t*)ptr), 100);
break;
case SPEEX_PREPROCESS_GET_PROB_CONTINUE:
(*(spx_int32_t*)ptr) = MULT16_16_Q15(st->speech_prob_continue, 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)
{
::MessageBoxA(NULL, lisDebugCh, "Mumble", MB_OK | MB_ICONERROR);
firstDebug = 0;...
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
...6_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,*
>>> (spx_int32_t*)ptr), 100);
>>> break;
>>> case SPEEX_PREPROCESS_GET_PROB_CONTINUE:
>>> (*(spx_int32_t*)ptr) = MULT16_16_Q15(st-
>>>> speech_prob_continue, 100);
>>> _______________________________________________
>>> Speex-dev mailing list
>>> Speex-dev@xiph.org
>>> http://lists.xiph.org/mailman/listinfo/speex-dev
&...
2004 Aug 06
4
Memory leak in denoiser + a few questions
...(*(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_CONTINUE ;
+ break ;
+ break ;
+ case SPEEX_PREPROCESS_GET_PROB_CONTINUE:
+ (*(float*)ptr) = st->speech_prob_continue ;
+ break ;
+
default:
speex_warning_int("Unknown speex_preprocess_ctl request: ", request);
return -1;
Diff for file speex_preprocess.h, 1.1 -> 1.2
Index: speex_preprocess.h
====================================...
2006 Mar 02
0
Voice Activation Level (speex 1.1.11.1)
...articular, 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 forgotten the words volume or loudness.
> >...
2006 Mar 02
0
Voice Activation Level (speex 1.1.11.1)
...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.
> >
> > I forgotten the words volume or loudnes...
2006 Mar 03
0
Fw: Voice Activation Level (speex 1.1.11.1)
...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 forgotten the words volume or loudness.
> > But i...
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