Skip to main content

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.

Metadata

Release files for audiopython 0.0.22

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for audiopython 0.0.22
File Size Uploaded
audiopython-0.0.22.tar.gz 362.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for audiopython 0.0.22
File Interpreter ABI Platform
audiopython-0.0.22-py3-none-any.whl Python 3 none any Details

Total release size: 401.6 kB

Release files / audiopython-0.0.22.tar.gz

Download URL audiopython-0.0.22.tar.gz
Size 362.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a69df993a85d221c6abe8de2eff431193f9bac7c226793406a0fe297f0cec1b0
BLAKE2b-256 checksum
How to use checksums
05ae6b5c7077b16ad91ec7d274b94b30a34e6ac8cb287229a0889d41ecbb95cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.2

Release files / audiopython-0.0.22-py3-none-any.whl

Download URL audiopython-0.0.22-py3-none-any.whl
Size 39.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f5d87b113b433579445e344dc9d7fb294a841e236213ad0ff4fe018f8d39bb31
BLAKE2b-256 checksum
How to use checksums
ae1cc73366c7b08b3164036758248f7d454ee35ee754e68e1d941d2db000d9e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.0.22 This release

2 release files

0.0.21

2 release files

0.0.20

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page