Chapter 3. application solution
3.4.8 Can ESP-DSP t run 4096, 8192 and more samples?
• Yes, up to 32 K samples are supported. The maximum number can be congured in menucong, e.g., for t
demo, go to idf.py menuconfig-->Component config-->DSP Library-->Maximum FFT
length-->(*)32768.
3.4.9 How to connect a microphone with ESP32?
• You can connect I2S peripheral if it is a digital microphone.
• You can connect ADC peripheral if it is an analog microphone.
3.4.10 Does ESP32 support analog audio output or digital audio output?
• ESP32 supports DAC analog audio output for simple outputs such as tones. But if you use it for music playing,
the eect will not be so desirable.
• ESP32 supports PWM analog audio output, which has slightly better eect than DAC. The demo code is at
esp-iot-solution.
• ESP32 also supports I2S digital audio output. For I2S congurable pins, please see ESP32 Datasheet > Chapter
Peripherals and Sensors.
3.4.11 What audio formats does the ESP32 chip support?
The ESP32 chip supports audio formats such as MP3, AAC, FLAC, WAV, OGG, OPUS, AMR, G.711,
etc. Please refer to the ESP-ADF SDK for instructions.
3.4.12 How to use the ESP32 chip to decode compressed audio?
• Application examples that use the ESP32 chip to decode compressed audio can be found under the esp-
adf/examples/recorder folder.
3.4.13 Where is the code example for ESP-LED-Strip?
• Code examples for ESP-LED-Strip are provided in the ESP-ADF repo, please refer to led_pixels example.
3.4.14 Does ESP32 support online voice recognition?
• Yes. Please refer to esp-adf/examples/dueros.
3.5 BLE Mesh development framework
Espressif Systems 27
Submit Document Feedback
Release master