Hello,
I am trying to find acoustic round-trip latency of Android smartphones. I have using the technique of where I play a beep and listen to it through the phone and then perform convolution and get time index where we get the peak value.
Issues:
Here the issue is that when we play our beep, the AEC and NS of Android smartphones cancel and attenuate the beep and it cant be seen in recorded data.
Background & Relevant Information:
Most of the applications that measure acoustic latency such as the OboeTester app etc. use VOICE_RECOGNITION (https://developer.android.com/reference/android/media/MediaRecorder.AudioSource#VOICE_RECOGNITION) mode. In this mode, no DSP is performed and we get raw data. But this excludes the latency of DSP algorithms performed by the built-in components.
What I want:
I want to find the round trip latency using VOICE_COMMUNICATION mode. In this mode, all components of AEC, AGC, and NS are activated. But this cancels our beep and we can't get accurate results.
Is there any want to find latency while AEC and NS are working. Looking forward for the solution.
Regards,
Khubaib