Looking for suggestion for MP3 decoder

DevenduDevarajan
Posts: 1
Joined: Sun Jun 16, 2024 5:49 pm

Looking for suggestion for MP3 decoder

Postby DevenduDevarajan » Sun Jun 16, 2024 6:14 pm

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.

username
Posts: 507
Joined: Thu May 03, 2018 1:18 pm

Re: Looking for suggestion for MP3 decoder

Postby username » Tue Jun 18, 2024 3:46 am

I know your looking for a software solution. Have you considered using something like the VS1063 ?

Franco
Posts: 104
Joined: Thu Dec 10, 2015 1:11 pm

Re: Looking for suggestion for MP3 decoder

Postby Franco » Tue Jun 18, 2024 11:03 am

Have you looked at the Espressif Audio Development Framework? All decoders are available there, including MP3
https://github.com/espressif/esp-adf

Linetkux Wang
Posts: 9
Joined: Sun Jun 16, 2024 2:25 pm

Re: Looking for suggestion for MP3 decoder

Postby Linetkux Wang » Tue Jun 18, 2024 2:05 pm

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

Who is online

Users browsing this forum: No registered users and 255 guests