https://github.com/debsahu/esp32_fft_audio_leds
FFT on ESP32 and using MSGEQ7 to process audio signals
https://github.com/debsahu/esp32_fft_audio_leds
audio esp32 fft ws2812b
Last synced: 2 months ago
JSON representation
FFT on ESP32 and using MSGEQ7 to process audio signals
- Host: GitHub
- URL: https://github.com/debsahu/esp32_fft_audio_leds
- Owner: debsahu
- License: mit
- Created: 2019-03-04T21:32:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-11T17:32:38.000Z (almost 6 years ago)
- Last Synced: 2025-04-12T01:18:06.051Z (2 months ago)
- Topics: audio, esp32, fft, ws2812b
- Language: C++
- Homepage: https://www.youtube.com/watch?v=8YaeUYZ_Ex8
- Size: 2.06 MB
- Stars: 63
- Watchers: 7
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ESP32 Fast Fourier Transform of Audio & WS2812B mapping
[](https://opensource.org/licenses/MIT) [](https://github.com/debsahu/ESP32_FFT_Audio_LEDs/commits/master)
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](https://github.com/G6EJD/ESP32-8266-Audio-Spectrum-Display) by [**@G6EJD**](https://github.com/G6EJD))
- Or use MSGEQ7 chip to get the same data
- Display frequency bands on LEDs as bars[](https://www.youtube.com/watch?v=8YaeUYZ_Ex8)
## Libraries Needed
[Software FFT platformio.ini](https://github.com/debsahu/ESP32_FFT_Audio_LEDs/blob/master/microphone_esp8266_fft/platformio.ini) and [Hardware FFT platformio.ini](https://github.com/debsahu/ESP32_FFT_Audio_LEDs/blob/master/microphone_esp8266_msgeq7/platformio.ini) is included, use [PlatformIO](https://platformio.org/platformio-ide) 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 |## Known Limitations
- 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## Wiring

