Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: iTunes MP3 Gapless (Read 7712 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

iTunes MP3 Gapless

I tried doing a search on the forum and didn't have much luck.

Does anyone know where iTunes stores it's gapless information for MP3 files.  Do they use tags, or is it stored in the iTunes database?

If it does use tags, do you know the name of these custom tags?



Re: iTunes MP3 Gapless

Reply #3
Upon further Googling, I have learned that the iTunSMBP tag is actually a hex value and that website was wrong.  Is there any advantage of disadvantage to iTunes implementation vs what LAME does?

Re: iTunes MP3 Gapless

Reply #4
http://joelverhagen.com/blog/2010/12/how-itunes-uses-id3-tags/

The iTunSMBP tag, which was in the Rockbox code snipet you linked to has a 0 or 1 value to let you know if it's part of a gapless album.  Is that all that's really needed to make something gapless?

It is actually two numbers, one of which is the number of samples to remove at the end, and the other the beginning.  Take a look at the rockbox parser I posted above. 

Upon further Googling, I have learned that the iTunSMBP tag is actually a hex value and that website was wrong.

Not too surprising given the what the link says:  '"iTunSMPB". I don't know what this field means.'

Is there any advantage of disadvantage to iTunes implementation vs what LAME does?

They're effectively equivalent.  The rockbox parser just loads the same information from whichever location includes it.


Re: iTunes MP3 Gapless

Reply #5
The counts are similar to LAME's format.

The decoder delay of 529 must be subtracted from the padding field before removing its count from the end of the file.

Re: iTunes MP3 Gapless

Reply #6
Thank you everyone for educating me.