Skip to content

Espressif Audio Development Framework with added support for the generic ESP32 Audio KIt boards with es8388 codec IC and the first AI-Thinker-Audio boards with ac101 codec IC.

License

UncleGrumpy/esp-adf-AudioKit-boards

 
 

Repository files navigation

Espressif Audio Development Framework

Documentation Status

Espressif Systems Audio Development Framework (ESP-ADF) is the official audio development framework for the ESP32, ESP32-S2 and ESP32-S3 SoCs.

Note: The "main" branch of this fork is based off of ESP-ADF v2.4 with the addition of support for the ESP32 Audio Kit v2.2 boards (with es8388 codec) and the older AI Thinker Audio boards with the ac101 codec. The board are nearly impossible to tell apart, if you bought it after mid-to-late 2020 you can be almost certain it has the es8388, if it has an all black antenna it does for sure. The ac1010 codec were used for a limited number of the early AI Thinker Audio boards, these are also labeled v2.2 but have shiny copper traces on the antenna. The ac101 became unavailable and was replaced by the es8388 for the majority of these board. Unless you know for sure your board uses the ac101 you best bet is to try the ESP32-Audio-Kit v2.2 board in menuconfig->Audio Hal->Audio board first, if you get a codec failure error and have copper traces on you v2.2 board then you can select ESP32-AiThinker-Audio in menuconfig.

menuconfig->Audio Hal->Audio board

Overview

ESP-ADF supports development of audio applications for the Espressif Systems SoCs in the most comprehensive way. With ESP-ADF, you can easily add features, develop audio applications from simple to complex:

  • Music player or recorder supports audio formats such as MP3, AAC, FLAC, WAV, OGG, OPUS, AMR, TS, EQ, Downmixer, Sonic, ALC, G.711 and etc.
  • Play music from sources: HTTP, HLS (HTTP Live Streaming), SPIFFS, SDCARD, A2DP-Source, A2DP-Sink, HFP and etc.
  • Integrate Media services such as: DLNA, VoIP and etc.
  • Internet Radio
  • Voice recognition and integration with online services such as Alexa, DuerOS and etc.

As a general, the ESP-ADF features will be supported as shown below:

ADF Block Diagram

Developing with the ESP-ADF

IDF Version

The following table shows the ESP-IDF versions supported by ESP-ADF at the current time. The lable alt text means supported, and the lable alt text means not supported.

The ESP-IDF master branch is marked as not supported because the major feature changes it has introduced may cause conflicts with ESP-ADF. Yet, the ADF examples not affected by those feature changes can still run correctly on the IDF master branch.

End of Life IDF branches are marked as not supported, such as ESP-IDF Release/v4.0. See IDF Supported Periods for details.

ESP-IDF
Release/v3.3
ESP-IDF
Release/v4.0
ESP-IDF
Release/v4.1
ESP-IDF
Release/v4.2
ESP-IDF
Release/v4.3
ESP-IDF
Release/v4.4
ESP-IDF
Master
ESP-ADF
Master
alt text alt text alt text alt text alt text alt text alt text
ESP-ADF
Release/v2.4
alt text alt text alt text alt text alt text alt text 1 alt text
ESP-ADF
Release/v2.3
alt text alt text alt text alt text alt text alt text alt text

Note 1: The built-in IDF branch of ESP-ADF v2.4 is IDF Release/v4.4 at the current time.

Quick Start

You need one of ESP-IDF versions described in ESP-ADF Releases, one of audio boards below and headphones.

Note: If this is your first exposure to ESP-IDF, proceed to Getting Started documentation specific for ESP32, ESP32-S2, or ESP32-S3 SoCs.

Click on one of audio boards shown below to set up and start using ESP-ADF.

Hardware

Espressif Systems has released a number of boards for ESP-ADF to develop audio applications. Click the links below to learn more information on each board.

It is recommended to use the ESP-ADF master branch, as it has the latest bugfixes and the new features.

ESP32-LyraT ESP32-LyraTD-MSC ESP32-LyraT-Mini ESP32-Korvo-DU1906 ESP32-S2-Kaluga-1 Kit ESP32-S3-Korvo-2
ESP32-LyraT Development Board ESP32-LyraTD-MSC Development Board ESP32-LyraT-Mini Development Board ESP32-Korvo-DU1906 Development Board ESP32-LyraT-Mini Development Board ESP32-S3-Korvo-2 Development Board
ESP-ADF Master alt text alt text alt text alt text alt text alt text
ESP-ADF Release/v2.4 alt text alt text alt text alt text alt text alt text
ESP-ADF Release/v2.3 alt text alt text alt text alt text alt text alt text

Examples

Check folder examples that contains sample applications to demonstrate API features of the ESP-ADF.

Resources

About

Espressif Audio Development Framework with added support for the generic ESP32 Audio KIt boards with es8388 codec IC and the first AI-Thinker-Audio boards with ac101 codec IC.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 97.2%
  • Python 1.2%
  • Other 1.6%