Skip to main content
MKiss.1
Associate II
May 3, 2021
Question

Why does AcousticSL always return the same angle independent of the data?

  • May 3, 2021
  • 0 replies
  • 752 views

Hello, I'm trying to get Acoustic_SL running to detect the sound location with two INMP441 MEMS microphones. Unluckily, Acoustic_SL does only return two angles {-87, 88} independent of the processed PCM values. May anyone have an idea of what might go wrong? Note: I extracted the important code snipped from a larger C++ project to post it on the forum.

Angle estimates independent of the actual sound source.

0693W00000ANDZ5QAP.pngSome defines and the compression function. The compression throws away some of the MSB bits to gain sensitivity.

0693W00000ANDZUQA5.pngDMA callbacks.

0693W00000ANDZZQA5.pngMain application.

0693W00000ANDZjQAP.png 

Example of compressed samples with alternating L/R channel.

0693W00000ANDhxQAH.png

This topic has been closed for replies.