Multiple MemoryStream objects #572
-
Is there an example of handling multiple MemoryStream objects? In my project, I would like to cycle through a series of clips when the user presses a button. I am looking at |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Two thoughts that might help
¨ |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick response, Phil, As I'm learning the system, I think the most appropriate approach is to store the small MP3 files on SPIFFS. Since I'm not using I2S, I've modified the example to sink to analog.
Three mp3 files have been uploaded to the filesystem and the audiotools info messages indicate they are being seen; however there is a timeout, which makes me think they are not read properly. Here is what I believe to be the relevant info/warning messages:
Does the timeout suggest that the mp3 is not being read properly or has the incorrect format? |
Beta Was this translation helpful? Give feedback.
-
What happens when you put the files into a subdirectory ? The two slashes at the beginning might cause some issues... |
Beta Was this translation helpful? Give feedback.
-
Moving the files to a subdirectory and then referencing that directory with |
Beta Was this translation helpful? Give feedback.
Two thoughts that might help
¨