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 packages are installed on your system to achieve their tasks. AudioIO itself does not provide own code for decoding files and accessing audio hardware.

See installation for further instructions and recommendations on additional audio packages.

Features

  • Audio data are always numpy arrays of floats (np.float64) 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.
  • Read meta data and cue lists.

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

audioio-0.11.0.tar.gz (58.4 kB view hashes)

Uploaded Source

Built Distribution

audioio-0.11.0-py3-none-any.whl (53.7 kB view hashes)

Uploaded Python 3

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