Search found 39 matches
- Mon Aug 14, 2023 6:15 am
- Forum: ESP-ADF
- Topic: Play multiple audio in a row
- Replies: 2
- Views: 32904
Re: Play multiple audio in a row
It is quite easy, if all files are of same type: audio type is same, audio sample rate and bits are same. You can check example: https://github.com/espressif/esp-adf/blob/master/examples/get-started/play_mp3_control/main/play_mp3_control_example.c, after file play to end, auto read next file. If fil...
- Fri Aug 11, 2023 2:13 am
- Forum: ESP-ADF 中文讨论版
- Topic: ESP32 audio kit怎麼分辨是甚麼audio codec
- Replies: 1
- Views: 21647
Re: ESP32 audio kit怎麼分辨是甚麼audio codec
简单一点你可以扫描I2C总线,简单点就是从 0-7F的地址里面读取一个字节的东西看对端有没有回应
每个Codec对应的I2C都只有特定的地址
每个Codec对应的I2C都只有特定的地址
- Fri Aug 11, 2023 2:09 am
- Forum: ESP-ADF
- Topic: ESP-ADF的方法似乎过旧了
- Replies: 2
- Views: 12285
Re: ESP-ADF的方法似乎过旧了
可以看下你的ADF的版本,最新的版本默认应该是可以编译过的在IDF5.1上面
你可以手动打开下面的选项
Component config --> FreeRTOS --> Kernel
configENABLE_BACKWARD_COMPATIABILITY
你可以手动打开下面的选项
Component config --> FreeRTOS --> Kernel
configENABLE_BACKWARD_COMPATIABILITY
- Fri Aug 11, 2023 2:01 am
- Forum: ESP-ADF
- Topic: ESP ADF and IDF in one Project
- Replies: 2
- Views: 10449
Re: ESP ADF and IDF in one Project
If you already have a used IDF version which is compatiable with current ADF(4.4-5.1).
You do not need to use the IDF project in ADF submodules, you can use the IDF you already has, it also works well.
You do not need to use the IDF project in ADF submodules, you can use the IDF you already has, it also works well.
- Fri Jul 14, 2023 11:12 am
- Forum: ESP-ADF
- Topic: LyraTmini v1.2 help with simple passthru code
- Replies: 4
- Views: 7855
Re: LyraTmini v1.2 help with simple passthru code
to use 24bits you need set mclk_multiple to be 384 as notes of IDF
* @note Please set the mclk_multiple to I2S_MCLK_MULTIPLE_384 while using 24 bits data width
* Otherwise the sample rate might be imprecise since the bclk division is not a integer
* @note Please set the mclk_multiple to I2S_MCLK_MULTIPLE_384 while using 24 bits data width
* Otherwise the sample rate might be imprecise since the bclk division is not a integer
- Fri Jul 14, 2023 11:03 am
- Forum: ESP-ADF
- Topic: audio capture / transmission capabilities vs esp chip range
- Replies: 1
- Views: 6126
Re: audio capture / transmission capabilities vs esp chip range
Record use ADC is possible, but the quality is not guaranteed, you can take S2 for example, you need implement your own element to build up the whole pipeline You need get data in timer interrupt instead of use normal task https://www.toptal.com/embedded/esp32-audio-sampling https://docs.espressif.c...
- Tue Jul 11, 2023 11:47 am
- Forum: ESP-ADF 中文讨论版
- Topic: 有關es8388的開發問題
- Replies: 3
- Views: 7445
Re: 有關es8388的開發問題
通常除了硬件连接以外,软件上也是要配置的
8388通过i2c进行寄存器设定
可以重点关注下 ES8388_MASTERMODE 看设定设否正确
https://gitee.com/EspressifSystems/esp- ... 388.c#L283
8388通过i2c进行寄存器设定
可以重点关注下 ES8388_MASTERMODE 看设定设否正确
https://gitee.com/EspressifSystems/esp- ... 388.c#L283
- Tue Jul 11, 2023 11:37 am
- Forum: General Discussion
- Topic: Esp32 UDP voice receive
- Replies: 4
- Views: 2105
Re: Esp32 UDP voice receive
If you are using customized protocol. First you need decide which voice data format to trasmit, raw pcm data or encoded data aac etc. Then add a simple protocol header to avoid data parse wrong. If use encoded data, you need find decoder to decode it out then send the pcm data to codec to output. If...
- Tue Jul 04, 2023 3:57 am
- Forum: ESP-ADF
- Topic: List for adf and esp-idf versions?
- Replies: 2
- Views: 7135
Re: List for adf and esp-idf versions?
Is this what you need ?
https://github.com/espressif/esp-adf#idf-version
https://github.com/espressif/esp-adf#idf-version
- Thu Jun 29, 2023 8:33 am
- Forum: ESP-ADF
- Topic: LyraTmini v1.2 help with simple passthru code
- Replies: 4
- Views: 7855
Re: LyraTmini v1.2 help with simple passthru code
If you want to play record sound directly. Make sure the format for play and record i2s setting is same. Lyat mini use I2S 1 to record and i2s 0 to play, make sure the port setting is correct also. You can let both i2s use default setting and only change the port define for record and play to check ...