Parser and Builder classes related to Apple's Core Audio Format (.caf).
Project description
Core Audio Format Parser
Parser and Builder classes related to Apple's Core Audio Format (.caf).
NOTE: This is a work in progress
Core Audio Format
"Apple’s Core Audio Format (CAF) is a file format for storing and transporting digital audio data. It simplifies the management and manipulation of many types of audio data without the file-size limitations of other audio file formats."
Installation
You can install libCAF via pip from PyPI:
$ pip install libcaf
and to build the docs you need make
to be installed:
$ pip install -r docs/requirements.txt
$ cd docs && make html
Usage
The python package provided within this repository supports parsing caf
archives into an object model. More detailed information about the implementation and fields of each class, please refer to the documentation available on Github-Pages.
Parsing CAF Files
>>> from libcaf import *
>>> data = caf.parse_file("file.caf")
>>> data
caf_t(m_header=caf__header_t(m_file_type=b'caff', m_file_version=1, m_file_flags=0), ...
Contributing
Contributions are very welcome. To learn more, see the Contributor Guide.
License
Distributed under the terms of the MIT license, Core Audio Format Parser is free and open source software.
Issues
If you encounter any problems, please file an issue along with a detailed description.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.