How do I setup a pipeline that would take either fatfs or http stream?
Similar to what esp_audio does?
I would use esp_audio, but for some reason, my mp3 files get the first second or so cut off. It starts playing them at about 1 second. I couldn't figure out why, so I went with pipeline directly.
The problem is that I want to stream both fatfs and http.
Do I need to create two different pipelines?
fatfs and http stream on the same pipeline
Re: fatfs and http stream on the same pipeline
Hi,
Very recently an example was added that does exactly this:
(Flexible Pipeline Example)[https://github.com/espressif/esp-adf/tr ... e_pipeline]
I have also noticed that if I call audio_element_set_uri on a fatfs stream that is paused, the file_pos is retained and it will continue playing in the middle of the new file. Perhaps this is what is happening with your missing 1 second?
Very recently an example was added that does exactly this:
(Flexible Pipeline Example)[https://github.com/espressif/esp-adf/tr ... e_pipeline]
I have also noticed that if I call audio_element_set_uri on a fatfs stream that is paused, the file_pos is retained and it will continue playing in the middle of the new file. Perhaps this is what is happening with your missing 1 second?
Re: fatfs and http stream on the same pipeline
Hi newHobby
I was wondering if you succeeded in using 2 pipelines at the same time ?
I'd like to record audio as follow :
- ADC -> I2S -> WAV ENCODER -> (SDCARD FILE + HTTP UPLOAD)
Thanks for anything you can share.
Jerome
I was wondering if you succeeded in using 2 pipelines at the same time ?
I'd like to record audio as follow :
- ADC -> I2S -> WAV ENCODER -> (SDCARD FILE + HTTP UPLOAD)
Thanks for anything you can share.
Jerome
Who is online
Users browsing this forum: No registered users and 45 guests