Arm Mbed OS support forum

Play a wav file from an SD card

Hello,

I am trying to play a wav file from an SD card. I use Landtiger Board, the communication between the microcontroller LPC1768 and the SD card runs through the SPI interface. I managed to open a file with the help of Fat32 library and read the contents of the file, but now I want to play it. could you please help me which steps should i take now or is there maybe an example.
thank you

Hi Raul,

Here is a tutorial regarding USB WAV player example, hope this could give you a good reference.

Regards,
Desmond