HI
I would really appreciate it if you could give me some advice and help !
Recently I was using the RT595 development board and when I was using the SDK routines, I had a problem that the DSP was unable to decode my MP3 audio files.
And I use the SDK example is : evkmimxrt595_dsp_xaf_demo_cm33
And the Log is Follows:
>> file list
Available audio files:
Happy.mp3
Wild.mp3
Stay.mp3
>> file Stay.mp3
DSP file stopped, unsupported format.
[APP_DSP_IPC_Task] response from DSP, cmd: 12, error: 1
DSP file playback start failed! return error = 1
>> file Wild.mp3
[APP_DSP_IPC_Task] response from DSP, cmd: 12, error: 0
DSP file playback start
>> DSP file playback complete
Above, you can see, different music files, some can not decode successfully, I want to know why, by the way, my music files downloaded from QQ music app.
B&R
Eagan
Hi @jingpan
There seems to be a problem with the bit rate of the music file,
I tried to convert the bit rate of the MP3 file, and suddenly the song can play.
Regards,
Eagan
HI @eagan_yu ,
The DSP can't recognize/play the file due to metadata (song name, alburm, art, etc) at the front of the mp3 frame data. You can use M33 to parse the MP3 file and filter the data.
Regards,
Jing
Hi Jing
Thank for you reply.
I want to Know , do you mean to filter out the ID3V2 data ?
The MP3 file is divided into three parts: TAG_V2(ID3V2), Frame, and TAG_V1(ID3V1).
Hi,
Yes, I think so.
Regards,
Jing