Back to technology news
Software & Applications

Fedora Linux and PipeWire Enable Low-Latency Remote Bass Jams with SonoBus

Thanks to Fedora Linux and its native adoption of the PipeWire architecture, real-time audio production and streaming on Linux have become extremely accessible and rock-solid. By pairing PipeWire with the open-source application SonoBus, you can transform your Fedora workstation into a virtual studio for ultra-low-latency remote rehearsals and jam sessions. Remote music collaboration has always been a complex challenge because even a few milliseconds of delay can make it impossible for a bassist and a drummer to stay "in the pocket." Traditionally, configuring low-latency audio on Linux required complex setups involving the JACK audio server, specific system permissions, and custom shell scripts.

This step-by-step guide walks through setting up gear, optimizing Fedora's system audio parameters, and managing signal routing to play in real time with musicians anywhere in the world. While the guide uses the electric bass as a practical baseline, all procedures, PipeWire configuration commands, buffer optimizations, and SonoBus settings apply identically to any other musical instrument, including guitar, keyboard, electronic drums, vocals, or synthesizers. Before tweaking software configurations, it is essential to ensure that your physical hardware chain is up to the task because real-time audio does not forgive hardware or network bottlenecks.

Hardware requirements include an electric bass or other instrument with an active or passive pickup system, a USB audio interface with a high-impedance input for string instruments or line and XLR inputs for other instruments and microphones, and studio wired headphones plugged directly into the audio interface's headphone jack. Bluetooth headphones or speakers must be strictly avoided because the wireless protocol introduces an unavoidable 50 to 200 milliseconds of added latency. Network requirements call for a wired Ethernet connection using a Cat6 or higher cable, as Wi-Fi suffers from unpredictable packet delivery variations that result in constant pops, crackles, and audio stream dropouts.

Fedora makes installation of both SonoBus and qpwgraph possible via dnf or Flatpak and Flathub. SonoBus can be installed via Flathub using flatpak install flathub net.sonobus.SonoBus, while qpwgraph is installed with sudo dnf install qpwgraph. qpwgraph presents a graphical node matrix where you can connect physical and virtual audio inputs and outputs using your mouse. To achieve a true real amp feel, total round-trip latency should ideally stay under 10 to 15 milliseconds. PipeWire allows you to dynamically alter the buffer size and sample rate without restarting the audio daemon or system, with recommended values of 48000 Hz sample rate and 128 or 256 samples buffer size.

You can temporarily set PipeWire's latency for your current session using the pw-metadata command to force sample rate to 48kHz and buffer size to 128 samples, or raise the buffer to 256 samples if your audio interface or CPU experiences small pops or crackles. Alternatively, launch SonoBus directly with PipeWire environment variables using PIPEWIRE_LATENCY="128/48000" flatpak run net.sonobus.SonoBus. For audio routing, connect your instrument to input 1 on your audio interface and adjust the gain so hard picking peaks hit around -12 dB to -6 dB on the meter. Open qpwgraph, locate your USB audio interface and SonoBus nodes, drag a virtual patch cable from capture 1 into SonoBus input L, and ensure SonoBus output L/R is connected to your headphone outputs.

In SonoBus, click connect, enter a group or room name and your display name, then share the room name with your bandmates. Under your input signal panel, set the audio format to Opus PCM Uncompressed or Opus 64-96 kbps depending on your available internet bandwidth. Best practices include setting the SonoBus receive buffer to Auto or manually adjusting it based on network stability, using direct monitoring to adjust volume and stereo panning for each participant, and optionally inserting effects hosts like Carla, Guitarix, or Fedora Jam tools between your instrument capture node and SonoBus input in qpwgraph. Fedora Linux and PipeWire offer musicians a professional, rock-solid, and immediate audio infrastructure, making remote rehearsals with an electric bass or any other instrument a natural, fluid, and ultra-low-latency experience.

Source credits

By Mino Mitrugno from Fedora Magazine. Edited by SetuGeo.

CC BY-SA 4.0

More technology news

Browse all technology news