The footnote from the DFPlayer Mini Wiki only tells a portion of the requirements for the sound files. This was my biggest frustration in my projects when I wanted specific files to play. I followed the directions to a tee from suggestions on the forum about proper timestamps in order of sequence, but still, the files were one off. Instead of playing 0001.mp3, I would get 0002.mp3.
Here’s what I had to do:
When creating your files on the computer, put them into a separate subfolder and name them one by one as described in sequence four digits then .mp3 such as 0001.mp3, 0002.mp3, 0003.mp3, 0004.mp3 and so on for as many files as you want. you can add a description after the digits if you like to identify them easier.
Copy or Move them one-by-one to the micro sd card starting with 0001.mp3 and so forth till you have all the files for your project.
I did this on a Windows computer, I do not know if this is necessary on a Mac. Apparently when you bulk transfer files to an sd card, windows somehow changes the order of the files even if you have the correct numbering and timestamp of creation in the correct order. It puts the last clip first then starts at the beginning. When I wanted to play 0001.mp3, 000x.mp3 would play, the very last clip. This took me a long time to figure out how to do it properly since there was no help on any forum at the time. Hope this saves you some time and frustration.
Another Issue You May Encounter
The popping of the speaker when you first apply power is nearly impossible to eliminate. I noticed this on my computer speakers as well, when we loose power and then the power is restored, I can hear a loud pop and Hum in the subwoofer of the system. I assume this is something one has to deal with.
In later sketches with the DPlayer PRO, I had to set the volume in SetUp() at zero, then in the Loop set to the desired volume again to eliminate a similar issue. Have not tried this trick with the Mini as yet! It’s worth a try…