@@ -19,29 +19,33 @@ void setup() {
1919 // Set volume
2020 g_audio.setVolume (18 );
2121
22- /* The file name/path for the function playFileByName() is the full path of the audio file to be played
23- * in format which looks like a special unix 8+3 format:
22+ /* The file name/path for the function playFileByName() is the
23+ * full path of the audio file to be played in format which looks like
24+ * a special unix 8+3 format:
2425 * - Without the dot for the file extension
2526 * - All characters in upper case
26- * - Every file and folder whose length is shorter then 8 chars must be filled up to the 8 chars length by spaces.
27+ * - maximal 8 characters
28+ * - Every file and folder whose name length is shorter then 8 chars
29+ * must be filled up to the 8 chars length by spaces.
30+ * - must end with WAV or MP3
2731 * - Only WAV and MP3 files are supported
28- * Wildcards * (=multiple arbitrary characters) and ? (=one single arbitrary character) are allowed and can be used to reduce filling spaces.
32+ * - Wildcards
33+ * * (=multiple arbitrary characters) and
34+ * ? (=one single arbitrary character)
35+ * are allowed and can be used to reduce filling spaces.
2936 *
3037 * Valid examples:
31- * - "/01 WAV" for file 01.wav
32- * - "/99-AFR~1MP3" for a file /99-Africa.mp3
33- * - "/99-AFR*MP3" for first file matching /99-Afr*.mp3
34- * - "/10*" for first audio file matching /10*.*
38+ * - "/01 WAV" for file '/01.wav'
39+ * - "/99-AFR~1MP3" for a file '/99-Africa.mp3'
40+ * - "/SUN*MP3" for first* file matching /sun*.mp3, for example '/sun.mp3'
41+ * - "/99-AFR*MP3" for first file matching '/99-Afr*.mp3'
42+ * - "/10*" for first* audio file matching /10*.*
3543 * - "/10 /20 WAV" for the file /10/20.wav
44+ * - first* in this order for example:
45+ * sun0.mp3 sun.mp3 sun1.mp3
3646 *
37- * You can get example files from https://github.com/codingABI/DFR0534/tree/main/assets/exampleContent
38- *
39- * Valid examples:
40- * "/01 WAV" for file 01.wav
41- * "/99-AFR~1MP3" for a file /99-Africa.mp3
42- * "/99-AFR*MP3" for first file matching /99-Afr*.mp3
43- * "/10*" for first audio file matching /10*.*
44- * "/10 /20 WAV" for the file /10/20.wav
47+ * You can get example files from
48+ * https://github.com/codingABI/DFR0534/tree/main/assets/exampleContent
4549 */
4650
4751 // Play the file "test.wav"
0 commit comments