playing mp3 from sd card ?

If doesn't fit into any other category ....
Post Reply
User avatar
PANNO
Posts: 115
Joined: Thu Feb 25, 2021 4:03 am
Has thanked: 125 times
Been thanked: 26 times

playing mp3 from sd card ?

Post by PANNO »

hi
is it possoble to play an mp3 from an sd card (esp32).
thx
User avatar
PeterN
Posts: 372
Joined: Mon Feb 08, 2021 7:56 pm
Location: Krefeld, Germany
Has thanked: 176 times
Been thanked: 212 times
Contact:

Re: playing mp3 from sd card ?

Post by PeterN »

Playing from SD-card with FAT32 is no problem if you obey that the internal filesystem is completely replaced by the SD-card.
The card is not mounted at a branch of the file system.
So ALL your files/programs are (must be) then at the SD-card and the system starts from this file system if a SD was found

I thought there was a hint at this fact in the help file, but could not find it now at the first look.

[Local Link Removed for Guests]
User avatar
cicciocb
Site Admin
Posts: 1963
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 422 times
Been thanked: 1309 times
Contact:

Re: playing mp3 from sd card ?

Post by cicciocb »

Hi,
something is specified in the introduction chapter :

Annex32 can use the internal flash disk space, or an external SD card.
The internal and the external (SDcard) space are mutually exclusive and cannot be accessed at the same time.
By default Annex32 will use the SD, if available, otherwise it will use the internal flash disk space (FATFS).
Both use the same type file system (FAT32), enabling the use of long file names and directories.
Depending on the module flash memory size (4, 8 or 16MB), the internal disk space can be from ~1MB to 13MB.
Post Reply