[speex-dev] Kindly help me with VAD activation

Jean-Marc Valin Jean-Marc.Valin at USherbrooke.ca
Sun May 16 14:51:57 PDT 2004

Two things:

1) VAD is not perfect, don't expect too much of it
2) Try with the real speexenc/speexdec before saying something doesn't


Le sam 15/05/2004 à 09:36, Abhishek Parakh a écrit :
> Hello.
> I have generated a dll out of speex-1.1.4 using VC++6. I did not want all the
> ogg/wave header in the encoded stream. So I have replaced to codes of
> speexenc/dec with that of sampleenc/dec from the manual. Thus now the dll
> accepts the raw input, encodes it and returns the encoded data.
> I also pass on nbBytes for each frame encoded to the decoder and no other
> information. 
> I intialise the encoder in wb mode, put VAD on in encoder using
> speex_encoder_ctl. And also set all the other parameters such as quality,
> comp, etc. In the decoder I found only two controls, one for mode and other
> for speech enhancement. Thus I set those.
> Now when I compile and run this dll with a test program. Every thing seems to
> be working fine but VAD is not coming ON. Why is it so? Also I have noticed a
> peculiar behavior that when I blow into the mike, VAD comes on. No matter how
> loudly I blow into it, however with no speech and complete silence VAD does
> not work.
> Kindly, help with this. I have been trying to correct it since a long time now
> and still have no idea about the problem. I hav tried various machines and
> sound cards already.
> - Abhishek
> --- >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 at xiph.org'
> containing only the word 'unsubscribe' in the body.  No subject is needed.
> Unsubscribe messages sent to the list will be ignored/filtered.

Jean-Marc Valin
Université de Sherbrooke, Québec, Canada

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Ceci est une partie de message numériquement signée.
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20040516/eac90590/signature-0001.pgp

More information about the Speex-dev mailing list