MP3 DECODING INTO NATIVE FILE.

Hi Engineers, 

I am developing an MP3 player for which I need help to convert mp3 files available in SD card into native file and to transmit through i2s to the DAC.

I tried playing .WAV formatted file, it is able to play but still have some glitches and tick sounds with it.

However the .WAV is very large in size so i want to use mp3 files. 

Before sending into DAC the mp3 file has to be converted to uncompressed form.

Please help me, suggest me how to do it.

Thanks.

Parents
  • Big uncompressed wav files should not be a problem - SD cards can be 256GB and bigger. Some buffering required, SD card read time can be surprisingly long.

    The NRF52840 is a bit too slow for real time MP3 decompression - have not tried the NRF5340 yet.

    But on the 600 MHZ Teensy 4.x it took roughly 50% CPU time to decompress a high quality MP3 file from SD card.

Reply
  • Big uncompressed wav files should not be a problem - SD cards can be 256GB and bigger. Some buffering required, SD card read time can be surprisingly long.

    The NRF52840 is a bit too slow for real time MP3 decompression - have not tried the NRF5340 yet.

    But on the 600 MHZ Teensy 4.x it took roughly 50% CPU time to decompress a high quality MP3 file from SD card.

Children
Related