Skip to main content

Platform independent interfacing of numpy arrays of floats with audio files and devices.

Project description

AudioIO

Platform independent interfacing of numpy arrays of floats with audio files and devices.

Documentation | API Reference

The AudioIO modules try to use whatever audio modules installed on your system to achieve their tasks. The AudioIO package does not provide own code for decoding files and accessing audio hardware.

See installation for further instructions.

Feaures

  • Audio data are always numpy arrays of floats with values ranging between -1 and 1 ...
  • ... independent of how the data are stored in an audio file.
  • load_audio() function for loading a whole audio file.
  • Blockwise random-access loading of large audio files (class AudioLoader).
  • blocks() generator for iterating over blocks of data with optional overlap.
  • write_audio() function for writing data to an audio file.
  • Platform independent playback of numpy arrays (play()).
  • Synchronous (blocking) and asynchronous (non blocking) playback.
  • Automatic resampling of data for playback to match supported sampling rates.
  • Detailed and platform specific installation instructions (pip, conda, Debian and RPM based Linux packages, homebrew for MacOS) for all supported audio packages.

Download files

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

Files for audioio, version 0.9.5
Filename, size File type Python version Upload date Hashes
Filename, size audioio-0.9.5-py3-none-any.whl (46.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size audioio-0.9.5.tar.gz (32.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page