Displaying 8 results from an estimated 8 matches for "speexpreprocessstate_".
Did you mean:
speexpreprocessstate
2007 Sep 17
1
Possible fixed point overflow/div 0 preprocess.c
...tive enough to save everyone
some time.
If I'm off with this one please forgive me, but it has fixed my issues.
I am not
sure whether it is just my compiler (gcc 3.3.5) doing the wrong thing
with the cast.
File: preprocess.c
Arch affected: x86, (others?)
svn revision: 12778
Description:
The SpeexPreprocessState_ member 'nb_adapt' is a signed integer.
nb_adapt is only
modified during 'speex_preprocess_run' when an unbounded increment is
performed. When
calculating 'beta' within 'speex_preprocess_run', I received a floating
point exception
even when compiled with -DFIXED_POINT...
2008 Feb 15
3
Voice activity detection
...r);
but how do I know if the frame contained voice? I tried
if (preprocess_state->was_voice == 1)
{
...Do voice present code...
}
But the compiler complains that was_voice is not defined, which, I
assume, comes from the fact that preprocess_state is declared in
speech_preprocess.h as struct SpeexPreprocessState_;
How do I check the preprocessor for the presence of voice in a frame?
Thanks,
Evgueni
2008 Feb 17
1
Voice activity detection
...voice? I tried
>
> if (preprocess_state->was_voice == 1)
> {
> ...Do voice present code...
> }
>
> But the compiler complains that was_voice is not defined, which, I
> assume, comes from the fact that preprocess_state is declared in
> speech_preprocess.h as struct SpeexPreprocessState_;
>
> How do I check the preprocessor for the presence of voice in a frame?
>
> Thanks,
>
> Evgueni
>
>
> _______________________________________________
> Speex-dev mailing list
> Speex-dev@xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev
>
&...
2007 May 03
3
iaxclient & speex
...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 present in the new SpeexPreprocessState_ structure anyway.
I was able to re-create the speech_prob member by setting it from Pframe
before speex_preprocess_run returns, and I've used agc_gain as the basis
for adjusting the mixer (i.e. if agc_gain is high, the input is low, so
turn the mixer up and v.v.). This appears to be effective....
2008 Jan 07
2
Problem related to Voice activity detection
hi guys,
i am trying to develop an application having a capability to detect voice activity in voice stream and then record only portion of this stream which contains the activity. i went through these steps.
1. Captured voice through Waveform Functions of Windows Multimedia API
2. Started Speex Preprocessing liberary
3. Turned on preprocessor by calling speex_preprocess_state_init and
2007 May 03
0
Re: [Iaxclient-devel] iaxclient & speex
...ech 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 present in the new SpeexPreprocessState_ structure anyway.
> I was able to re-create the speech_prob member by setting it from Pframe
> before speex_preprocess_run returns, and I've used agc_gain as the basis
> for adjusting the mixer (i.e. if agc_gain is high, the input is low, so
> turn the mixer up and v.v.). This appe...
2013 May 22
0
Library without malloc
...ex_preprocess_state_init has lots of pointers that are initialize with static inline void *speex_alloc (int size). So I am trying to convert all this pointers into arrays but it is getting messy trying to found out how big they need to be, and not sure if it will work. And it is not only the struct SpeexPreprocessState_ that has lots of pointers there are other structures with pointers too. So I am trying to replace this pointers with arrays.
This is what I am doing but not sure if it is correct:
spx_word16_t *frame;
converted to:
spx_word16_t frame[2*N];
st-> frame = (spx_word16_t *)speex_alloc(2*N*sizeof(s...
2013 May 22
0
Library without malloc
...ex_preprocess_state_init has lots of pointers that are initialize with static inline void *speex_alloc (int size). So I am trying to convert all this pointers into arrays but it is getting messy trying to found out how big they need to be, and not sure if it will work. And it is not only the struct SpeexPreprocessState_ that has lots of pointers there are other structures with pointers too. So I am trying to replace this pointers with arrays.
This is what I am doing but not sure if it is correct:
spx_word16_t *frame;
converted to:
spx_word16_t frame[2*N];
st-> frame = (spx_word16_t *)speex_alloc(2*N*sizeof(s...