Skip to main content

aiovban-pyaudio

A high-performance PyAudio bridge for the aiovban ecosystem.

Overview

aiovban-pyaudio provides the necessary tools and libraries to bridge VBAN network audio with your local sound hardware. It is built on top of aiovban and leverages its zero-copy architecture for stable, high-bitrate audio streaming with minimal CPU overhead.

Features

  • High-Performance Bridge: Leverages memoryview and zero-copy patterns for efficient audio transfer.
  • Asynchronous Loop Support: Full support for uvloop for low-latency network handling.
  • Command-Line Tools: Ready-to-use binaries for receiving and sending audio.
  • Dynamic Resampling: Handles stream format changes (channels, sample rate) in real-time.

Installation

pip install aiovban-pyaudio[cli]

CLI Usage

Receiving Audio

Connect to a remote VBAN stream and play it through your local speakers:

# aiovban-receiver <host>/<stream_name>
aiovban-receiver 192.168.1.50/Stream1 --output-device "Speakers"

Sending Audio

Capture audio from your local microphone and send it over the network:

aiovban-sender --address 192.168.1.50 --stream-name "Mic" --input-device "Microphone"

Advanced Usage

You can use the VBANAudioPlayer and VBANAudioSender classes directly in your own asyncio applications for deep integration.

from aiovban_pyaudio import VBANAudioPlayer
from aiovban.asyncio import AsyncVBANClient

# ... register device and get stream ...
player = VBANAudioPlayer(stream=stream)
await player.listen()

License

This project is licensed under the MIT License.

Metadata

Release files for aiovban-pyaudio 0.2.8

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

Source distribution (sdist)

Source distribution for aiovban-pyaudio 0.2.8
File Size Uploaded Provenance Actions
aiovban_pyaudio-0.2.8.tar.gz 10.7 kB Without provenance Details for aiovban_pyaudio-0.2.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aiovban-pyaudio 0.2.8
File Interpreter ABI Platform Actions
aiovban_pyaudio-0.2.8-py3-none-any.whl Python 3 none any Details for aiovban_pyaudio-0.2.8-py3-none-any.whl

Total release size: 24.5 kB

Release files / aiovban_pyaudio-0.2.8.tar.gz

Download URL aiovban_pyaudio-0.2.8.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
547a299deb9e51b161bd7844b954599eb1a1afcd4702805d4bff19ab6a898a4a
BLAKE2b-256 checksum
How to use checksums
cc5011e371bc2314a288d377ad4554280bf6db1a7b934994e0d2788953cce432
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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 / aiovban_pyaudio-0.2.8-py3-none-any.whl

Download URL aiovban_pyaudio-0.2.8-py3-none-any.whl
Size 13.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a4ca380f479bfc4b844ea9e43c15dd8de5887c5446790b48a54eba3abc5bbcf6
BLAKE2b-256 checksum
How to use checksums
a73ec6e2addb2ea913e6acfd36d37e555f70bebf950783ae9c09f15878c4c354
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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 aiovban-pyaudio 0.2.8

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