search for: loudness2

Displaying 17 results from an estimated 17 matches for "loudness2".

Did you mean: loudness
2005 Jun 22
1
Speech detection in preprocessor with echo
...are going to get picked up and detected as speech, but they usually won't be as loud as speech. By capping the AGC at the right level, it's possible to prevent the AGC from amplifying the wheel noises too much while still allowing it to do its job for the speech. I see now that st->loudness2 is also used in the VAD. Maybe this explains some problems I was having. :) I'll have to give the preprocessor's VAD another try now that I'm aware of this. So, do you think it's better to use st->loudness2 for both freezing and capping the AGC? Tom Jean-Marc Valin <Je...
2005 Jun 20
1
Speech detection in preprocessor with echo
...ing a specified level of amplification and 2) enable and disable adaptation, so I can freeze it at a certain level while speech is not detected. It's mostly just a matter of doing this at the end of speex_compute_agc(): if (!st->agc_frozen) { agc_gain = st->agc_level/st->loudness2; /*fprintf (stderr, "%f %f %f %f\n", active_bands, st->loudness, st->loudness2, agc_gain);*/ if (agc_gain>st->agc_max_gain) /* was 200 */ agc_gain = st->agc_max_gain; /* was 200*/ } else agc_gain = st->agc_gain; st->agc_gain = agc_gain; and...
2006 Mar 01
3
Voice Activation Level (speex 1.1.11.1)
...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 activation mode. If that isnt implementet yet it would enjoy me to get information about the preprocess->loudness2 for example, or a function (if the lib contains one) that returns a value whitch equals to the overall loudness of a frame. So i can do some simple interactions with users whitch doesnt want to yell in their microphone for talking something. Other ones got headsets that record their breathing and...
2004 Aug 06
1
Speex preprocess & loudness
Hi, Does someone know if I could use SpeexPreprocessState::loudness or SpeexPreprocessState::loudness2 to create a VU meter. And if so, how? <p>Thanks, Tom Moers --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org' containing only the word 'unsubsc...
2005 Jun 20
1
Speech detection in preprocessor with echo
...the members of the speex_preprocess structure, I see that during these long periods of "silence" (only the background music or only the other end talking while I shut up): - Zlast (which looks like a SNR variable) is at 0.05-0.2, but jumps up above 1.0 if I actually say something. - loudness2 keeps decreasing from the "normal" of ~6000 to 1000 or so, at which point the residual echo is amplified enough that it's clearly audible at the other end. If I say something, it adjusts. - speech_prob is at 0.999 or 1.000 as long as the other end talks. This is all with up-to-...
2007 May 03
3
iaxclient & speex
...eex has changed the SpeexPreprocessState to an opaque structure, for jolly good software engineering reasons. However, the Analogue AGC (AAGC) feature of iaxclient (in audio_enode.c) relies on some members of this. It uses speech_prob to detect when 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-cr...
2006 Mar 02
0
Voice Activation Level (speex 1.1.11.1)
...o 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 activation mode. > If that isnt implementet yet it would enjoy me > to get information about the preprocess->loudness2 > for example, or a function (if the lib contains one) > that returns a value whitch equals to the overall > loudness of a frame. > > So i can do some simple interactions with users > whitch doesnt want to yell in their microphone > for talking something. > Other ones got...
2007 May 03
0
Re: [Iaxclient-devel] iaxclient & speex
...SpeexPreprocessState to > an opaque structure, for jolly good software engineering reasons. > However, the Analogue AGC (AAGC) feature of iaxclient (in audio_enode.c) > relies on some members of this. It uses speech_prob to detect when > 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....
2006 Mar 01
2
Voice Activation Level (speex 1.1.11.1)
I havent had found anything in the documentation about voice activation levels. Does i can change a variable to change the accuracy for activations? If not does the speex lib already implement a function for read out the sound level of a frame? Thanks for the advance. Lis (Louis Hoefler) -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Mar 03
0
Fw: Voice Activation Level (speex 1.1.11.1)
...n change a >> variable that holds the sound intensity (loudness) >> needet to start "encoding >> sending" if the speex codec >> is in voice activation mode. >> If that isnt implementet yet it would enjoy me >> to get information about the preprocess->loudness2 >> for example, or a function (if the lib contains one) that returns a value >> whitch equals to the overall >> loudness of a frame. >> >> So i can do some simple interactions with users >> whitch doesnt want to yell in their microphone >> for talking some...
2006 Mar 02
0
Voice Activation Level (speex 1.1.11.1)
...nge a > > variable that holds the sound intensity (loudness) > > needet to start "encoding >> sending" if the speex codec > > is in voice activation mode. > > If that isnt implementet yet it would enjoy me > > to get information about the preprocess->loudness2 > > for example, or a function (if the lib contains one) that returns a > > value whitch equals to the overall > > loudness of a frame. > > > > So i can do some simple interactions with users > > whitch doesnt want to yell in their microphone > > for talki...
2006 Mar 02
0
Voice Activation Level (speex 1.1.11.1)
...ange a variable that holds=20 > > the sound intensity (loudness) needet to start "encoding >> sending" = > > if the speex codec is in voice activation mode. > > If that isnt implementet yet it would enjoy me to get information=20 > > about the preprocess->loudness2 for example, or a function (if the=20 > > lib contains one) that returns a value whitch equals to the overall=20 > > loudness of a frame. > > > > So i can do some simple interactions with users whitch doesnt want=20 > > to yell in their microphone for talking something...
2007 May 03
0
Re: [Iaxclient-devel] iaxclient & speex
...d != 0) && (iaxc_filters & IAXC_FILTER_AGC) && (iaxc_filters & IAXC_FILTER_AAGC) && (st->speech_prob > .20) ) { static int i; double level; i++; if((i&0x3f) == 0) { float loudness = st->loudness2; if((loudness > 8000) || (loudness < 4000)) { level = iaxc_input_level_get(); /* fprintf(stderr, "loudness = %f, level = %f\n", loudness, level); */ /* lower quickly if we're really too hot */ if((loudness > 16000)...
2006 Mar 03
0
Fw: Voice Activation Level (speex 1.1.11.1)
...i can change a variable that holds > > the sound intensity (loudness) needet to start "encoding >> sending" > > if the speex codec is in voice activation mode. > > If that isnt implementet yet it would enjoy me to get information > > about the preprocess->loudness2 for example, or a function (if the > > lib contains one) that returns a value whitch equals to the overall > > loudness of a frame. > > > > So i can do some simple interactions with users whitch doesnt want > > to yell in their microphone for talking something. > &g...
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 May 03
2
Re: [Iaxclient-devel] iaxclient & speex
> As you can tell, the AAGC integration with speex was really a classic > hack. Instead of re-creating the hack, what's probably best here is to > integrate AAGC back into speex, and have a proper API. Agreed here. If you can come up with a clean patch to add that feature, it's something I'd like to see in Speex. > For those of you just tuning in, what I call
2004 Aug 06
4
Memory leak in denoiser + a few questions
...gt;frame = (float*)speex_alloc(2*N*sizeof(float)); st->ps = (float*)speex_alloc(N*sizeof(float)); st->gain2 = (float*)speex_alloc(N*sizeof(float)); @@ -435,12 +438,19 @@ st->speech_prob = p0/(1e-25+p1+p0); /*fprintf (stderr, "%f %f %f ", tot_loudness, st->loudness2, st->speech_prob);*/ + /* decide if frame is speech using speech probability settings */ + /* if (st->speech_prob> .35 || (st->last_speech < 20 && st->speech_prob>.1)) */ - if (st->speech_prob> .20 || (st->last_speech < 20 && st->spee...