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.
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.
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
audioio-0.9.5.tar.gz
(32.9 kB
view hashes)
Built Distribution
audioio-0.9.5-py3-none-any.whl
(46.4 kB
view hashes)