How to use libFLAC to read FLAC tags in C #

Is there a .net C # shell for libFLAC library? If not, how can I read FLAC tags using libFLAC in a C # .net framework C # application? If not, are there other open source libraries for reading flac tags in C #?

Thank!

+3
source share
2 answers

There is an article about CodeProject that may come in handy.

+6
source

I know I'm late to the party, but if someone wants this specific information, here is the Wayback link:

http://web.archive.org/web/20140122195044/http://www.codeproject.com/Articles/15332/Assembly-to-Read-and-Write-Ogg-Tags-Vorbis-FLAC-an

StackOverflow, , , "Cyber ​​Sinh", MetatOGGer, LyricWiki Xiph Media Encoder:

, MetatOGGer, , Ogg FLAC. , .

, , Vorbis, FLAC Speex. Ogg FLAC .

SortedList<string, List<string>>, , "" .. ID3PictureFrame BitmapFrame ( Windows Imaging).

Ogg OggPageReader.

OggTagger FlacTagger . ( ). :

Class diagram

:

using Luminescence.Xiph;
OggTagger ogg = new OggTagger(@"C:\Song.ogg");

// Load duration
DateTime time = new DateTime(0);
time = time.AddSeconds(ogg.Duration);

// Tags manipulation
string artist = ogg.Artist;
ogg.Title = "Creep";
SortedList<string, List<string>> tags = ogg.GetAllTags();
BitmapFrame cover = ogg.FlacArts[0].Picture;
+2

Source: https://habr.com/ru/post/1699531/


All Articles