Skip to main content

Pythonic wave file reader and writer

Project description

Pythonic libsndfile wrapper to read and write audio files.

Features

  • Writer and reader objects are context managers
  • Format, channels, length, sample rate... are accessed as properties as well as text strings
  • Real multichannel (not just mono/stereo)
  • All libsndfile formats supported, floating point encodings by default
  • Numpy based interface
  • Generators for block by block reading
  • Reading reuses the same data block to avoid many data allocations
  • Shortened constant names for formats (Using scopes instead of prefixes)
  • Matlab-like whole-file interface (not recommended in production code but quite convenient for quick scripting)
  • Transparent UTF-8 handling for filenames and text strings
  • No module compilation required (wraps the dll using ctypes)
  • Works both for Python3 >= 3.8

You can find the latest version at: https://github.com/vokimon/python-wavefile

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

wavefile-1.6.2.tar.gz (22.0 kB view hashes)

Uploaded source

Built Distribution

wavefile-1.6.2-py3-none-any.whl (20.3 kB view hashes)

Uploaded py3

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