MP3 programming

Moderators: Sephiroth
Number of threads: 182
Number of posts: 407

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
losing all tags Posted by fineware on 28 May 2006 at 11:06 AM
I am looking for a simple piece of code that will allow me to extract everything EXCEPT the tags. In otherwords, I want to either read into memory or create a file that has none of the tags. I can detect whether it has either type 1 or type 2 tags, and I understand that the type 1 tag is at the end and is something like 127 bytes if present. While the type 2 tag is at the front but is a varying length.

So, TAG2 & data & TAG1... right?

All I want is 'data' from the middle.


Report
Re: losing all tags Posted by Mojojojo on 4 Sept 2006 at 2:47 AM
: I am looking for a simple piece of code that will allow me to extract everything EXCEPT the tags. In otherwords, I want to either read into memory or create a file that has none of the tags. I can detect whether it has either type 1 or type 2 tags, and I understand that the type 1 tag is at the end and is something like 127 bytes if present. While the type 2 tag is at the front but is a varying length.
:
: So, TAG2 & data & TAG1... right?
:
: All I want is 'data' from the middle.
:
:
:

I think you can search for the frames and copy them. Search for the sync bits in the frame header should do the trick.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.