Skip to main content

Send and receive Jack MIDI data as multicast streams over network.

Project description

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:

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

jack_netbridge-0.2.0.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

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

jack_netbridge-0.2.0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file jack_netbridge-0.2.0.tar.gz.

File metadata

  • Download URL: jack_netbridge-0.2.0.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.4 Linux/5.19.0-1017-lowlatency

File hashes

Hashes for jack_netbridge-0.2.0.tar.gz
Algorithm Hash digest
SHA256 19bbbe01f3aecaf069469c49530b13b045137e4bd0945719791e0f64f961107f
MD5 924e5e8bbfb266ca1781848c5f44d8c9
BLAKE2b-256 c84146371b9cb47946748cb1a86f831db7ba607331f52fefbfcf723ddc20a431

See more details on using hashes here.

File details

Details for the file jack_netbridge-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: jack_netbridge-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.4 Linux/5.19.0-1017-lowlatency

File hashes

Hashes for jack_netbridge-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a4dd36e3c10284a13723e6d2e2a84ef3620aa518f85c9592a4f632377f530ac4
MD5 74fbd30eecc509fea973e1e2f2e5bb7f
BLAKE2b-256 371cb2497e18f20801cc37fda357d414c54d62a2ece9c4fa019382a88001b4bb

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