Skip to main content

High-quality audio playback library with DSD support and efficient buffer management

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

audiobackend-0.1.0.tar.gz (9.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

audiobackend-0.1.0-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

Details for the file audiobackend-0.1.0.tar.gz.

File metadata

  • Download URL: audiobackend-0.1.0.tar.gz
  • Upload date:
  • Size: 9.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for audiobackend-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1a68ed7f7ff898a5cc57ca6aad5f2b8a66c9bdf8fd781885affa82c6e6eb62a9
MD5 dfbe49777b7bf9ba3dd340635b6c0554
BLAKE2b-256 ddb1549fa26a41ee3fedc8738c5562deaa3071b4addd945b231abfec75b4bae2

See more details on using hashes here.

File details

Details for the file audiobackend-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: audiobackend-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for audiobackend-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9b624bdad374db929376553a70c3c96751b49a98f1dcdcbc1e621d9eb2f10b96
MD5 cdf47cda2acfb848acd535a3924011bf
BLAKE2b-256 0c987909dc3649cd8e634a52bdf21cf6a666ce063dce1cb9e8c4bbfcd26c781c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page