JACK_NETSOURCE(1)

πŸ“¦
version 4 Β· 6 versions
, in arch rolling, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– JACK_NETSOURCE πŸ’–

okay bestie, welcome to the netjack master class, and yes the name of the game is jack_netsource β€” it lives in the General Commands Manual, section 1, and it's the Netjack Master client for one slave. πŸŽ€


✨ NAME ✨

jack_netsource β€” Netjack Master client for one slave 🫢


🌸 SYNOPSIS 🌸

jack_netsource [ -H hostname ] [ options ]

πŸ¦‹ DESCRIPTION πŸ¦‹

So jack_netsource is, like, the Master side of a netjack connection. It literally stands in for the slave jackd -dnet inside your master jack graph, main character energy fr fr. πŸ‘‘

Most of the connection parameters get configured via the netsource, and the slave will set itself up according to the commandline option given to jack_netsource. no cap.

Netjack allows low latency audio connections over general IP networks. And when you're using opus for compression? bestie, it is even possible to establish transatlantic links 🌈 with latencies not much over the actual ping time. iconic. But the main usecase is of course a LAN, where it can achieve one jack period of latency. ✨


πŸ’… OPTIONS πŸ’…

  • -h β€” this help text
  • -H slave host β€” Host name of the slave JACK πŸ–₯️
  • -o num channels β€” Number of audio playback channels
  • -i num channels β€” Number of audio capture channels
  • -O num channels β€” Number of midi playback channels 🎹
  • -I num channels β€” Number of midi capture channels
  • -n periods β€” Network latency in JACK periods
  • -p port β€” UDP port that the slave is listening on
  • -r reply port β€” UDP port that we are listening on
  • -B bind port β€” reply port, for use in NAT environments
  • -b bitdepth β€” Set transport to use 16bit or 8bit
  • -P kbits β€” Use Opus encoding with <kbits> per channel
  • -m mtu β€” Assume this mtu for the link
  • -R N β€” Redundancy: send out packets N times.
  • -e β€” skip host-to-network endianness conversion
  • -N jack name β€” Reports a different client name to jack
  • -s, --server servername β€” Connect to the jack server named servername
  • -h, --help β€” Display help/usage message
  • -v, --version β€” Output version information and exit

🌈 EXAMPLES 🌈

okay so here's the vibe: run a 4 audio channel bidirectional link with one period of latency and no midi channels. Audio data is flowing uncompressed over the wire. periodt. πŸ’«

On hostA:

jackd -d alsa
jack_netsource -H hostB -n1 -i4 -o4 -I0 -O0

On hostB:

jackd -d net

and that's the whole page, bestie πŸŽ€ this one came from the 4 build, dated 2022, and it's filed under JACK_NETSOURCE(1) β€” go forth and slay those low latency links πŸ’–βœ¨πŸ¦‹