audio-dsp-patterns

Configure ESP32-S3 I2S audio input and generate LED patterns from FFT analysis.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/synqing/PRISM_unified --skill audio-dsp-patterns
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: audio-dsp-patterns
Source: https://github.com/synqing/PRISM_unified/tree/main/.claude/skills/audio-dsp-patterns
Command: npx skills add https://github.com/synqing/PRISM_unified --skill audio-dsp-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Real-time audio analysis and LED pattern generation on ESP32-S3 for audio-reactive visuals.

Core Features & Use Cases

  • I2S audio input configuration: PDM or analog input at 44.1 kHz.
  • FFT analysis with CMSIS-DSP: 256-point FFT, magnitude spectrum, windowing.
  • Feature extraction & beat detection: Bass/mid/treble energy, dominant frequency, beat events.
  • LED pattern generation: Drive LEDs in sync with audio.

Quick Start

Configure the ESP32-S3 I2S input and run the FFT-based analysis to drive LED patterns in real-time. For example, feed 44.1 kHz audio and map bass to low-resolution LEDs.

Frequently Asked Questions about audio-dsp-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up real-time audio analysis on ESP32-S3 with I2S input?▼

Real-time audio analysis on ESP32-S3 requires configuring I2S/PDM microphone input at 44.1 kHz sampling rate via ESP-IDF, then processing audio frames through a 256-point FFT using CMSIS-DSP to extract spectral features and drive synchronized outputs.

What's the best way to extract beat detection from audio using FFT on a microcontroller?▼

Beat detection uses FFT magnitude spectrum to compute bass/mid/treble energy bands, then applies adaptive thresholding to identify beat events. Dominant frequency estimation and energy tracking distinguish beats from ambient noise in real-time DSP pipelines.

Can I drive LED patterns synchronized with audio on ESP32-S3?▼

Yes. Extract audio features—bass energy, dominant frequency, and beat events—from FFT analysis, then map those features to LED color and intensity values. The ESP-IDF I2S pipeline delivers 16-bit PCM input that normalizes to float for Hamming-windowed FFT processing.

What are the real-time constraints for audio DSP on embedded systems?▼

Real-time DSP requires meeting strict latency budgets: 44.1 kHz sampling with 256-point FFT creates fixed processing deadlines. CMSIS-DSP optimizations and efficient magnitude spectrum computation prevent audio buffer underruns and maintain synchronized LED output.

Do I need CMSIS-DSP for FFT on ESP32-S3, or are there alternatives?▼

CMSIS-DSP is the ARM-optimized standard for embedded FFT on ESP32-S3. It provides 256-point transforms with Hamming windowing and magnitude spectrum computation tuned for microcontroller performance; alternatives exist but CMSIS-DSP is the established choice for this architecture.