Page 1 of 1

Looking for suggestion for MP3 decoder

Posted: Sun Jun 16, 2024 6:14 pm
by DevenduDevarajan
I need to read a MP3 file from a SD Card, to decode it using firmware and to send it via I2S to an amplifier.
Using some Espressif librairies, I managed to initialise the SDCard and to read an MP3 file on it.
Now I need to find a MP3 decoder to decode the MP3 file. I have tested with minimp3 decoder library from GitHub (https://github.com/lieff/minimp3/tree/master). I am experiencing significant memory issues by using the library .I am looking forward for any other mp3 decoder library that can be implemented in ESP IDF. I have seen an useful library that is used in Arduino IDE https://github.com/schreibfaul1/ESP32-audioI2S .I am looking for similar library that can be used in IDF and I am not preferring ADF framework.
Looking for expertise in audio decoders suitable for embedded applications to help with an issue I am currently facing. Any assistance from the community would be greatly appreciated.

Re: Looking for suggestion for MP3 decoder

Posted: Tue Jun 18, 2024 3:46 am
by username
I know your looking for a software solution. Have you considered using something like the VS1063 ?

Re: Looking for suggestion for MP3 decoder

Posted: Tue Jun 18, 2024 11:03 am
by Franco
Have you looked at the Espressif Audio Development Framework? All decoders are available there, including MP3
https://github.com/espressif/esp-adf

Re: Looking for suggestion for MP3 decoder

Posted: Tue Jun 18, 2024 2:05 pm
by Linetkux Wang
You need fixed point decoder which is for MCU without hardware float.
Maybe this: https://github.com/liuduanfei/helix
or this: https://github.com/ultraembedded/libhelix-mp3