Search found 9 matches

by Emanuel Martins
Fri Apr 08, 2022 2:29 pm
Forum: ESP-ADF
Topic: I cannot play "mp4" and "m4a" files
Replies: 3
Views: 5509

Re: I cannot play "mp4" and "m4a" files

My code has several differences from the example "pipeline_sdcard_mp3_control": - It reads USB pens instead of SD cards - It reads mp3, aac and wav files, instead of only mp3 files - It used a I2S DAC instead of a codec IC The behavior is similar if I apply a mp3 decoder in a wav file. Error is simi...
by Emanuel Martins
Tue Mar 29, 2022 3:32 pm
Forum: ESP-ADF
Topic: I cannot play "mp4" and "m4a" files
Replies: 3
Views: 5509

I cannot play "mp4" and "m4a" files

I am using a code altered by me from example pipeline_sdcard_mp3_control (https://github.com/espressif/esp-adf/tree/master/examples/player/pipeline_sdcard_mp3_control) and from example cli (https://github.com/espressif/esp-adf/tree/master/examples/cli) with changes to work with USB (form example msc...
by Emanuel Martins
Fri Mar 18, 2022 5:30 pm
Forum: ESP-ADF
Topic: Get artist a music name from MP3 file
Replies: 0
Views: 2781

Get artist a music name from MP3 file

While playing music using pipeline of audio decoding of ESP-ADF I need to get information about the mp3 music that is paying. Example of code: https://github.com/espressif/esp-adf/tree/master/examples/player/pipeline_http_select_decoder It is not clear for me that ESP-ADP libraries can easily read t...
by Emanuel Martins
Mon Mar 07, 2022 4:40 pm
Forum: ESP-IDF
Topic: Example "msc": crash HUB: Short device descriptor transfer failed
Replies: 12
Views: 8282

Re: Example "msc": crash HUB: Short device descriptor transfer failed

I invested my time with ADF examples I needed to try.
I retried to compile msc example from the master branch ESP-IDF v4.4.
Now the example compiles and runs correctly.

I have no explanation. Problem aparently solved.
by Emanuel Martins
Wed Mar 02, 2022 3:52 pm
Forum: ESP-IDF
Topic: Example "msc": crash HUB: Short device descriptor transfer failed
Replies: 12
Views: 8282

Re: Example "msc": crash HUB: Short device descriptor transfer failed

I redeleted the git folder and copied the original v4.4 that I made a backup "just in case". My salvation!!!! My ESP32 code now compiles again. "msc" example became more condemned because now has new errors. Miss of files in v4.4 ... what an example. I'll return to this problem again in a few days. ...
by Emanuel Martins
Wed Mar 02, 2022 1:56 pm
Forum: ESP-IDF
Topic: Example "msc": crash HUB: Short device descriptor transfer failed
Replies: 12
Views: 8282

Re: Example "msc": crash HUB: Short device descriptor transfer failed

Hi ESP_Dazz. I've had a lot of problems installing the IDE. I started with VSCode + ESP-IDF for ESP32 (suggested on internet). The first uses were ok and I could develop for sometime, waiting the ESP-PROG arrival (12 days later). I had difficulty putting ESP-PROG to debug and I went to the net and i...
by Emanuel Martins
Wed Mar 02, 2022 10:23 am
Forum: ESP-IDF
Topic: Example "msc": crash HUB: Short device descriptor transfer failed
Replies: 12
Views: 8282

Re: Example "msc": crash HUB: Short device descriptor transfer failed

Thank you again @ESP_Dazz I've followed your suggestion. ESP-IDF now seems updated. I do not have yet experience with git, only svn. Unfortunately, the msc example still does not compile because of a Python error: ... File "C:/Users/emartins/ESP-IDF/tools/ldgen/ldgen.py", line 16, in <module> from l...
by Emanuel Martins
Mon Feb 28, 2022 3:01 pm
Forum: ESP-IDF
Topic: Example "msc": crash HUB: Short device descriptor transfer failed
Replies: 12
Views: 8282

Re: Example "msc": crash HUB: Short device descriptor transfer failed

First, thank you @ESP_Dazz. I changed the folder of the msc example by the newest one. Now there are errors because the example uses newer libraries. For example "usb_host.h" has struct "usb_host_config_t" that is different from the stable "ESP-IDF v4.4". So I replaced the full "esp-idf" folder with...
by Emanuel Martins
Mon Feb 28, 2022 12:00 pm
Forum: ESP-IDF
Topic: Example "msc": crash HUB: Short device descriptor transfer failed
Replies: 12
Views: 8282

Example "msc": crash HUB: Short device descriptor transfer failed

When monitoring the example msc in an ESP32-S3, ESP32-32-DEVKITC-1 with ESP32-S3-WROOM-1- N8R8 ( .espressif\frameworks\esp-idf-v4.4\examples\peripherals\usb\host\msc ) the program gives an error during Monitor: ... I (0) cpu_start: Starting scheduler on APP CPU. I (362) example: Waiting for USB stic...