Community Forums Archive

Go Back

Subject:Code to write tags to FLAC files
Posted by: ctbarker32
Date:4/11/2008 5:04:37 PM

Hi,

I've successfully hacked the "save regions as file" script to save to FLAC files with a naming convention I'm happy with. This is a big time saver for now that SF supports FLAC files.

I still need to do Tag editing afterward so I would now like to add code that would write the Tag info (taken from file summary extended info) while exporting the regions to FLAC files. I need the standard things such as track title (from region name), track number, Artist Name, Album Artist, Date, and Genre. I assume this would be possible?

Any code snippets would be most welcome.

Thanks.

-CB

Subject:RE: Code to write tags to FLAC files
Reply by: _TJ
Date:5/6/2008 4:41:39 PM

There is a sample script called DumpSumy.cs that contains a fairly comprehensive list of tags that Sound Forge supports.

But I'm not sure that this will help you. If I understand you correctly you want to write tags to the file AFTER you have already saved it. If that is the case, then you need to use the FLAC sdk which is quite beyond the scope of what we normally do in C#

tj

Go Back