ESP-ADF Pre-release v2.0-beta1
Pre-release
Pre-release
Below is the release information of ESP-ADF v2.0-beta1 and its documentation is available here.
Known Issue
- Some TS formats are not supported.
Major New Features
ESP Dispatcher
ESP_Dispatcher provides a design structure that improves function reusability of existing products and shortens development cycle of new products.
New features of ESP Dispatcher Framework:
- Separate application events and actions
- Support ESP dispatcher
- Support audio service class
- Support peripheral service class
- Support independent Display, DuerOS, Player, Recorder and Wi-Fi actions
Service Framework
New Features
- Input key service
- Support ADC, GPIO and Touch key
- Display service
- Support LEDC display pattern
- Support LED array display pattern
- DuerOS service
- Support LightDuer v3.0.7
- Wi-Fi service
- Support Wi-Fi setting by Smartconfig
- Support Wi-Fi setting by AirKiss
ESP Peripherals
New Features
esp_peripheralsis divided into two parts:esp_periph_setandperipheral handle- Add GPIO ISR to peripherals libraries
- Add ADC button to peripherals libraries
Peripherals
New Features
- LEDC
- Add a new display pattern
- LED Bar
- Add a new display pattern
Pipeline Framework
New Features
- Support event callback
- Add
audio_element_set_output_ringbuf_sizeAPI - Add
audio_element_wait_for_stop_msAPI - Add
audio_element_set_event_callbackAPI - Add a new element state:
AEL_STATUS_STATE_FINISHED - Add
audio_pipeline_change_stateAPI - Add
audio_pipeline_relink_moreAPI - Add
rb_unblock_readerAPI - Adjust
audio_hal
Bugfix
- Fixed pipeline relink failure
- Fixed ringbuffer blocking issue occurred when read size or write size is larger than the size of ringbuffer
Audio Stream
New Features
- Support ALC in I2S stream
- Add more
audio_typechecks in HTTP stream - Support two-level m3u8 parsing in HTTP stream
Bugfix
- Fixed HTTP stream parsing and insertion issue in relative URIs
- Changed HTTP stream from
strduptoaudio_strdupto optimize RAM - Changed RAW API from
raw_stream_read(char *buffer, int buf_size)toraw_stream_read(audio_element_handle_t pipeline, char *buffer, int buf_size)
ESP Speech Recognition (SR) Libraries
New Feature
- Support WakeNet5
ESP Codec and Filter Libraries
You can find the released codec and filter libraries here.
New Features
- Add ALC libraries to adjust volume
- Optimize OPUS encoder on mono
- Optimize
HC_AACspeed - Add setting APIs for downmix and equalizer
Bugfix
- Fixed the crash of WAV stream (its bit width is not 16)
- Corrected the complexity level of resample to 5
ESP Recorder
New Features
- Select specific functionality to lower binary size
- Support WWE disable
- Support customized task priority
ESP Audio
New Features
- Add
media_source_typeAPI - Add
playing info get/setAPI - Add
esp_audio_sync_playAPI - Support memory-preferred mode and speed-preferred mode
- Support events callback
- Improve playback response time
- Remove HAL handle, replaced by callback function API
Bugfix
- Fixed raw URI failure
Audio Protocol
- Support 2.0 SIP protocol
- Support 2.0 RTP protocol
- Support RFC4566-based SDP
- Support servers: FreePBX, Yate Server and Freeswitch
Codec IC
ESP-ADF newly provides support for the following Codec ICs:
- ES8311
- ES7243
Support New Development Board
- Support ESP32-LyraT mini v1.1
New Examples of ESP-ADF
Below are the added examples that demonstrate the usage of ESP-ADF components:
examples/audio_processing/pipeline_alcexamples/recorder/element_cb_sdcard_amrexamples/recorder/pipeline_opus_sdcardexamples/advanced_examples/esp_dispatcher_duerosexamples/advanced_examples/record_while_playexamples/advanced_examples/voip
Get This Release
We use git submodules, therefore, the source files attached to this version will not work.
Using git commands here to obtain ESP-ADF v2.0-beta1 is highly recommended.
git clone https://github.com/espressif/esp-adf.git esp-adf-v2.0-beta1
cd esp-adf-v2.0-beta1/
git checkout v2.0-beta1
git submodule update --init --recursiveTo get the programming guide for Audio Development Framework, please tap here.