Search found 3 matches

by water117
Fri Dec 14, 2018 10:14 am
Forum: ESP-ADF
Topic: Getting raw audio Samples
Replies: 5
Views: 13849

Re: Getting raw audio Samples

Use i2s_stream_reader as example. i2s_stream_reader = i2s_stream_init(&i2s_cfg_read); audio_element_set_write_cb(i2s_stream_reader, i2s_input_write_cb, NULL); audio_pipeline_link(pipeline, (const char *[]) {"i2s_read"}, 1); short pcm_fft[128]; int pcm_wptr=0; // You can get pcm data in write callbac...
by water117
Fri Dec 14, 2018 9:50 am
Forum: ESP-ADF
Topic: ESP32-LYRATD-MSC Playing Tune form Micro SDCard
Replies: 1
Views: 4548

Re: ESP32-LYRATD-MSC Playing Tune form Micro SDCard

I think you can refer to the "cli" example.
/esp-adf/examples/cli

The "cli" sample code don't support ESP32-LyraTD currently.
But you can refer to esp-adf/examples/get-started/play_mp3 and porting the ZL38063 and replace the ES8388.

https://github.com/espressif/esp-adf/tr ... amples/cli
by water117
Fri Dec 14, 2018 9:36 am
Forum: ESP-ADF
Topic: ESP32-LyraTD SDK and examples
Replies: 2
Views: 5600

Re: ESP32-LyraTD SDK and examples

Some of examples already supported ESP32-LyraTD in the latest version.
Such as examples/get-started/play_mp3
make menuconfig
Audio HAL --> Audio board --> ESP32-LyraTD-MSC V2.1 or V2.2 (Please check your version under the board).