Multiple Files On Flash Memory #166
-
Hi, Trying to find a way to call small WAV files from flash memory, something like; play->sample1.wav Is this possible? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Sure it should not be too difficult to have this implemented using the audio-tools. I suggest to use this example as starting point. Or you could use SPIFFS and just handle them as files. Or you could use my simple-tts library which actually does something similar based on the audio-tools: You just collect all WAV files into a dictionary and play them with the say command. Since the wav files are not compressed, I recommend to use mono and a low sampling rate to keep the files as small as possible. |
Beta Was this translation helpful? Give feedback.
Sure it should not be too difficult to have this implemented using the audio-tools. I suggest to use this example as starting point.
Or you could use SPIFFS and just handle them as files.
Or you could use my simple-tts library which actually does something similar based on the audio-tools: You just collect all WAV files into a dictionary and play them with the say command.
Since the wav files are not compressed, I recommend to use mono and a low sampling rate to keep the files as small as possible.