#pulse-audio #audio #vban

app audio-bicycle

A two-way audio communicator using VBAN and PulseAudio

1 unstable release

0.1.0 Feb 26, 2023

#7 in #pulseaudio

AGPL-3.0-or-later

28KB
720 lines

Audio Bicycle

A two-audio communicator that uses the VBAN protocol to pass audio to another computer.

Usage

This is intended to work on any machine with PulseAudio, but has only been tested on Linux.

For Linux, add a ~/.config/audio-bicycle/config.toml file with the following contents:

local_address = "<local IP address>:<local port>"
dest_address = "<destination IP addres>:<destination port>"
stream_name = "<name>"

Replace each item in <angle brackets> with the appropriate value. By default, VBAN uses port 6980, so if you're unsure what to use, try that.

Then, cargo install audio-bicycle and run audio-bicycle. It's probably best to set it up as a service:

[Unit]
Description=audio-bicycle
BindsTo=pipewire-pulse.service # or pulseaudio.service
After=pipewire-pulse.service # or pulseaudio.service

[Service]
Type=simple
ExecStart=/home/<your user>/.cargo/bin/audio-bicycle # or wherever you installed it
Restart=on-failure

[Install]
WantedBy=default.target

Dependencies

~9–24MB
~270K SLoC