Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

audiopython-0.0.16.tar.gz (361.2 kB view details)

Uploaded Source

Built Distribution

audiopython-0.0.16-py3-none-any.whl (38.7 kB view details)

Uploaded Python 3

File details

Details for the file audiopython-0.0.16.tar.gz.

File metadata

  • Download URL: audiopython-0.0.16.tar.gz
  • Upload date:
  • Size: 361.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.2

File hashes

Hashes for audiopython-0.0.16.tar.gz
Algorithm Hash digest
SHA256 f9610311ebade3c15b86258c1a436dd537b387fa741c3f8334c229768eec5c06
MD5 3aebde5d23a9eb74fd4e96b60135a26f
BLAKE2b-256 6d4091fab6526a8f705fb727e06dee23811bb21bb22db4d2feb84ab1dca137d1

See more details on using hashes here.

File details

Details for the file audiopython-0.0.16-py3-none-any.whl.

File metadata

  • Download URL: audiopython-0.0.16-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

Hashes for audiopython-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 98f9ad4c6d356a798908e748b67d235e4142af76a892e34aa6a01dbef44a479f
MD5 330c48e6ab7e6ec9e62449d9f2e0224d
BLAKE2b-256 3fda988f02f20c14d36909f2a312d552a26e5c00f0362ebd3d42fbce49835c71

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page