Skip to main content

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.

Metadata

Release files for PyAudio 0.2.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyAudio 0.2.13
File Size Uploaded
PyAudio-0.2.13.tar.gz 46.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for PyAudio 0.2.13
File
PyAudio-0.2.13-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
PyAudio-0.2.13-cp311-cp311-win32.whl CPython 3.11 CPython 3.11 Windows x86-32 Details
PyAudio-0.2.13-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
PyAudio-0.2.13-cp310-cp310-win32.whl CPython 3.10 CPython 3.10 Windows x86-32 Details
PyAudio-0.2.13-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
PyAudio-0.2.13-cp39-cp39-win32.whl CPython 3.9 CPython 3.9 Windows x86-32 Details
PyAudio-0.2.13-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
PyAudio-0.2.13-cp38-cp38-win32.whl CPython 3.8 CPython 3.8 Windows x86-32 Details
PyAudio-0.2.13-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
PyAudio-0.2.13-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details

Total release size: 1.6 MB

Release files / PyAudio-0.2.13.tar.gz

Download URL PyAudio-0.2.13.tar.gz
Size 46.8 kB
Tags Source
SHA-256 checksum
How to use checksums
26bccc81e4243d1c0ff5487e6b481de6329fcd65c79365c267cef38f363a2b56
BLAKE2b-256 checksum
How to use checksums
91a0f439da954d78a987298cb8d1ca1b141c53b1d1d1c7a50e17198ed061b9ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release files / PyAudio-0.2.13-cp311-cp311-win_amd64.whl

Download URL PyAudio-0.2.13-cp311-cp311-win_amd64.whl
Size 164.1 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
59cc3cc5211b729c7854e3989058a145872cc58b1a7b46c6d4d88448a343d890
BLAKE2b-256 checksum
How to use checksums
f19da355e572556ea1b41d76514323360c13774820d094c674cf51f37aee6cbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release files / PyAudio-0.2.13-cp311-cp311-win32.whl

Download URL PyAudio-0.2.13-cp311-cp311-win32.whl
Size 144.6 kB
Tags CPython 3.11 Windows x86-32
SHA-256 checksum
How to use checksums
13915faaa780e6bbbb6d745ef0e761674fd461b1b1b3f9c1f57042a534bfc0c3
BLAKE2b-256 checksum
How to use checksums
67745854fce7276f420c6d232375b1fc07eed17a739426a30992ff4eab6c9c74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release files / PyAudio-0.2.13-cp310-cp310-win_amd64.whl

Download URL PyAudio-0.2.13-cp310-cp310-win_amd64.whl
Size 164.1 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
87137cfd0ef8608a2a383be3f6996f59505e322dab9d16531f14cf542fa294f1
BLAKE2b-256 checksum
How to use checksums
bfd16369e239d579c28bd50aa8ac2c0b918812c92f4c95c718d31cb954dde5f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release files / PyAudio-0.2.13-cp310-cp310-win32.whl

Download URL PyAudio-0.2.13-cp310-cp310-win32.whl
Size 144.6 kB
Tags CPython 3.10 Windows x86-32
SHA-256 checksum
How to use checksums
48e29537ea22ae2ae323eebe297bfb2683831cee4f20d96964e131f65ab2161d
BLAKE2b-256 checksum
How to use checksums
c7189a8d92578d704448be2d5a29ca8c164b459adb751883931be563c590717c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release files / PyAudio-0.2.13-cp39-cp39-win_amd64.whl

Download URL PyAudio-0.2.13-cp39-cp39-win_amd64.whl
Size 164.1 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
910ef09225cce227adbba92622d4a3e3c8375117f7dd64039f287d9ffc0e02a1
BLAKE2b-256 checksum
How to use checksums
1c909e1ea53afc698d456a4110a34d51f83fc226ed9c7125e3144a6b5d0cb5c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release files / PyAudio-0.2.13-cp39-cp39-win32.whl

Download URL PyAudio-0.2.13-cp39-cp39-win32.whl
Size 144.6 kB
Tags CPython 3.9 Windows x86-32
SHA-256 checksum
How to use checksums
eb128e4a6ea9b98d9a31f33c44978885af27dbe8ae53d665f8790cbfe045517e
BLAKE2b-256 checksum
How to use checksums
3accbddb7703107a4a65d7d582883cfc4949cdc24231b975b95902a9fa0a632f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release files / PyAudio-0.2.13-cp38-cp38-win_amd64.whl

Download URL PyAudio-0.2.13-cp38-cp38-win_amd64.whl
Size 164.1 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
1505d766ee718df6f5a18b73ac42307ba1cb4d2c0397873159254a34f67515d6
BLAKE2b-256 checksum
How to use checksums
17ce2c4052f0967e11b6bc98d72d5c57da8d7e46039b56559e9af47cd3b6d3d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release files / PyAudio-0.2.13-cp38-cp38-win32.whl

Download URL PyAudio-0.2.13-cp38-cp38-win32.whl
Size 144.6 kB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
c6b302b048c054b7463936d8ba884b73877dc47012f3c94665dba92dd658ae04
BLAKE2b-256 checksum
How to use checksums
7f4954757c393718c109479e6dd2b4c9373d017c9c5714827b1e3d138ccbb144
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release files / PyAudio-0.2.13-cp37-cp37m-win_amd64.whl

Download URL PyAudio-0.2.13-cp37-cp37m-win_amd64.whl
Size 164.1 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
ff7f5e44ef51fe61da1e09c6f632f0b5808198edd61b363855cc7dd03bf4a8ac
BLAKE2b-256 checksum
How to use checksums
7b9d2294ac60a113d57e0795b47175258978e4cb9dfbbb86d8efb0ddb755613b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release files / PyAudio-0.2.13-cp37-cp37m-win32.whl

Download URL PyAudio-0.2.13-cp37-cp37m-win32.whl
Size 144.6 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
d294e3f85b2238649b1ff49ce3412459a8a312569975a89d14646536362d7576
BLAKE2b-256 checksum
How to use checksums
0fccef623f03687d42fbf32c2369227ac48b3a2bed17b340a72a2368dad36e45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release history Release notifications | RSS feed

This release

0.2.13 This release

11 release files

0.2.11

9 release files

0.2.10

9 release files

0.2.9

13 release files

0.2.8

1 release file

0.2.7

0.2.6

0.2.3

0.2.0

0.1.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page