pysofaconventions

pysofaconventions: python implementation of the SOFA Convention


Keywords
SOFA, HRTF, binaural, Ambisonics, python, reverb
License
BSD-3-Clause
Install
pip install pysofaconventions==0.1.5

Documentation

pysofaconventions

PyPI License Build Status Coverage Status PyPI

Python implementation of the SOFA Specification www.sofaconventions.org

Adapted from API_Cpp, the C++ implementation by Thibaut Carpentier. Based on the fork by andresperezlopez which implements the AmbisonicsDRIR Convention v0.1.

installation

automatic installation

sudo pip install pysofaconventions

manual installation

Clone the sources from github:

git clone https://github.com/andresperezlopez/pysofaconventions.git

Then enter the source folder and install using pip to handle python dependencies:

cd pysofaconventions
sudo pip install -e .

dependencies

  • netCDF4

examples

Check the /examples folder to see some reference implementations.

changelog

Version 0.1.5, 18/05/2019

  • SourceUp.Units and SourceUp.Coordinates are not mandatory
  • SingleRoomDRIR: ListenerView.Units and SourceView.Units are not mandatory

Version 0.1.4, 13/05/2019

  • ListenerUp.Units and ListenerUp.Coordinates are not mandatory
  • SimpleFreeFieldHRIR: mandatory R=2
  • Updated to netCDF4-1.5.1.2
  • Removed remote build version 3.4 (netcdf4 lib incompatibility)