Microphone, Fourier transformation- how to bypass sampling rate problem?

1Pats___
Posts: 13
Joined: Sun Mar 16, 2025 1:38 pm

Microphone, Fourier transformation- how to bypass sampling rate problem?

Postby 1Pats___ » Sun Mar 23, 2025 9:12 am

Considering some project that uses spectrum analysis- microphone, Fourier transformation... One of the conditions- the sampling frequency should be 40000 hz or more. Most ESP32s can produce about half of it (cannot perform analogRead(Microphone-pin) call faster) Not clear how to interpret results in this case. Are they incorrect or correct partially? At the same time, I saw quite a lot of examples of Arduinos or non-specific ESP32s. They are working...
One of the solutions is to use I2C with an I2C-capable microphone, but I am not able to find clear instructions, or sample code on how to do it. I am using Arduino IDE- which means the presence of adapted libraries etc. At the moment I do not have i2c microphone. Is it a dead end in this case? Can you point me to smth useful?

Who is online

Users browsing this forum: No registered users and 1 guest