Fw: [Speex-dev] Voice Activation Level (speex 126.96.36.199)
lis at 1234567890qwertzuiopasdfghjklyxcvbnm.de
Fri Mar 3 02:45:16 PST 2006
I done it
/*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;
g.s.VADstart = 0.90f;
f.s.VADcontin = 0.90f;
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 is workin.
Tanks for your help, thanks for your time.
----- Original Message -----
From: "Steve Kann" <stevek at stevek.com>
To: "Lis" <lis at 1234567890qwertzuiopasdfghjklyxcvbnm.de>
Cc: <speex-dev at xiph.org>
Sent: Thursday, March 02, 2006 3:33 PM
Subject: Re: [Speex-dev] Voice Activation Level (speex 188.8.131.52)
> The Voice Activity Detection (VAD) algorithm in the speex preprocessor
> does not work simply by detecting the energy level (volume or loudness) in
> the audio frames, but it uses a more 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
> #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.
> Lis wrote:
>> 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 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 anyone can listen to.
>> This is not funny the whole day...
>> Greets Lis
>> ----- Original Message ----- From: "Jean-Marc Valin"
>> <jean-marc.valin at usherbrooke.ca>
>> To: "Lis" <lis at 1234567890qwertzuiopasdfghjklyxcvbnm.de>
>> Cc: <speex-dev at xiph.org>
>> Sent: Thursday, March 02, 2006 2:35 AM
>> Subject: Re: [Speex-dev] Voice Activation Level (speex 184.108.40.206)
>>> Please define what you mean by "voice activation level".
>>> On Thu, 2006-03-02 at 02:22 +0100, Lis wrote:
>>>> 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
>>>> sound level of a frame?
>>>> Thanks for the advance.
>>>> Lis (Louis Hoefler)
>>>> Speex-dev mailing list
>>>> Speex-dev at xiph.org
>> Speex-dev mailing list
>> Speex-dev at xiph.org
More information about the Speex-dev