Hello, I am trying to use the DTX feature of speex to tell if the user is speaking. I have VBR, DTX and VAD turned on, but the function speex_encode always returns a non-zero value. It is my understanding that it should return a zero value when the encoder detects silence? Could anyone give me any clues to help figure out why this isn't working for me? I am using the 1.13 version of speex on x86 (windows) platform. Sean Riley. --- >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 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
> I am trying to use the DTX feature of speex to tell if the user is > speaking. I have VBR, DTX and VAD turned on, but the function > speex_encode always returns a non-zero value. It is my understanding > that it should return a zero value when the encoder detects silence? > > Could anyone give me any clues to help figure out why this isn't working > for me? I am using the 1.13 version of speex on x86 (windows) platform.Off the top of my head here are a couple things to check: 1) Try with 1.0.3 and see if it makes a difference (1.1.3 is experimental) 2) Try feeding it silence (pure zeros) and see if DTX triggers 3) You may want to use the 1.1.x preprocessor which has a better (but separate) VAD Jean-Marc -- Jean-Marc Valin, M.Sc.A., ing. jr. LABORIUS (http://www.gel.usherb.ca/laborius) 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/20031210/fc739783/signature-0001.pgp
Sean, You probably want to use the speex_preprocess API in order to use the VAD available inside of the preprocessor. The VAD inside the encoder will probably not give you the results you want, and if it did, I don't think it tells you (what it chooses). -SteveK <p>Sean Riley wrote:>Hello, > >I am trying to use the DTX feature of speex to tell if the user is >speaking. I have VBR, DTX and VAD turned on, but the function >speex_encode always returns a non-zero value. It is my understanding >that it should return a zero value when the encoder detects silence? > >Could anyone give me any clues to help figure out why this isn't working >for me? I am using the 1.13 version of speex on x86 (windows) platform. > >Sean Riley. > >--- >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 'unsubscribe' in the body. No subject is needed. >Unsubscribe messages sent to the list will be ignored/filtered. > > >--- >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 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.