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 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@usherbrooke.ca> To: "Lis" <lis@1234567890qwertzuiopasdfghjklyxcvbnm.de> Cc: <speex-dev@xiph.org> Sent: Thursday, March 02, 2006 2:35 AM Subject: Re: [Speex-dev] Voice Activation Level (speex 1.1.11.1)> Please define what you mean by "voice activation level". > > Jean-Marc > > 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 >> the >> sound level of a frame? >> >> Thanks for the advance. >> >> Lis (Louis Hoefler) >> _______________________________________________ >> Speex-dev mailing list >> Speex-dev@xiph.org >> http://lists.xiph.org/mailman/listinfo/speex-dev >
What you want is simply a loudness threshold-based detector. It's not very complicated to do, but there's nothing in Speex that currently does that (not that I think it's really useful in practice). Jean-Marc Le jeudi 02 mars 2006 ? 04:26 +0100, Lis a ?crit :> 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 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@usherbrooke.ca> > To: "Lis" <lis@1234567890qwertzuiopasdfghjklyxcvbnm.de> > Cc: <speex-dev@xiph.org> > Sent: Thursday, March 02, 2006 2:35 AM > Subject: Re: [Speex-dev] Voice Activation Level (speex 1.1.11.1) > > > > Please define what you mean by "voice activation level". > > > > Jean-Marc > > > > 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 > >> the > >> sound level of a frame? > >> > >> Thanks for the advance. > >> > >> Lis (Louis Hoefler) > >> _______________________________________________ > >> Speex-dev mailing list > >> Speex-dev@xiph.org > >> http://lists.xiph.org/mailman/listinfo/speex-dev > > > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev >
Hm and i cant simply set VAD to 1 and change a variable in the codecs? And whatfor is the speex_compute_vad() Thanx for help ----- Original Message ----- From: "Jean-Marc Valin" <Jean-Marc.Valin@USherbrooke.ca> To: "Lis" <lis@1234567890qwertzuiopasdfghjklyxcvbnm.de> Cc: <speex-dev@xiph.org> Sent: Thursday, March 02, 2006 2:51 PM Subject: Re: [Speex-dev] Voice Activation Level (speex 1.1.11.1) What you want is simply a loudness threshold-based detector. It's not very complicated to do, but there's nothing in Speex that currently does that (not that I think it's really useful in practice). Jean-Marc Le jeudi 02 mars 2006 ? 04:26 +0100, Lis a ?crit :> 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 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@usherbrooke.ca> > To: "Lis" <lis@1234567890qwertzuiopasdfghjklyxcvbnm.de> > Cc: <speex-dev@xiph.org> > Sent: Thursday, March 02, 2006 2:35 AM > Subject: Re: [Speex-dev] Voice Activation Level (speex 1.1.11.1) > > > > Please define what you mean by "voice activation level". > > > > Jean-Marc > > > > 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 > >> the > >> sound level of a frame? > >> > >> Thanks for the advance. > >> > >> Lis (Louis Hoefler) > >> _______________________________________________ > >> Speex-dev mailing list > >> Speex-dev@xiph.org > >> http://lists.xiph.org/mailman/listinfo/speex-dev > > > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev >
Lis, 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 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 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@usherbrooke.ca> > To: "Lis" <lis@1234567890qwertzuiopasdfghjklyxcvbnm.de> > Cc: <speex-dev@xiph.org> > Sent: Thursday, March 02, 2006 2:35 AM > Subject: Re: [Speex-dev] Voice Activation Level (speex 1.1.11.1) > > >> Please define what you mean by "voice activation level". >> >> Jean-Marc >> >> 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 >>> the >>> sound level of a frame? >>> >>> Thanks for the advance. >>> >>> Lis (Louis Hoefler) >>> _______________________________________________ >>> Speex-dev mailing list >>> Speex-dev@xiph.org >>> http://lists.xiph.org/mailman/listinfo/speex-dev >> >> > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev >