A package with functionality for offline audio processing
Project description
audiopython
Introduction
This is a Python library for working with audio. It comes in two flavors - a regular Python version called pyaudiopython
, contained in the pyaudiopython
directory, and a Cython version called caudiopython
, contained in the caudiopython
directory. There is a separate directory called audiopython
that is set up for building a package - at the moment, this directory contains a copy of the Cython version.
You can install this library from PyPi by running the command pip install audiopython
. This will install the Cython version, which is only compiled for Windows at the moment. You can also build the package yourself on your own computer if you wish. Or you can use individual modules in the pyaudiopython
or caudiopython
directories.
The package is divided into 8 modules:
audiopython.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.
audiopython.audiofile
This module is for reading and writing audio files, using either the pedalboard
library or using (slower) code provided here.
audiopython.granulator
Funtionality for grain extraction
audiopython.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.
audiopython.plot
Plotting functionality for audio and spectrum
audiopython.sampler
Tools for extracting samples from audio
audiopython.spectrum
Tools for spectral analysis
audiopython.synthesis
Tools for generating simple waveforms
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.
Building
To build this package, run python -m build
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file audiopython-0.0.19.tar.gz
.
File metadata
- Download URL: audiopython-0.0.19.tar.gz
- Upload date:
- Size: 361.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18cc7b92504e61866e98dde9f73ad8d9d96cb9d5b19775dd98f2b5848bf8bf0a |
|
MD5 | 17e03e82a4f2022e3321f38a03b52680 |
|
BLAKE2b-256 | 8e9fec38de643d8a8390ca4f882a25582ce771b86e8415bbce67119627f96b1d |
File details
Details for the file audiopython-0.0.19-py3-none-any.whl
.
File metadata
- Download URL: audiopython-0.0.19-py3-none-any.whl
- Upload date:
- Size: 38.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9457b52a5d314b47c0d38125c6a761486ee3c3d2f0d9f2fc30691f3615ccbcc4 |
|
MD5 | 4f2b66261dba178003b2a0bb51ef47f1 |
|
BLAKE2b-256 | c2c7c6576237fc9e7f19690df094ec8ff2e74f9e3a2c068ee128de813eb061df |