Skip to main content

Parser and Builder classes related to Apple's Core Audio Format (.caf).

Project description

Core Audio Format Parser

PyPI Status Python Version License

Black Build and Deploy Sphinx Documentation

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

libCAF-0.1.0b0.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

libCAF-0.1.0b0-py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page