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.13.tar.gz (46.8 kB view details)

Uploaded Source

Built Distributions

PyAudio-0.2.13-cp311-cp311-win_amd64.whl (164.1 kB view details)

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11Windows x86

PyAudio-0.2.13-cp310-cp310-win_amd64.whl (164.1 kB view details)

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10Windows x86

PyAudio-0.2.13-cp39-cp39-win_amd64.whl (164.1 kB view details)

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9Windows x86

PyAudio-0.2.13-cp38-cp38-win_amd64.whl (164.1 kB view details)

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8Windows x86

PyAudio-0.2.13-cp37-cp37m-win_amd64.whl (164.1 kB view details)

Uploaded CPython 3.7mWindows x86-64

PyAudio-0.2.13-cp37-cp37m-win32.whl (144.6 kB view details)

Uploaded CPython 3.7mWindows x86

File details

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

File metadata

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

File hashes

Hashes for PyAudio-0.2.13.tar.gz
Algorithm Hash digest
SHA256 26bccc81e4243d1c0ff5487e6b481de6329fcd65c79365c267cef38f363a2b56
MD5 41199ffd2abbdaf1ce6b88cf8af48cc5
BLAKE2b-256 91a0f439da954d78a987298cb8d1ca1b141c53b1d1d1c7a50e17198ed061b9ac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyAudio-0.2.13-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 164.1 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.13-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 59cc3cc5211b729c7854e3989058a145872cc58b1a7b46c6d4d88448a343d890
MD5 dab008af9763d4489c9b191c5c2cb3ed
BLAKE2b-256 f19da355e572556ea1b41d76514323360c13774820d094c674cf51f37aee6cbe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyAudio-0.2.13-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.13-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 13915faaa780e6bbbb6d745ef0e761674fd461b1b1b3f9c1f57042a534bfc0c3
MD5 6ef9376d70fdc4038840beff66a3bdf8
BLAKE2b-256 67745854fce7276f420c6d232375b1fc07eed17a739426a30992ff4eab6c9c74

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyAudio-0.2.13-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 164.1 kB
  • Tags: CPython 3.10, 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.13-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 87137cfd0ef8608a2a383be3f6996f59505e322dab9d16531f14cf542fa294f1
MD5 c6d0795e6e31b34ef14709c41d24136d
BLAKE2b-256 bfd16369e239d579c28bd50aa8ac2c0b918812c92f4c95c718d31cb954dde5f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyAudio-0.2.13-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.11.0

File hashes

Hashes for PyAudio-0.2.13-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 48e29537ea22ae2ae323eebe297bfb2683831cee4f20d96964e131f65ab2161d
MD5 223277f195ddfda48a67f32d8e98c80f
BLAKE2b-256 c7189a8d92578d704448be2d5a29ca8c164b459adb751883931be563c590717c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyAudio-0.2.13-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 164.1 kB
  • Tags: CPython 3.9, 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.13-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 910ef09225cce227adbba92622d4a3e3c8375117f7dd64039f287d9ffc0e02a1
MD5 b32faa2fbf997c0ae2f91a5ca463e577
BLAKE2b-256 1c909e1ea53afc698d456a4110a34d51f83fc226ed9c7125e3144a6b5d0cb5c7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyAudio-0.2.13-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.11.0

File hashes

Hashes for PyAudio-0.2.13-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 eb128e4a6ea9b98d9a31f33c44978885af27dbe8ae53d665f8790cbfe045517e
MD5 73433759b8bdefc31bdb9bc88d23f0f1
BLAKE2b-256 3accbddb7703107a4a65d7d582883cfc4949cdc24231b975b95902a9fa0a632f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyAudio-0.2.13-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 164.1 kB
  • Tags: CPython 3.8, 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.13-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 1505d766ee718df6f5a18b73ac42307ba1cb4d2c0397873159254a34f67515d6
MD5 7cf7e05287f8a5691fbff5434c8e7c0d
BLAKE2b-256 17ce2c4052f0967e11b6bc98d72d5c57da8d7e46039b56559e9af47cd3b6d3d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyAudio-0.2.13-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.11.0

File hashes

Hashes for PyAudio-0.2.13-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 c6b302b048c054b7463936d8ba884b73877dc47012f3c94665dba92dd658ae04
MD5 fff627c4f34cd8981902c875a627aecf
BLAKE2b-256 7f4954757c393718c109479e6dd2b4c9373d017c9c5714827b1e3d138ccbb144

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyAudio-0.2.13-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 164.1 kB
  • Tags: CPython 3.7m, 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.13-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 ff7f5e44ef51fe61da1e09c6f632f0b5808198edd61b363855cc7dd03bf4a8ac
MD5 a18d543fd5eb75b1087e824d6ef1b293
BLAKE2b-256 7b9d2294ac60a113d57e0795b47175258978e4cb9dfbbb86d8efb0ddb755613b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyAudio-0.2.13-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 d294e3f85b2238649b1ff49ce3412459a8a312569975a89d14646536362d7576
MD5 3e02709345fccb79eea60cf82a290794
BLAKE2b-256 0fccef623f03687d42fbf32c2369227ac48b3a2bed17b340a72a2368dad36e45

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