A Swift library for reading and writing common import/export file formats between popular DAW applications.
|Cubase: Track Archive XML||yes†||yes†|
|Pro Tools: Session Info Text file||yes||n/a|
|Logic Pro X‡||future?||future?|
|(more platforms may be added in future)‡|
† Full read/write support for Cubase Track Archive XML files is implemented for tracks with absolute timebase, as well as tracks with musical timebase where the tempo track uses only 'Jump' tempo events and there are no 'Ramp' tempo events
‡ Research is needed to determine what file formats are common and the viability of their implementation
The library implicitly makes use of TimecodeKit as the format to represent timecode values read/written from the files.
No formal documentation yet.
Core unit tests implemented. More exhaustive tests can be added in future.
Currently, the parser relies on certain export options to be selected when exporting a Session Text file from Pro Tools so that the parser can read it correctly. Additional routines/heuristics need to be added to add ruggedness to the parser so that it can detect all of the various export options based on the text file contents, and successfully parse the file regardless and/or output meaningful error conditions that describe why the file may not be in a parsable format.
☐ Add subframes capability
☐ Check frame rate strings PT outputs to Session Info text file and ensure parser reads them correctly
☐ Handle new-line and tab characters in Markers list name/comment fields (Pro Tools allows them to be inserted or pasted from the clipboard when editing markers)
☐ Add parsing modes specific for "TextEdit 'TEXT'" and "UTF-8 'TEXT'" File Format encodings
The author(s) have no affiliation with Avid, Steinberg, or any other company relating to the software packages that are mentioned in this library. This library is built based on easily discernable open file data formats and at no time has reverse-engineering been employed to intuit their format or implementation. The goal of this library is to promote easier interoperability for developers with these common and useful data file formats.
The library is provided as-is with no warranties. See the LICENSE for more details.
Coded by a bunch of 🐹 hamsters in a trenchcoat that calls itself @orchetect.
Licensed under the MIT license. See LICENSE for details.
Contributions are welcome. Feel free to post an Issue to discuss.
|Last commit: 2 weeks ago|
throwing instead of returning Optionals
Cubase.TrackArchiveAPI is now more consistent