how to play .wav file using Read first 6 charactor in file Name ?????

charnjit

Well-known member
i am playing .wav files using "TeensyVariablePlayback" library
Files are stored on my SD card are like this
xxx forum1.png

in this form i am unable to see what sound in in which fille
if i placed flies in this form
xxx forum2.png

can Teensy play .wav file using read first 6 charactor from file name ang play quicky.
as Read
Code:
001_05
only
from file name
Code:
001_05  96 x Trikit.wav
ignore 7th char and others.

i hope you understand what i am thinking.

how many charactors (maximum lenth) can be a .wav file name. ???

thank you
 
I am sorry, this post in your view list.
Perhaps, I am failed to show, what is in my mind about audio library.
 
Detecting the first 6 characters in the file name is independent of the audio library

Use a regex to read/display the first 6 characters.
Define in your logic if it should be played or not based on a match.
 
Back
Top