Welcome to spaudiopy’s documentation!
Installation
- For the unpatient, you can just install the pip version
pip install spaudiopy
Requirements
It’s easiest to start with something like Anaconda as a Python distribution. You’ll need Python >= 3.6 .
- Create a conda environment:
conda create –name spaudio python=3.6 anaconda joblib portaudio
- Activate this new environment:
conda activate spaudio
Have a look at the setup.py file, all dependencies are listed there. When using pip to install this package as shown below, all remaining dependencies not available from conda will be downloaded and installed automatically.
Installation
Download this package from GitHub and navigate to there. Then simply run the line:
pip install -e .
This will check all dependencies and install this package as editable.
API Documentation
spaudiopy
Submodules
Input Output (IO) helpers. |
|
Signal class. |
|
Spherical Harmonics. |
|
Loudspeaker decoders. |
|
Collection of audio processing tools. |
|
A few helpers. |
|
Sampling grids. |
|
Parametric Spatial Audio (PARSA). |
|
Plotting helpers. |
Multiprocessing
If the function has an argument called jobs_count the implementation allows launching multiple processing jobs. Keep in mind that there is always a certain computational overhead involved, and more jobs is not always faster.
Especially on Windows, you then have to protect your main() function with:
if __name__ == '__main__':
# Put your code here