PyALSoft
PyALSoft provides function-oriented playback and capture APIs, plus typed bindings for OpenAL Soft. Wheels include the native OpenAL Soft runtime and static-audio decoder.
Read the documentation | Browse the API reference | View the examples
PyALSoft is an independent project and is not affiliated with or endorsed by the OpenAL Soft project.
Installation
PyALSoft requires Python 3.12 or later.
python -m pip install pyalsoft
Quick start
play starts a WAV, FLAC, MP3, or Ogg Vorbis file immediately and returns a
control handle:
from pyalsoft import play
sound = play("sound.wav")
sound.wait()
Use play("sound.wav", spatialize=False) for player-attached or UI audio that
should not receive positional, distance, Doppler, or HRTF processing.
The managed API also supports spatial audio, effects and filters, recording, streaming, typed device and context configuration, live device reconfiguration, HRTF profile selection, and explicit playback sessions. See the documentation for guides and the complete API reference.
The lower-level pyalsoft.bindings namespace exposes typed OpenAL, ALC, EFX,
and extension bindings, together with owned device and context handles.
Contributing
Development occurs on the development branch. Create the locked environment
with uv:
uv sync --python 3.12
Before submitting a change, run the core checks:
uv run pytest
uv run ruff check .
uv run ruff format --check .
uv run mypy
uv run python tools/generate_bindings.py --check
uv run python tools/sync_openal_soft.py --check
uv run mkdocs build --strict
Bindings and docs/reference.md are generated from the vendored OpenAL
registry. See the repository tool guide for development and
release commands.
Add an entry under Unreleased in the changelog for every
notable user-facing change. Group entries under Added, Changed,
Deprecated, Removed, Fixed, or Security, and describe the effect from
the user's perspective. Internal refactors, tests, and formatting do not need
entries.
For example:
## Unreleased
### Added
- Added reverse playback support to `PlayingSound`. (@BDraves)
### Fixed
- Prevented audio frames from shifting left when replacing a sound's filter.
(@BDraves)
License
PyALSoft's original Python code is available under the MIT License. Bundled OpenAL Soft and other third-party components remain under their respective licenses. The distribution includes their license texts and a third-party notice.
Metadata
Release files for pyalsoft 1.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyalsoft-1.8.0.tar.gz | 4.1 MB | Without provenance | Details for pyalsoft-1.8.0.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| pyalsoft-1.8.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for pyalsoft-1.8.0-py3-none-win_amd64.whl |
| pyalsoft-1.8.0-py3-none-manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.28+ x86-64 | Details for pyalsoft-1.8.0-py3-none-manylinux_2_28_x86_64.whl |
| pyalsoft-1.8.0-py3-none-manylinux_2_28_aarch64.whl | Python 3 | none | Linux glibc 2.28+ ARM64 | Details for pyalsoft-1.8.0-py3-none-manylinux_2_28_aarch64.whl |
| pyalsoft-1.8.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for pyalsoft-1.8.0-py3-none-macosx_11_0_arm64.whl |
| pyalsoft-1.8.0-py3-none-macosx_10_13_x86_64.whl | Python 3 | none | macOS 10.13+ x86-64 | Details for pyalsoft-1.8.0-py3-none-macosx_10_13_x86_64.whl |
Total release size: 12.9 MB
Release files / pyalsoft-1.8.0.tar.gz
| Download URL | pyalsoft-1.8.0.tar.gz |
|---|---|
| Size | 4.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c55cb70cb40e1761d7816e07646b7b4a537094bd7fdda3215844388741e89003
|
|
BLAKE2b-256 checksum How to use checksums |
265d9957a79d98c737909b85cf9dd94529106ef73aee330a5e73bb717a0b2f90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pyalsoft-1.8.0-py3-none-win_amd64.whl
| Download URL | pyalsoft-1.8.0-py3-none-win_amd64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
60c5256adf21bcb19c3474ba6c64440b61a647e97117c42c598117646d2302aa
|
|
BLAKE2b-256 checksum How to use checksums |
514556068631e2ee32570c2ba3a7bb268b725570145dba6bd6b93a7e16f23a68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pyalsoft-1.8.0-py3-none-manylinux_2_28_x86_64.whl
| Download URL | pyalsoft-1.8.0-py3-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
44b5cc1e789b0bbeb043406574703bcb4db938b5e84c204fa550ca82d33dbb3e
|
|
BLAKE2b-256 checksum How to use checksums |
1e621872652e98641210b97e2030e628491558ba7e2103a0c842798b8416929a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pyalsoft-1.8.0-py3-none-manylinux_2_28_aarch64.whl
| Download URL | pyalsoft-1.8.0-py3-none-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | Linux glibc 2.28+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
875457618528cb3dc9ee87a0bd8ceb0212e8bcd391b63da16f1cbd2e777727ee
|
|
BLAKE2b-256 checksum How to use checksums |
6622f812581bfba1c332a5cf76ef340f4bb144301e31c21d773a33fc0dad5e91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pyalsoft-1.8.0-py3-none-macosx_11_0_arm64.whl
| Download URL | pyalsoft-1.8.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
01415b8c65c5dd9cd330caeb5cd2689ad75c97006b61d1540e7ba477297207fd
|
|
BLAKE2b-256 checksum How to use checksums |
4cf6d4262e7b58181d9960b74849e89cba119040be34c494fbd5feeb63d33d96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pyalsoft-1.8.0-py3-none-macosx_10_13_x86_64.whl
| Download URL | pyalsoft-1.8.0-py3-none-macosx_10_13_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | Python 3 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
4744deef69df2d7f6ee0565c6a3967a2fec778b02916fb1a5ce31291e9d029ad
|
|
BLAKE2b-256 checksum How to use checksums |
aa71c8f1657ebb85e194a1206ccef0d612bf6eb2f288c89c0674dc94a79b2e2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for pyalsoft 1.8.0
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.