Array

ID3 Tags

Must Read

Admin
Admin
Just post!

ID3 is an audio file tagging format used in software and hardware around the world. The tag is a metadata container stored within MP3 audio files in a predictable format. The ID3Info class stores its properties.

To check that your file has an ID3 region, set a listener for the Event.ID3 event:

[code]

var sound:Sound = new Sound();
sound.addEventListener(Event.ID3, onMetaData);
function onMetaData(event:Event):void {
var metaData:ID3Info = Sound(event.target).id3;
// var metaData:ID3Info = event.target.id3;
for (var property in metaData) {
trace(property, metatData[property]);
}
}

[/code]

Some of the information stored in the ID3 region is the name of the artist, the name of the album, the song title, and the year it was recorded. This is particularly useful if you want to build an audio catalog.

You can read more about ID3 at http://www.id3.org/.

- Advertisement -

Latest News

Elevate Your Bentley Experience: The Bespoke Elegance of Bentayga EWB by Mulliner

Bentley Motors redefines the essence of bespoke luxury with the introduction of the Bentayga EWB's groundbreaking two-tone customization option—a...
- Advertisement -

More Articles Like This

- Advertisement -