Skip to main content
AlaaM
Associate III
February 20, 2019
Question

Playing MP3 files from flash

  • February 20, 2019
  • 1 reply
  • 894 views

Hi,

I want to play MP3 files that are located in an external flash.

Do I need to load the files to RAM for playing them, or can I play them directly from flash?

I'm asking because I might not have enough RAM for loading the whole file all at once.

Thanks in advance

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
February 20, 2019

The MP3 format contains packets of data, the decoder only requires on at a time. Data can be in RAM, or readable flash in the memory address space. You could also read the packets from a microSD card to RAM.​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..