Search found 4 matches

by audiophil
Thu Apr 09, 2020 5:14 pm
Forum: ESP-ADF
Topic: loop from flash
Replies: 6
Views: 9914

Re: loop from flash

Thank you, Yes, it's indeed strange that no log ouput is generated from that file. Do I need to setup the logging somehow? I tested another example and it seems like no LOG output is sent to the serial monitor from other files than the "main" c file. I don't think that the generation of audio-esp fa...
by audiophil
Tue Apr 07, 2020 5:49 pm
Forum: ESP-ADF
Topic: loop from flash
Replies: 6
Views: 9914

Re: loop from flash

Changes I made in play_tone_mp3_example.c: line 19: #include "mp3_decoder.h" to #include "wav_decoder.h" line 23-27: #if __has_include("audio_tone_uri.h") #include "audio_tone_uri.h" #else #error "please refer the README, and then make the tone file" #endif to #include "audio_tone_uri.h" because #if...
by audiophil
Sat Apr 04, 2020 7:21 pm
Forum: ESP-ADF
Topic: loop from flash
Replies: 6
Views: 9914

Re: loop from flash

Thank you very much, David, your answer worked for looping an mp3 file from flash. Unfortunately, it does not work to seamlessly loop the file. I tried to modify the example to work with a wav file and wav decoder. But the same code plays the wav file only once and produces the following output: I (...
by audiophil
Thu Apr 02, 2020 2:44 pm
Forum: ESP-ADF
Topic: loop from flash
Replies: 6
Views: 9914

loop from flash

I am trying to seamlessly loop a tone from flash. I started from play_tone_mp3_example but I cannot get the tone to loop. I made my own version of tone_stream.c and tried to reset the byte postition in the read function. But whatever I do, the stream stops after all bytes have been played. How can I...