2.0

2.0 | 1 rating Rate this file 146 downloads (last 30 days) File Size: 17.56 KB File ID: #7809

id3parse

by Tom Gaudette

 

07 Jun 2005 (Updated 10 Jun 2005)

No BSD License  

Read meta-data about your digital media from an id3 tag.

Download Now | Watch this File

File Information
Description

TAGFRAMES = ID3PARSE(FILENAME);

Opens the file whose path is given by FILENAME for reading, reads the meta-data stored in the ID3 Tag, and returns it in the structure TAGFRAMES. The structure's fields represent the titles of the various "frames" of information stored in the tag, the values of which are the associated data. Recognized frame's are given user friendly names (e.g., the TPE1 frame is labeled as 'Artist', TCON frame is labeled 'Genre') and have their data converted as appropriate. Unrecognized frames use the given 4 character frame identifier and their values are given as text (which may or may not be appropriate, depending on the content of the frame).

ID3 Tags are a standard which has largely been adopted throughout the digital media world as a means of storing meta data about digital media such as MP3 audio files and MPEG video files. ID3 Tags live in the byte sequence that makes up a file, usually at the beginning of the file (which is the only place I look for it in this script). They do not affect the remainder of the content in the file, for instance, and MP3 file's ID3 tag cannot affect the audio data stored in the file. Data stored in an ID3 Tag can be wide ranging: from the Artists and Album names, to the copyright information, even synchronized lyrics that can be presented in time to the music.

MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
27 Jul 2008 John McGraw

Doesn't even work. When it uses fread matlab says there is not enough memory. I think it is getting the wrong framesize for a field.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
data import Tom Gaudette 22 Oct 2008 07:50:15
data export Tom Gaudette 22 Oct 2008 07:50:15
mp3 Tom Gaudette 22 Oct 2008 07:50:15
id3 Tom Gaudette 22 Oct 2008 07:50:15
meta data Tom Gaudette 22 Oct 2008 07:50:15
data Tom Gaudette 22 Oct 2008 07:50:15
import Tom Gaudette 22 Oct 2008 07:50:15
export Tom Gaudette 22 Oct 2008 07:50:15
utilities Tom Gaudette 22 Oct 2008 07:50:15
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com