Skip to main content

jack_netbridge

jack_netbridge is a Python tool to send and receive Jack audio and MIDI as multicast network streams. This is useful for transmitting audio or MIDI over a network with minimal latency using the JACK audio system.

Installation

pip install jack-netbridge

Usage

usage: jack_netbridge [-h] [-c CONFIG]

jack_netbridge: send/receive Jack audio and MIDI as multicast streams

options:
  -h, --help                      Show this help message and exit.
  -c CONFIG, --config CONFIG      Path to the configuration file.

Configuration file example

By default jack_netbridge will look for the ~/.jack_netbridge.toml file to read configuration. Each section in the TOML file describes a client and a port with arbitrary names, separated by :.

Configuration example:

["audio_recv_L:out"]
type = "AudioReceiver"
multicast_group = "239.0.0.1"
multicast_port = 4023
multicast_ttl = 2
interface_name = "eth1"

["audio_recv_R:out"]
type = "AudioReceiver"
multicast_group = "239.0.0.1"
multicast_port = 4024
multicast_ttl = 2
interface_name = "eth1"

["midi_recv_R:in"]
type = "MidiTransmitter"
multicast_group = "239.0.0.1"
multicast_port = 4025
multicast_ttl = 2
interface_name = "eth1"

Troubleshooting

  • Garbled audio: make sure that both sample rate and buffer size are identical for both receiver and transmitter.

  • No data sent or received: check if the current multicast group is sent / received on the right interface, e. g by checking ip route output.

Contribution

We welcome contributions to improve this project. Please submit issues and pull requests on the GitHub page.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Feedback and Issues

If you encounter any issues or would like to give feedback, please open an issue on the GitHub repository.

See also:

Metadata

Release files for jack-netbridge 0.2.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 jack-netbridge 0.2.0
File Size Uploaded
jack_netbridge-0.2.0.tar.gz 16.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jack-netbridge 0.2.0
File Interpreter ABI Platform
jack_netbridge-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 35.3 kB

Release files / jack_netbridge-0.2.0.tar.gz

Download URL jack_netbridge-0.2.0.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
19bbbe01f3aecaf069469c49530b13b045137e4bd0945719791e0f64f961107f
BLAKE2b-256 checksum
How to use checksums
c84146371b9cb47946748cb1a86f831db7ba607331f52fefbfcf723ddc20a431
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.4 Linux/5.19.0-1017-lowlatency

Release files / jack_netbridge-0.2.0-py3-none-any.whl

Download URL jack_netbridge-0.2.0-py3-none-any.whl
Size 18.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a4dd36e3c10284a13723e6d2e2a84ef3620aa518f85c9592a4f632377f530ac4
BLAKE2b-256 checksum
How to use checksums
371cb2497e18f20801cc37fda357d414c54d62a2ece9c4fa019382a88001b4bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.4 Linux/5.19.0-1017-lowlatency

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

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