Skip to main content

Maybe the most complete python package for SOFA files so far.

Project description


PyPI version Documentation Status CircleCI Binder

Sofar is maybe the most complete Python package for the SOFA file format so far. SOFA files store spatially distributed acoustic data such as impulse responses or transfer functions. They are defined by the AES69-2022 standard (see references). These are the key features of sofar

  • Read, edit, and write SOFA files
  • Add custom attributes to SOFA files
  • Full Verification of the content of a SOFA files against AES69-2022
  • Upgrade data that uses outdated SOFA conventions
  • Open license allows unrestricted use
  • sofar is tested using continuous integration on
  • Uses a complete definition of the AES69-2022 standard (see references) maintained at sofa_conventions

Getting Started

The sofar and SOFA notebook gives an overview of the most important sofar functionality and is a good starting point. For processing and visualizing data inside SOFA files, we recommend the pyfar package that can read SOFA files through pyfar.io.read_sofa and the in-depth examples contained in the pyfar example gallery. Check out read the docs for a complete documentation of sofar. A more detailed introduction to the SOFA file format is given by Majdak et. al. 2022 (see references below). All information is also bundled at pyfar.org.

Installation

Use pip to install sofar

pip install sofar

(Requires Python >= 3.8)

If the installation fails, please check out the help section.

Contributing

Refer to the contribution guidelines for more information.

References

AES69-2022: AES standard for file exchange - Spatial acoustic data file format, Audio Engineering Society, Inc., New York, NY, USA. (https://www.aes.org/publications/standards/search.cfm?docID=99)

P. Majdak, F. Zotter, F. Brinkmann, J. De Muynke, M. Mihocic, and M. Noisternig, "Spatially Oriented Format for Acoustics 2.1: Introduction and Recent Advances", J. Audio Eng. Soc., vol. 70, no. 7/8, pp. 565-584, Jul. 2022. DOI: https://doi.org/10.17743/jaes.2022.0026

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

sofar-1.2.3.tar.gz (383.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sofar-1.2.3-py3-none-any.whl (440.1 kB view details)

Uploaded Python 3

File details

Details for the file sofar-1.2.3.tar.gz.

File metadata

  • Download URL: sofar-1.2.3.tar.gz
  • Upload date:
  • Size: 383.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for sofar-1.2.3.tar.gz
Algorithm Hash digest
SHA256 31058d4460b0577016ce0f5de66376e7e1397b1bddc22e7c7fc036079f63d364
MD5 0fa80491eceef96d5b25e47a5325c4a2
BLAKE2b-256 fd2bdfeea31a5419e1e93dcf1fc3239e12d91772ab74a931d5dd3ae2bf434e90

See more details on using hashes here.

File details

Details for the file sofar-1.2.3-py3-none-any.whl.

File metadata

  • Download URL: sofar-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 440.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for sofar-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d1c0813bdb2e56fc820ace5caaeebdbb22d562ae9f7c07af230a32ec71b63327
MD5 83a089aef75a78b5119c9a8945cd74e2
BLAKE2b-256 92b3eb82436d5f725f4702a1376c7f53578f8f711e1a1d9ba4e7926610cf1dbe

See more details on using hashes here.

Supported by

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