aus
Introduction
This is a Python library for working with audio. It comes in two flavors - a regular Python version called pyaus, contained in the pyaus directory, and a Cython version called caus, contained in the caus directory.
Building and installation
-
If you are running Windows, you can simply run the command
pip install aus-pythonto install a prepackaged version from PyPi. -
If you are not running Windows, or if you want to build and install the package manually, follow these instructions:
-
Before building this package, first decide whether you wish to use the Python version or the Cython version. Copy all of the .py files from
pyausorcausto theausdirectory. -
You will need to have a Python virtual environment with
buildinstalled in it. Alternatively, you can simply installbuildin your local Python installation. You may also need to install the packagesCython,numpy, andsetuptoolsto build the package. -
Run the command
python -m build. The package will be located in thedistdirectory, in both.whland.tar.gzformat. -
To install the package in your local Python installation, simply navigate to the
distdirectory and run the commandpip install filename.whl(replacefilenamewith the actual name of the file in thedistdirectory). -
You are now ready to import
ausinto your Python code. Note that the package name isaus-python, because PyPi would not let me use the nameaus. However, when importing into your Python code, you use the lineimport aus.audiofileorimport aus.operationsetc.
-
Documentation
Documentation is available at https://aus.readthedocs.io/en/latest/.
Dependencies
You will need the following Python libraries: matplotlib, numpy, pedalboard, regex, scipy. You will also need Cython if you want to build the Cython version.
Modules
The package is divided into 8 modules:
aus.analysis
Tools for spectral analysis and analysis of audio waveforms. Many of these tools are based on formulas from Florian Eyben's "Real-Time Speech and Music Classification," published by Springer in 2016. Among other things, this module computes spectral centroid, entropy, slope, and flatness.
aus.audiofile
This module is for reading and writing audio files, using either the pedalboard library or using (slower) code provided here.
aus.granulator
Funtionality for grain extraction
aus.operations
This module has various operations that can be performed on audio, such as spectral frame swapping, equal energy forcing, dc bias removal, and beat envelope generation.
aus.plot
Plotting functionality for audio and spectrum
aus.sampler
Tools for extracting samples from audio
aus.spectrum
Tools for spectral analysis
aus.synthesis
Tools for generating simple waveforms
Metadata
Release files for aus-python 0.0.32
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aus_python-0.0.32.tar.gz | 91.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aus_python-0.0.32-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 131.0 kB
Release files / aus_python-0.0.32.tar.gz
| Download URL | aus_python-0.0.32.tar.gz |
|---|---|
| Size | 91.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35134c9facffbd2a5e028c04d7d0b5bbf1c9b9cfb6f1cdd07c78ff02b20913b7
|
|
BLAKE2b-256 checksum How to use checksums |
78b0c3df2b662b14354ea1ace43fbc3a4923539b9d033678ddb94a52f65a5c7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / aus_python-0.0.32-py3-none-any.whl
| Download URL | aus_python-0.0.32-py3-none-any.whl |
|---|---|
| Size | 39.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8bbb3b58f1a2d2e348728ca2fb0d5b33c5fee3563fce6dbd5336f3db3ce0d55f
|
|
BLAKE2b-256 checksum How to use checksums |
b89b6bdf594f83016163285c1f2b6acda14e11828cbf3081697fc9855d55fa21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|