Zeugma440 / atldotnet

Fully managed, portable and easy-to-use C# library to read and edit audio data and metadata (tags) from various audio formats, playlists and CUE sheets
MIT License
439 stars 60 forks source link

Syntax for writing Cart Chunk metadata? #270

Open livvy94 opened 2 weeks ago

livvy94 commented 2 weeks ago

The problem

For context, I work at a radio station and have some background in programming. I'd like to create a tool that periodically scans a folder for newly created WAV files, opens them, and and adds Cart Chunk data to them based on the filename. The Cut ID is always the same as the filename - so 00006.WAV would get a certain Title, Start Date (which is always the date I record the cut), Outcue, and End Date.

There isn't any mention of Cart Chunk data in the Code Snippets page, could I have an example?

I am also interested in making a different tool that works with Super Nintendo SPC700 files, which I am honestly surprised and overjoyed to see supported here. I make SNES chiptune music in my free time!

I don't see a lot of Issues asking for help like this, so I hope I'm not asking in the wrong way. Thank you for making such a comprehensive library!

Environment

Zeugma440 commented 2 weeks ago

Hi there! I'm glad you appreciate the library~

Regarding CART, there's no snippet for the moment but you can guess what to write by looking at :

=>For instance, to store the Cut Number alone, you'd write

theTrack.AdditionalFields["cart.cutNumber"] = "123456";
theTrack.Save();

Editing SPC700 files is done using standard fields (e.g. Track.Title, Track.Artist)...

Please let me know if you need more information!