cancel
Showing results for 
Search instead for 
Did you mean: 

Helix MP3 fails to decode audio at 44.1 kHz (OK at 48kHz)

Maxime3
Associate

Hello,

I try to decode MP3 files from SD card using I2S and DMA. It works fine with a sampling rate of 48 kHz, but it fails when using 44.1 kHz.

Specifically, the MP3Decode() function fails to decode the audio at 44.1 kHz.

I have checked the clock configuration and the I2S peripheral settings, but I can’t figure out what causes the failure.

(I use STM32F407vgt6)

Could you please help me understand what might be wrong or how to properly handle 44.1 kHz decoding in this setup?

If someone is interested i can send you the code.

Thank you in advance for your support!

2 REPLIES 2
Saket_Om
ST Employee

Hello @Maxime3 

What "issues", exactly, do you encounter?

What tests/investigations/debugging have you done to find out what's going on?

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Saket_Om
Andrew Neil
Super User

Are you talking about this: https://github.com/liuduanfei/helix ?

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.