Skip to main content

Cross-platform audio I/O with PortAudio

Project description

PyAudio

PyAudio provides Python bindings for PortAudio v19, the cross-platform audio I/O library. With PyAudio, you can easily use Python to play and record audio on a variety of platforms, such as GNU/Linux, Microsoft Windows, and Apple macOS.

PyAudio is distributed under the MIT License.

Installation

See the INSTALLATION file in the source distribution for details. In summary, install PyAudio using pip on most platforms.

Windows

python -m pip install pyaudio

This installs the precompiled PyAudio library with PortAudio v19 19.7.0 included. The library is compiled with support for Windows MME API, DirectSound, WASAPI, and WDM-KS. It does not include support for ASIO. If you require support for APIs not included, you will need to compile PortAudio and PyAudio.

macOS

Use Homebrew to install the prerequisite portaudio library, then install PyAudio using pip:

brew install portaudio
pip install pyaudio

GNU/Linux

Use the package manager to install PyAudio. For example, on Debian-based systems:

sudo apt install python3-pyaudio

Alternatively, if the latest version of PyAudio is not available, install it using pip. Be sure to first install development libraries for portaudio19 and python3.

Building from source

See the INSTALLATION file.

Documentation & Usage Examples

License

PyAudio is distributed under the MIT License. See LICENSE.txt.

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

PyAudio-0.2.12.tar.gz (42.9 kB view details)

Uploaded Source

Built Distributions

PyAudio-0.2.12-cp311-cp311-win_amd64.whl (164.0 kB view details)

Uploaded CPython 3.11Windows x86-64

PyAudio-0.2.12-cp311-cp311-win32.whl (144.6 kB view details)

Uploaded CPython 3.11Windows x86

PyAudio-0.2.12-cp310-cp310-win_amd64.whl (164.0 kB view details)

Uploaded CPython 3.10Windows x86-64

PyAudio-0.2.12-cp310-cp310-win32.whl (144.6 kB view details)

Uploaded CPython 3.10Windows x86

PyAudio-0.2.12-cp39-cp39-win_amd64.whl (164.0 kB view details)

Uploaded CPython 3.9Windows x86-64

PyAudio-0.2.12-cp39-cp39-win32.whl (144.6 kB view details)

Uploaded CPython 3.9Windows x86

PyAudio-0.2.12-cp38-cp38-win_amd64.whl (164.0 kB view details)

Uploaded CPython 3.8Windows x86-64

PyAudio-0.2.12-cp38-cp38-win32.whl (144.6 kB view details)

Uploaded CPython 3.8Windows x86

PyAudio-0.2.12-cp37-cp37m-win_amd64.whl (164.0 kB view details)

Uploaded CPython 3.7mWindows x86-64

PyAudio-0.2.12-cp37-cp37m-win32.whl (144.5 kB view details)

Uploaded CPython 3.7mWindows x86

File details

Details for the file PyAudio-0.2.12.tar.gz.

File metadata

  • Download URL: PyAudio-0.2.12.tar.gz
  • Upload date:
  • Size: 42.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for PyAudio-0.2.12.tar.gz
Algorithm Hash digest
SHA256 55ddf5db72bc537bba5f5dbca3ab9f0222ee5b842bda83978eab0b7b8f60fb9e
MD5 99200bbf5402fdc8f69c50771b5e6c37
BLAKE2b-256 3e2f67dc1505002ed6a4ef3f5941d6f07209d4c013a0271dd8d18314f54f6bf0

See more details on using hashes here.

File details

Details for the file PyAudio-0.2.12-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: PyAudio-0.2.12-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 164.0 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for PyAudio-0.2.12-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 19f654bd516154a655d9569d12d2a86ab5dfd58d039c0e4c6d1a26ec4ca02d89
MD5 f0c06b185437b719907e83b682ab1089
BLAKE2b-256 6c38f969c36d21c75d708a4f8ac9b05dbce81d5acaacf640935adada156ae55d

See more details on using hashes here.

File details

Details for the file PyAudio-0.2.12-cp311-cp311-win32.whl.

File metadata

  • Download URL: PyAudio-0.2.12-cp311-cp311-win32.whl
  • Upload date:
  • Size: 144.6 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for PyAudio-0.2.12-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 5678725eb828742ea3febf381b1bd0bb94ba76c35e5e0daeab84e4c50f9f5d47
