PyAudio


NamePyAudio JSON
Version 0.2.14 PyPI version JSON
download
home_pagehttps://people.csail.mit.edu/hubert/pyaudio/
SummaryCross-platform audio I/O with PortAudio
upload_time2023-11-07 07:11:48
maintainer
docs_urlNone
authorHubert Pham
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <img align="right" width="200" style="margin-left: 3px" src="https://people.csail.mit.edu/hubert/pyaudio/images/snake-300.png">

# 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.

* [Homepage](https://people.csail.mit.edu/hubert/pyaudio/)
* [API Documentation](https://people.csail.mit.edu/hubert/pyaudio/docs/)
* [PyPi](https://pypi.python.org/pypi/PyAudio)

## Installation

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

### Windows

```sh
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](https://brew.sh) to install the prerequisite [portaudio](http://portaudio.com) library, then install PyAudio using `pip`:

```sh
brew install portaudio
pip install pyaudio
```

### GNU/Linux

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

```sh
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

* Read the [API Documentation](https://people.csail.mit.edu/hubert/pyaudio/docs/), or generate it from the source using [`sphinx`](https://www.sphinx-doc.org/).

* Usage examples are in the `examples` directory of the source distribution, or see the [project homepage](https://people.csail.mit.edu/hubert/pyaudio/).

## License

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

            

Raw data

            {
    "_id": null,
    "home_page": "https://people.csail.mit.edu/hubert/pyaudio/",
    "name": "PyAudio",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Hubert Pham",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/26/1d/8878c7752febb0f6716a7e1a52cb92ac98871c5aa522cba181878091607c/PyAudio-0.2.14.tar.gz",
    "platform": null,
    "description": "<img align=\"right\" width=\"200\" style=\"margin-left: 3px\" src=\"https://people.csail.mit.edu/hubert/pyaudio/images/snake-300.png\">\r\n\r\n# PyAudio\r\n\r\nPyAudio 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.\r\n\r\nPyAudio is distributed under the MIT License.\r\n\r\n* [Homepage](https://people.csail.mit.edu/hubert/pyaudio/)\r\n* [API Documentation](https://people.csail.mit.edu/hubert/pyaudio/docs/)\r\n* [PyPi](https://pypi.python.org/pypi/PyAudio)\r\n\r\n## Installation\r\n\r\nSee the INSTALLATION file in the source distribution for details. In summary, install PyAudio using `pip` on most platforms.\r\n\r\n### Windows\r\n\r\n```sh\r\npython -m pip install pyaudio\r\n```\r\n\r\nThis 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.\r\n\r\n### macOS\r\n\r\nUse [Homebrew](https://brew.sh) to install the prerequisite [portaudio](http://portaudio.com) library, then install PyAudio using `pip`:\r\n\r\n```sh\r\nbrew install portaudio\r\npip install pyaudio\r\n```\r\n\r\n### GNU/Linux\r\n\r\nUse the package manager to install PyAudio. For example, on Debian-based systems:\r\n\r\n```sh\r\nsudo apt install python3-pyaudio\r\n```\r\n\r\nAlternatively, if the latest version of PyAudio is not available, install it using `pip`. Be sure to first install development libraries for `portaudio19` and `python3`.\r\n\r\n### Building from source\r\n\r\nSee the INSTALLATION file.\r\n\r\n## Documentation & Usage Examples\r\n\r\n* Read the [API Documentation](https://people.csail.mit.edu/hubert/pyaudio/docs/), or generate it from the source using [`sphinx`](https://www.sphinx-doc.org/).\r\n\r\n* Usage examples are in the `examples` directory of the source distribution, or see the [project homepage](https://people.csail.mit.edu/hubert/pyaudio/).\r\n\r\n## License\r\n\r\nPyAudio is distributed under the MIT License. See LICENSE.txt.\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Cross-platform audio I/O with PortAudio",
    "version": "0.2.14",
    "project_urls": {
        "Homepage": "https://people.csail.mit.edu/hubert/pyaudio/"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "90901553487277e6aa25c0b7c2c38709cdd2b49e11c66c0b25c6e8b7b6638c72",
                "md5": "1c3b9c8c98a01f700026c14663545d91",
                "sha256": "126065b5e82a1c03ba16e7c0404d8f54e17368836e7d2d92427358ad44fefe61"
            },
            "downloads": -1,
            "filename": "PyAudio-0.2.14-cp310-cp310-win32.whl",
            "has_sig": false,
            "md5_digest": "1c3b9c8c98a01f700026c14663545d91",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 144624,
            "upload_time": "2023-11-07T07:11:33",
            "upload_time_iso_8601": "2023-11-07T07:11:33.599360Z",
            "url": "https://files.pythonhosted.org/packages/90/90/1553487277e6aa25c0b7c2c38709cdd2b49e11c66c0b25c6e8b7b6638c72/PyAudio-0.2.14-cp310-cp310-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "27bc719d140ee63cf4b0725016531d36743a797ffdbab85e8536922902c9349a",
                "md5": "1845fb57c54dde7ba95741fe6819f62e",
                "sha256": "2a166fc88d435a2779810dd2678354adc33499e9d4d7f937f28b20cc55893e83"
            },
            "downloads": -1,
            "filename": "PyAudio-0.2.14-cp310-cp310-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "1845fb57c54dde7ba95741fe6819f62e",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 164069,
            "upload_time": "2023-11-07T07:11:35",
            "upload_time_iso_8601": "2023-11-07T07:11:35.439464Z",
            "url": "https://files.pythonhosted.org/packages/27/bc/719d140ee63cf4b0725016531d36743a797ffdbab85e8536922902c9349a/PyAudio-0.2.14-cp310-cp310-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7bf0b0eab89eafa70a86b7b566a4df2f94c7880a2d483aa8de1c77d335335b5b",
                "md5": "85dab79be26685e64ab0d5c340e72820",
                "sha256": "506b32a595f8693811682ab4b127602d404df7dfc453b499c91a80d0f7bad289"
            },
            "downloads": -1,
            "filename": "PyAudio-0.2.14-cp311-cp311-win32.whl",
            "has_sig": false,
            "md5_digest": "85dab79be26685e64ab0d5c340e72820",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 144624,
            "upload_time": "2023-11-07T07:11:36",
            "upload_time_iso_8601": "2023-11-07T07:11:36.940574Z",
            "url": "https://files.pythonhosted.org/packages/7b/f0/b0eab89eafa70a86b7b566a4df2f94c7880a2d483aa8de1c77d335335b5b/PyAudio-0.2.14-cp311-cp311-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "82d8f043c854aad450a76e476b0cf9cda1956419e1dacf1062eb9df3c0055abe",
                "md5": "4c83ea6a05834572d4c3ebb7851f4c16",
                "sha256": "bbeb01d36a2f472ae5ee5e1451cacc42112986abe622f735bb870a5db77cf903"
            },
            "downloads": -1,
            "filename": "PyAudio-0.2.14-cp311-cp311-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "4c83ea6a05834572d4c3ebb7851f4c16",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 164070,
            "upload_time": "2023-11-07T07:11:38",
            "upload_time_iso_8601": "2023-11-07T07:11:38.579293Z",
            "url": "https://files.pythonhosted.org/packages/82/d8/f043c854aad450a76e476b0cf9cda1956419e1dacf1062eb9df3c0055abe/PyAudio-0.2.14-cp311-cp311-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8d458d2b76e8f6db783f9326c1305f3f816d4a12c8eda5edc6a2e1d03c097c3b",
                "md5": "2601dc2a4dbe201ec9d6cb22761be1cb",
                "sha256": "5fce4bcdd2e0e8c063d835dbe2860dac46437506af509353c7f8114d4bacbd5b"
            },
            "downloads": -1,
            "filename": "PyAudio-0.2.14-cp312-cp312-win32.whl",
            "has_sig": false,
            "md5_digest": "2601dc2a4dbe201ec9d6cb22761be1cb",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": null,
            "size": 144750,
            "upload_time": "2023-11-07T07:11:40",
            "upload_time_iso_8601": "2023-11-07T07:11:40.142239Z",
            "url": "https://files.pythonhosted.org/packages/8d/45/8d2b76e8f6db783f9326c1305f3f816d4a12c8eda5edc6a2e1d03c097c3b/PyAudio-0.2.14-cp312-cp312-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b06ad25812e5f79f06285767ec607b39149d02aa3b31d50c2269768f48768930",
                "md5": "22c22def73adfdb7dc3711bc03acbee8",
                "sha256": "12f2f1ba04e06ff95d80700a78967897a489c05e093e3bffa05a84ed9c0a7fa3"
            },
            "downloads": -1,
            "filename": "PyAudio-0.2.14-cp312-cp312-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "22c22def73adfdb7dc3711bc03acbee8",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": null,
            "size": 164126,
            "upload_time": "2023-11-07T07:11:41",
            "upload_time_iso_8601": "2023-11-07T07:11:41.539593Z",
            "url": "https://files.pythonhosted.org/packages/b0/6a/d25812e5f79f06285767ec607b39149d02aa3b31d50c2269768f48768930/PyAudio-0.2.14-cp312-cp312-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "313391d2294eec57699ac4d511f65480b097b89af38635cf1af90321e366d828",
                "md5": "b81645da391553672169f77019bce78f",
                "sha256": "858caf35b05c26d8fc62f1efa2e8f53d5fa1a01164842bd622f70ddc41f55000"
            },
            "downloads": -1,
            "filename": "PyAudio-0.2.14-cp38-cp38-win32.whl",
            "has_sig": false,
            "md5_digest": "b81645da391553672169f77019bce78f",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": null,
            "size": 144619,
            "upload_time": "2023-11-07T07:11:43",
            "upload_time_iso_8601": "2023-11-07T07:11:43.309288Z",
            "url": "https://files.pythonhosted.org/packages/31/33/91d2294eec57699ac4d511f65480b097b89af38635cf1af90321e366d828/PyAudio-0.2.14-cp38-cp38-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "72d706eb308310281200e113910a675ea63483eeafcb1d851db8ef98393a3e33",
                "md5": "5ddcc47c45cfb6782a05e6440f50310b",
                "sha256": "2dac0d6d675fe7e181ba88f2de88d321059b69abd52e3f4934a8878e03a7a074"
            },
            "downloads": -1,
            "filename": "PyAudio-0.2.14-cp38-cp38-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "5ddcc47c45cfb6782a05e6440f50310b",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": null,
            "size": 164066,
            "upload_time": "2023-11-07T07:11:44",
            "upload_time_iso_8601": "2023-11-07T07:11:44.887627Z",
            "url": "https://files.pythonhosted.org/packages/72/d7/06eb308310281200e113910a675ea63483eeafcb1d851db8ef98393a3e33/PyAudio-0.2.14-cp38-cp38-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "054d8e96cb4e350870b4c8b73f18903804dd9c2d99792beeddf7e7f7c74ed1bd",
                "md5": "fac1008e491bfd143b92d1f5379cb4a8",
                "sha256": "f745109634a7c19fa4d6b8b7d6967c3123d988c9ade0cd35d4295ee1acdb53e9"
            },
            "downloads": -1,
            "filename": "PyAudio-0.2.14-cp39-cp39-win32.whl",
            "has_sig": false,
            "md5_digest": "fac1008e491bfd143b92d1f5379cb4a8",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 144621,
            "upload_time": "2023-11-07T07:11:46",
            "upload_time_iso_8601": "2023-11-07T07:11:46.455691Z",
            "url": "https://files.pythonhosted.org/packages/05/4d/8e96cb4e350870b4c8b73f18903804dd9c2d99792beeddf7e7f7c74ed1bd/PyAudio-0.2.14-cp39-cp39-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ac9ecb59be3b49a6c1ee6350f27ca1abae2be2c7e643eac63cf10c399c4d6f71",
                "md5": "97c1852fb1e5bca6ff15725938b62eae",
                "sha256": "009f357ee5aa6bc8eb19d69921cd30e98c42cddd34210615d592a71d09c4bd57"
            },
            "downloads": -1,
            "filename": "PyAudio-0.2.14-cp39-cp39-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "97c1852fb1e5bca6ff15725938b62eae",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 164066,
            "upload_time": "2023-11-07T07:11:47",
            "upload_time_iso_8601": "2023-11-07T07:11:47.588466Z",
            "url": "https://files.pythonhosted.org/packages/ac/9e/cb59be3b49a6c1ee6350f27ca1abae2be2c7e643eac63cf10c399c4d6f71/PyAudio-0.2.14-cp39-cp39-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "261d8878c7752febb0f6716a7e1a52cb92ac98871c5aa522cba181878091607c",
                "md5": "c7234ad1e84c945374c1686b7915ed1a",
                "sha256": "78dfff3879b4994d1f4fc6485646a57755c6ee3c19647a491f790a0895bd2f87"
            },
            "downloads": -1,
            "filename": "PyAudio-0.2.14.tar.gz",
            "has_sig": false,
            "md5_digest": "c7234ad1e84c945374c1686b7915ed1a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 47066,
            "upload_time": "2023-11-07T07:11:48",
            "upload_time_iso_8601": "2023-11-07T07:11:48.806035Z",
            "url": "https://files.pythonhosted.org/packages/26/1d/8878c7752febb0f6716a7e1a52cb92ac98871c5aa522cba181878091607c/PyAudio-0.2.14.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-07 07:11:48",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "pyaudio"
}
        
Elapsed time: 0.13371s