MP3 playback problem - possible ID3 related

Designing hardware and software for systems that use the VS1010 MP3 Audio DSP Microcontroller.
regh
Senior User
Posts: 39
Joined: Thu 2020-11-05 13:50

Re: MP3 playback problem - possible ID3 related

Post by regh »

Hi Henrik

Are there any limitations to this patch - are there any articular files (e.g. maximum upper limit for album artwork size) that this won't work for? Are there any other tags/headers that won't be played by the VS1010?

Thanks,
Reg
User avatar
Henrik
VLSI Staff
Posts: 1209
Joined: Tue 2010-06-22 14:10

Re: MP3 playback problem - possible ID3 related

Post by Henrik »

Hello Reg,

regh wrote: Thu 2021-03-11 12:44 Are there any limitations to this patch - are there any articular files (e.g. maximum upper limit for album artwork size) that this won't work for? Are there any other tags/headers that won't be played by the VS1010?
There is no specific upper limit to how large an ID3v2 header this patch can skip. In all simplicity, the patch recognizes the ID3v2 header, then looks for its size, which is a 28-bit number (so ID2V2 headers have a theoretical upper size limit of 256 MiB), then seeks past it, and starts the normal decoding process, whether the actual file data is in MP3 or WAV format

I am not aware of any other headers that people would put ahead of MP3 file data. Tags (i.e. things that are put after MP3 file data) are not an issue, exactly because they are tags: they are encountered only after (successfully) decoding all valid MP3 data.

Kind regards,
- Henrik
Good signatures never die. They just fade away.
Post Reply