Closed JuriShalkin closed 4 years ago
Hello and thanks for your feedback.
Do you mean the captureSoundSample() code would need revision or could it be a clumsy adc setting in the setup() causing that?
Sorry, this is my mistake. I did not use your code, but this code https://github.com/G6EJD/ESP32-8266-Audio-Spectrum-Display
@JuriShalkin have you tried this one? it uses separate tasks for analogRead and TFT rendering
Hello! It seems to me that reading data from the ADC does not work correctly: the reading frequency does not match the declared sampling frequency. I use an audio signal to evaluate the correct operation and get a peak frequency half that of the actual signal frequency. I took the initial ADC data from the array vReal and did the Fourier transform in the MS Excel and got the same result.