Forums - Audio Latency (Mic to Speaker)

3 posts / 0 new
Last post
Audio Latency (Mic to Speaker)
ralcock
Join Date: 20 Nov 13
Posts: 2
Posted: Mon, 2014-03-10 09:43

I am assessing the feasibility of implementing some ambient noise cancellation algorithms on the Hexagon DSP. I've studied the documentation for the APPI and CAPI wrappers and looked at the passthrough and gain examples. It all looks simple enough.

A couple of things concern me.

1. I've read the case study about MuseAmi who were able to reduce the latency to "60ms on the Hexagon DSP". Unfortunately this more than 1000 times slower than we would like. (Three other platforms we have targeted achieve less than 40us.)

2. The prototype of the appi "process" function includes a 'appi_buflist_t' structure with a field contining the buffer length. I can't see a mechanism to set the length to 1 (and hence reduce the buffering latency).

These things make me think that the APPI and CAPI might not be the right place to implement ambient noise cancellation. Should I be looking elsewhere for very low latency performance?

Has anyone measured the latency from the analog microphone input to analog speaker output via an APPI module? (I'm assuming that all the evaluation boards use the same qualcomm codec.)

Thanks in advance,

Rob

 

  • Up0
  • Down0
ralcock
Join Date: 20 Nov 13
Posts: 2
Posted: Mon, 2014-03-24 02:45

After doing a little research it has become clear that some manufacturers using the Snapdragon platform have substituted the standard Qualcomm codec (WDC9310) with a Wolfson codec. The Wolfson codec (which has public datasheets) has noise cancellation filters built in. This architecture eliminates the latency associated with transferring (and buffering) the data to the DSP.

Does the Qualcom codec have similar capabilities?

Are there any public datasheets for the Qualcomm WCD9310?

Will I get the data sheets if I buy one of the Qualcomm development boards?

Thanks again,

Rob

  • Up0
  • Down0
swaroop
Join Date: 28 Oct 15
Posts: 7
Posted: Wed, 2015-11-25 17:00

Hello ralcock,

I am also trying to analyze the delay from the analog microphone input to speaker output. Have you tried this? I am unable to push the code on to the target.

Thanks

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.