Leigh
Leigh

Reputation: 28873

Any libraries that can parse ID3 chunks from aiff files?

I am learning about the AIFF format and according to wiki these files can contain an ID3 chunk. But most of tools I have tried so far do not seem to support aiff files. Are there any libraries (preferably java or C#) capable of parsing/reading ID3 chunks within aiff files?

Upvotes: 4

Views: 1379

Answers (3)

JacobJ
JacobJ

Reputation: 3727

Taglib# will do this. It's a .NET wrapped version of the taglib library (which supports reading AIFF tags). It's maintained by the developers of the Banshee Media Player:

http://download.banshee.fm/taglib-sharp/

If you want to read more on Taglib in general, here's the TagLib site: http://developer.kde.org/~wheeler/taglib.html

I took a file in iTunes, converted it to AIFF, placed it in my root C:\ folder and renamed it to Sample.aif. Here's the code I used to read it:

TagLib.File file = TagLib.File.Create(@"C:\Sample.aif");
string album = file.Tag.Album;
string title = file.Tag.Title;

Seems to work just fine, TagLib reports that it is an ID3v2 tag.

Upvotes: 2

Vijay Gill
Vijay Gill

Reputation: 1518

Look at this link. This is from naudio. From what I could see on my mobile's small screen, it seems it may help you.

https://naudio.svn.codeplex.com/svn/NAudio/Wave/WaveStreams/AiffFileReader.cs

Upvotes: 0

Yahia
Yahia

Reputation: 70369

not sure but did you try http://www.codeproject.com/KB/cs/Do_Anything_With_ID3.aspx

Upvotes: 0

Related Questions