Skip to main content

Spatial Audio Python Package

Project description

spaudiopy

Documentation Status PyPI version Cross-Platform Test

Spatial Audio Python Package.

The focus (so far) is on spatial audio encoders and decoders. The package includes e.g. spherical harmonics processing and (binaural renderings of) loudspeaker decoders, such as VBAP and AllRAD.

Documentation

You can find the latest package documentation here:
https://spaudiopy.readthedocs.io/

Some details about the implementation can be found in my thesis, or just contact me.

Quickstart

It's easiest to start with something like Anaconda as a Python distribution. You'll need Python >= 3.6 .

You can simply install the latest release with pip:
pip install spaudiopy

This also works for the latest commit:
pip install git+https://github.com/chris-hld/spaudiopy.git@master

From Source

Alternatively, if you want to go into detail and install the package from source:

  1. Create a conda environment, called e.g. 'spaudio':
    conda create --name spaudio python=3.8 anaconda portaudio
  2. Activate this new environment:
    conda activate spaudio

Get the latest source code from GitHub:
git clone https://github.com/chris-hld/spaudiopy.git && cd spaudiopy

Install the package and remaining dependencies:
pip install -e .

Contributions

This is meant to be an open project and contributions or feature requests are always welcome!

Some functions are also (heavily) inspired by other packages, e.g. https://github.com/polarch/Spherical-Harmonic-Transform, https://github.com/spatialaudio/sfa-numpy, https://github.com/AppliedAcousticsChalmers/sound_field_analysis-py .

Licence

MIT -- see the file LICENSE for details.

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

spaudiopy-0.1.6.tar.gz (13.4 MB view details)

Uploaded Source

Built Distribution

spaudiopy-0.1.6-py3-none-any.whl (13.4 MB view details)

Uploaded Python 3

File details

Details for the file spaudiopy-0.1.6.tar.gz.

File metadata

  • Download URL: spaudiopy-0.1.6.tar.gz
  • Upload date:
  • Size: 13.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for spaudiopy-0.1.6.tar.gz
Algorithm Hash digest
SHA256 b67a0ba729b0b24c6618d58bb8e7e0c1aa9abc3434a5bc12df257f837194cc59
MD5 db266a2c54dd3dee5ee30aa315d97b2e
BLAKE2b-256 63bf903910daea83cb0697123af6f1082619504b5f89cbc87e3b25ddc0689c97

See more details on using hashes here.

File details

Details for the file spaudiopy-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: spaudiopy-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 13.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for spaudiopy-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3ccdbdc6af2865dea56d8cc2f075ff673ce5333fe9ae0af963f29a75531bb6d0
MD5 021455e4c8fbb05e43ba905a22575a04
BLAKE2b-256 9cee82aa134b8a134e26dc6b9e80336b9c30a786c20500e8c634af7737df9d4a

See more details on using hashes here.

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