Record 2 audio simultaneously

I’m using a modified version of HAL microphone_array.cpp to record a series of audio segments. For some reason (That for brevity, I avoid to explain) the end of a segment need to be overlaid to the following one. In the corresponding parts, the audio are noisy just like when running malos and a program that uses the HAL at the same time.

There is a way to avoid this noise?

Hi @f.daniele,
Sorry about the late reply. Did you solved this? I have a couple of questions here:

  • Do you have this problem when just recording with the original microphone_array.cpp demo?
  • Can you share an audio file with the noise ?
  • Can you better explain the cahnges to the original microphone_array.cpp , maybe show some code.

Thanks

Yoel