I want to get mic data to localize where the sound source is and move the RC car to the source.
In demos, there is mic_demo which gets 8 mic data to array. But the frequency is so fast that RC car can’t
use it. So I decrease sampling frequency changing to
but the code didn’t work. I think the code is integrating the power, so when the frequency goes down, integration range is larger and the code always print out 8 or 9.
How to get mic data slowly? How to speed down the code?
The sound data from the mics is recorded at 16KHz, Not sure what you meant by ‘decrease sample frequency’. Did you tried to record audio with a different sample frequency? Can you elaborate on you test or share some code ?