Here we use ESP32 microcontroller to analyze real-time audio signals
- Real-time FFT to get frequencies (99% of code from ESP32-8266-Audio-Spectrum-Display Project by @G6EJD)
- Or use MSGEQ7 chip to get the same data
- Display frequency bands on LEDs as bars
Software FFT platformio.ini and Hardware FFT platformio.ini is included, use PlatformIO and it will take care of installing the following libraries.
Library | Link |
---|---|
arduinoFFT | https://github.com/kosme/arduinoFFT |
WS2812FX | https://github.com/kitesurfer1404/WS2812FX |
MD_MSGEQ7 | https://github.com/debsahu/MD_MSGEQ7 |
- Sampling frequency must be high
- Sampling time should not interfere with other WiFi functions
- FFT calculations are CPU intensive
- Frequency binning needs to be done manually