Skip to content

Latest commit

 

History

History
107 lines (90 loc) · 56.6 KB

README_CN.md

File metadata and controls

107 lines (90 loc) · 56.6 KB

例程

English Version

本文件夹中含有大量 ESP-ADF 简单示例项目,并且数量仍在不断增加。这些项目展示了 esp-adf 的基本功能,并提供代码示例,供您借鉴参考。

如果您是初次使用 esp-adf,请参考 入门指南 文档,了解使用例程的详细步骤。

ESP32 用法

  • 开始 CMake 编译
  • 请选择 release/v3.3 及以后的 IDF 分支进行 CMake 编译

ESP32-S2 用法

ESP32-S3 用法

ESP32-C3 用法

例程与乐鑫音频开发板的兼容性

下表介绍了各个例程与乐鑫音频开发板的兼容性,alt text 表示兼容,alt text 表示不兼容。

编号 例程名称 / 开发板名称 --> ESP32-LyraT ESP32-LyraTD-MSC ESP32-LyraT-Mini ESP32-Korvo-DU1906 1 ESP32-S2-Kaluga-1 Kit ESP32-S3-Korvo-2 ESP32-C3-Lyra
. 链接至开发板入门指南 --> alt text alt text alt text alt text alt text alt text alt text
. 板载乐鑫芯片 --> ESP32 ESP32 ESP32 ESP32 ESP32-S2 ESP32-S3 ESP32-C3
1 advanced_examples/algorithm alt text alt text alt text alt text alt text alt text alt text
2 advanced_examples/audio_mixer_tone alt text alt text alt text alt text alt text alt text alt text
3 advanced_examples/dlna alt text alt text alt text alt text alt text alt text alt text
4 advanced_examples/downmix_pipeline alt text alt text alt text alt text alt text alt text alt text
5 advanced_examples/flexible_pipeline alt text alt text alt text alt text alt text alt text alt text
6 advanced_examples/http_play_and_save_to_file alt text alt text alt text alt text alt text alt text alt text
7 advanced_examples/multi-room alt text alt text alt text alt text alt text alt text alt text
8 advanced_examples/nvs_dispatcher alt text alt text alt text alt text alt text alt text alt text
9 protocols/voip alt text alt text alt text alt text alt text alt text alt text
10 advanced_examples/wifi_bt_ble_coex 2 alt text alt text alt text alt text alt text alt text alt text
11 audio_processing/pipeline_alc alt text alt text alt text alt text alt text alt text alt text
12 audio_processing/pipeline_audio_forge alt text alt text alt text alt text alt text alt text alt text
13 audio_processing/pipeline_equalizer alt text alt text alt text alt text alt text alt text alt text
14 audio_processing/pipeline_passthru alt text alt text alt text alt text alt text alt text alt text
15 audio_processing/pipeline_resample alt text alt text alt text alt text alt text alt text alt text
16 audio_processing/pipeline_sonic alt text alt text alt text alt text alt text alt text alt text
17 audio_processing/pipeline_spiffs_amr_resample alt text alt text alt text alt text alt text alt text alt text
18 checks/check_board_buttons alt text alt text alt text alt text alt text alt text alt text
19 checks/check_display_led alt text alt text alt text alt text alt text alt text alt text
20 cli alt text alt text alt text alt text alt text alt text alt text
21 cloud_services/google_translate_device alt text alt text alt text alt text alt text alt text alt text
22 cloud_services/pipeline_aws_polly_mp3 alt text alt text alt text alt text alt text alt text alt text
23 cloud_services/pipeline_baidu_speech_mp3 alt text alt text alt text alt text alt text alt text alt text
24 dueros alt text alt text alt text alt text alt text alt text alt text
25 get-started/pipeline_a2dp_sink_and_hfp alt text alt text alt text alt text alt text alt text alt text
26 get-started/play_mp3_control alt text alt text alt text alt text alt text alt text alt text
27 get-started/pipeline_tcp_client alt text alt text alt text alt text alt text alt text alt text
28 ota alt text alt text alt text alt text alt text alt text alt text
29 korvo_du1906 2 alt text alt text alt text alt text alt text alt text alt text
30 player/pipeline_a2dp_sink_stream alt text alt text alt text alt text alt text alt text alt text
31 player/pipeline_a2dp_source_stream alt text alt text alt text alt text alt text alt text alt text
32 player/pipeline_bt_sink alt text alt text alt text alt text alt text alt text alt text
33 player/pipeline_bt_source alt text alt text alt text alt text alt text alt text alt text
34 player/pipeline_embed_flash_tone alt text alt text alt text alt text alt text alt text alt text
35 player/pipeline_flash_tone 3 alt text alt text alt text alt text alt text alt text alt text
36 player/pipeline_hfp_stream alt text alt text alt text alt text alt text alt text alt text
37 player/pipeline_http_mp3 3 alt text alt text alt text alt text alt text alt text alt text
38 player/pipeline_http_select_decoder alt text alt text alt text alt text alt text alt text alt text
39 player/pipeline_living_stream 3 alt text alt text alt text alt text alt text alt text alt text
40 player/pipeline_play_sdcard_music alt text alt text alt text alt text alt text alt text alt text
41 player/pipeline_sdcard_mp3_control alt text alt text alt text alt text alt text alt text alt text
42 player/pipeline_tts_stream alt text alt text alt text alt text alt text alt text alt text
43 player/pipeline_spiffs_mp3 3 alt text alt text alt text alt text alt text alt text alt text
44 player/pipeline_play_mp3_with_dac_or_pwm alt text alt text alt text alt text alt text alt text alt text
45 recorder/element_cb_sdcard_amr alt text alt text alt text alt text alt text alt text alt text
46 recorder/element_wav_amr_sdcard alt text alt text alt text alt text alt text alt text alt text
47 recorder/pipeline_raw_http alt text alt text alt text alt text alt text alt text alt text
48 recorder/pipeline_wav_amr_sdcard alt text alt text alt text alt text alt text alt text alt text
49 recorder/pipeline_recording_to_sdcard alt text alt text alt text alt text alt text alt text alt text
50 speech_recognition/wwe alt text alt text alt text alt text alt text alt text alt text
51 speech_recognition/vad alt text alt text alt text alt text alt text alt text alt text
52 system/battery alt text alt text alt text alt text alt text alt text alt text
53 system/coredump alt text alt text alt text alt text alt text alt text alt text
54 system/wpa2_enterprise alt text alt text alt text alt text alt text alt text alt text
55 display/lcd_jpeg alt text alt text alt text alt text alt text alt text alt text
56 display/music_player alt text alt text alt text alt text alt text alt text alt text
57 display/lcd_camera alt text alt text alt text alt text alt text alt text alt text
58 display/led_pixels alt text alt text alt text alt text alt text alt text alt text
59 recoder/av_muxer_sdcard alt text alt text alt text alt text alt text alt text alt text
60 protocols/rtmp alt text alt text alt text alt text alt text alt text alt text
61 protocols/esp-rtc alt text alt text alt text alt text alt text alt text alt text
62 protocols/esp-rtsp alt text alt text alt text alt text alt text alt text alt text

Note 1: ESP32-Korvo-DU1906 开发板的按键布局与其他官方语音开发板略有不同,没有定义 RECMODEPLAY 键,所以需要这些键操作的例程可能无法正常运行。
Note 2: 本例程涉及 Wi-Fi、A2DP、HFP、Bluetooth LE 共存,推荐使用优化共存的 IDF 分支:audio/stack_on_psram_v3.3
Note 3: 若使用 ESP32-C3-Lyra 开发板运行这些例程, 则需要在$IDF_PATH目录下应用$ADF_PATH/idf_patches/idf_v4.4_i2s_c3_pdm_tx.patch以获得PDM支持。