Skip to main content

audiobackend

A high-quality audio playback library for Python with DSD support and efficient buffer management.

Features

  • High-quality audio playback with various formats support (MP3, WAV, FLAC, DSD)
  • Efficient buffer management for optimal memory usage
  • Automatic sample rate detection and resampling
  • Thread-safe implementation
  • Simple and intuitive API

Installation

pip install audiobackend

Requirements

  • Python 3.7 or higher
  • FFmpeg (required by PyAV)

System Dependencies

Ubuntu/Debian:

sudo apt-get install libav-tools portaudio19-dev

macOS:

brew install ffmpeg portaudio

Windows:

  • FFmpeg and PortAudio are included in the package dependencies

Quick Example

from audiobackend import AudioBackend

player = AudioBackend()
player.load_file("music.mp3")
player.play()

Documentation

For detailed information about usage, API reference, and advanced features, visit our documentation.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the GPL-3.0 License - see the LICENSE file for details.

Metadata

Release files for audiobackend 0.1.0

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

Source distribution (sdist)

Source distribution for audiobackend 0.1.0
File Size Uploaded Provenance
audiobackend-0.1.0.tar.gz 9.4 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for audiobackend 0.1.0
File Interpreter ABI Platform
audiobackend-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.4 MB

Release files / audiobackend-0.1.0.tar.gz

Download URL audiobackend-0.1.0.tar.gz
Size 9.4 MB
Tags Source
SHA-256 checksum
How to use checksums
1a68ed7f7ff898a5cc57ca6aad5f2b8a66c9bdf8fd781885affa82c6e6eb62a9
BLAKE2b-256 checksum
How to use checksums
ddb1549fa26a41ee3fedc8738c5562deaa3071b4addd945b231abfec75b4bae2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / audiobackend-0.1.0-py3-none-any.whl

Download URL audiobackend-0.1.0-py3-none-any.whl
Size 19.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b624bdad374db929376553a70c3c96751b49a98f1dcdcbc1e621d9eb2f10b96
BLAKE2b-256 checksum
How to use checksums
0c987909dc3649cd8e634a52bdf21cf6a666ce063dce1cb9e8c4bbfcd26c781c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Security for audiobackend 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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