MD5 8105ba2d597a4354484c32370c8f35eb
BLAKE2b-256 965a32970b4a8123182e060470bff730d13c604e3583563bcec9045d98ca55a7

See more details on using hashes here.

File details

Details for the file PyAudio-0.2.12-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: PyAudio-0.2.12-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 164.0 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for PyAudio-0.2.12-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ffa235c220992e417e5a462f6d73ffb1be54b683005a1c6b185139580f59e234
MD5 9068c0ad366fe19ab6584915a3a87d72
BLAKE2b-256 597c0209a4d80a6f8456ba803f1fc1f435e3a7b7d4a90eb70a979c9047c6dc1b

See more details on using hashes here.

File details

Details for the file PyAudio-0.2.12-cp310-cp310-win32.whl.

File metadata

  • Download URL: PyAudio-0.2.12-cp310-cp310-win32.whl
  • Upload date:
  • Size: 144.6 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for PyAudio-0.2.12-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 71fc1688732fced907ae707d609cc3eead9fa05baf703bf08885f71a8fd9c658
MD5 07ed605871ee1337d0fa43cdc43778b9
BLAKE2b-256 783e37c14e796aa5e349b23fc9ba05ec612d0154d3a397390de2091dbf12a028

See more details on using hashes here.

File details

Details for the file PyAudio-0.2.12-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: PyAudio-0.2.12-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 164.0 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for PyAudio-0.2.12-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 880aff391a73ff5e94bae73e32d3b8e27e988a93afec2dd9c74dcd92c305f8cc
MD5 388ade2e1383125c0a4699f24237095c
BLAKE2b-256 6916abd567f10780dafcfdc8ac75bb3f70eac80d7633dc1da8f3aa2ce440ad6d

See more details on using hashes here.

File details

Details for the file PyAudio-0.2.12-cp39-cp39-win32.whl.

File metadata

  • Download URL: PyAudio-0.2.12-cp39-cp39-win32.whl
  • Upload date:
  • Size: 144.6 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for PyAudio-0.2.12-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 dafe891903402694a0fc87663bdb9b89e7fa66872446c5ef0c9d71ac4780cf1d
MD5 db079e64498bcd6002b7a4a2657fbef7
BLAKE2b-256 5da79b6295d468a26d4df0c72c4247181058d514c2d3ff1a2ecf86aed7c234fe

See more details on using hashes here.

File details

Details for the file PyAudio-0.2.12-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: PyAudio-0.2.12-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 164.0 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for PyAudio-0.2.12-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 1c29930cf2e392d8b21a4c6253efe39d7400e37d61a7991756d3b00a46bf18ce
MD5 45e7deab40f6893de5a7e9e1ebc66e4a
BLAKE2b-256 6801288ec853c0888f67aedf671639c5796a496d91eccf2cb0d707eecdb41080

See more details on using hashes here.

File details

Details for the file PyAudio-0.2.12-cp38-cp38-win32.whl.

File metadata

  • Download URL: PyAudio-0.2.12-cp38-cp38-win32.whl
  • Upload date:
  • Size: 144.6 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for PyAudio-0.2.12-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 0f9debc6e47b6a5a4fe9da9d213d4bfe5e8096e68f0612f1b9097e3253eeea4d
MD5 227c29bf5b7407b62ee9cb4b6f3643a5
BLAKE2b-256 5fd8f62106feda8d176be3d01fa3768e8a6200386fa67d74436774d62835be68

See more details on using hashes here.

File details

Details for the file PyAudio-0.2.12-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: PyAudio-0.2.12-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 164.0 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for PyAudio-0.2.12-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 2f4206c6a8d2eeb2d1f054c69e3741c8634cfafe7887be4950a2f7d273700f8a
MD5 a130164cfaef66c2a86383e89cecce54
BLAKE2b-256 6c13310219e09f87e446fefac77dc52dae4cdde52b47b954bafbdd91eb85faa2

See more details on using hashes here.

File details

Details for the file PyAudio-0.2.12-cp37-cp37m-win32.whl.

File metadata

  • Download URL: PyAudio-0.2.12-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 144.5 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for PyAudio-0.2.12-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 d89f065adc0058df90ec59aa6b35c1c036f17bb4323fb68b4267c12924e9553e
MD5 ff66adbd8cd7203edb1947c64a01c0b9
BLAKE2b-256 633cb244b29bd9daf0c2459cdd75a8d1db80df9fa34e17eca24ac3920e2a31f0

See more details on using hashes here.

Supported by

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