[speex-dev] silent frame detection

Jean-Marc Valin jean-marc.valin at hermes.usherb.ca
Mon May 12 15:06:49 PDT 2003


If I understand your question correctly, you can use the return value of
speex_encode: 1 normally, 0 when you don't need to transmit the frame
(i.e. non-speech).

        Jean-Marc

Le lun 12/05/2003 à 17:37, Tongbiao Li a écrit :
> Hi all again,
> 
>  
> 
> Thanks for the response to my previous question, Jean-Marc.  It was of
> great help.
> 
>  
> 
> Now another problem I encountered:
> 
> How do I detect that comfort noise is being sent out (I have VAD, DTX
> on)?  I could not find an API function for it, so tried frame rate. 
> For nb, it gives 2950-3950 for silence, however it seems to also give
> low number sometimes even for speech periods.  I am wondering if this
> is a property that can be queried ?
> 
>  
> 
> Thank you,
> 
>  
> 
> Tongbiao
> 
>  

-- 
Jean-Marc Valin, M.Sc.A.
LABORIUS (http://www.gel.usherb.ca/laborius)
Université de Sherbrooke, Québec, Canada

<p>
-------------- 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/20030512/79f13164/signature-0001.pgp


More information about the Speex-dev mailing list