A high-quality audio playback library for Python with DSD support and efficient buffer management.
- 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
pip install audiobackend
- Python 3.7 or higher
- FFmpeg (required by PyAV)
Ubuntu/Debian:
sudo apt update
sudo apt install libportaudio2 libportaudiocpp0 portaudio19-dev
macOS:
brew install ffmpeg portaudio
Windows:
- FFmpeg and PortAudio are included in the package dependencies
from audiobackend import AudioBackend
player = AudioBackend()
player.load_file("music.mp3")
player.play()
For detailed information about usage, API reference, and advanced features, visit our documentation.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the GPL-3.0 License - see the LICENSE file for details.