Skip to main content

pyao

Python libao interface.

Overview

PyAO is a Python wrapper for libao. It provides a simple interface for playing audio data.

Installation

pip install pylibao

Usage

Here is a simple example:

import pyao

pyao.init()

preset = pyao.presets.FMT_B16C2R44100LE

with pyao.AO.open_live(pyao.get_default_driver_id(), preset) as ao:
    ao.play(b'\x00\x01\x02\x03')  # play data

pyao.shutdown()

Metadata

Release files for pylibao 0.1.3

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

Source distribution (sdist)

Source distribution for pylibao 0.1.3
File Size Uploaded Provenance Actions
pylibao-0.1.3.tar.gz 7.3 kB Without provenance Details for pylibao-0.1.3.tar.gz

Release files / pylibao-0.1.3.tar.gz

Download URL pylibao-0.1.3.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
700f8076ce219dfa753a3949077f506be143bcfa8dbfcc6b4a294e8bd5e9e0fb
BLAKE2b-256 checksum
How to use checksums
a0b393c9e8448f4631159a79c263fd35b94e1c11ef645d2a69397694f564a2d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Security for pylibao 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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