Oct 27, 3:35pm

On Debian 13 (trixie), GNOME's Sound settings only let you pick devices, not route audio arbitrarily — but the underlying stack is PipeWire + WirePlumber, which gives you several ways to send a microphone to an output (monitoring). Here are the practical options, easiest first:

1. Graphical: qpwgraph (patchbay)

bash
sudo apt install qpwgraph

Launch it, find your microphone's node on one side (its capture_FL/capture_FR or output ports) and your output device's node on the other (its playback_FL/playback_FR input ports), then drag a connection between them. The link is live immediately. This is the standard PipeWire graph editor for exactly this kind of non-trivial routing (Big Iron guide, qpwgraph).

Helvum (sudo apt install helvum) is a similar GTK alternative if you prefer a lighter tool.

2. Command line: pw-loopback (temporary)

Find your source and sink names first:

bash
pw-record --list-targets   # or: pactl list sources short
pactl list sinks short

Then:

bash
pw-loopback --capture '<microphone-node-name>' --playback '<output-node-name>'

Kill the process (or use its PID) to stop. This just loads PipeWire's loopback module, which passes a capture stream's output unmodified to a playback stream (PipeWire loopback docs).

3. Persistent: config drop-in

To make the routing survive reboots, create ~/.config/pipewire/pipewire.conf.d/99-mic-monitor.conf:

text
context.modules = [
  { name = libpipewire-module-loopback
    args = {
      node.description = "Mic Monitor"
      capture.props = {
        node.name = "mic-monitor-capture"
        target.object = "<microphone-node-name>"
        stream.dont-remix = true
        node.passive = true
      }
      playback.props = {
        node.name = "mic-monitor-playback"
        target.object = "<output-node-name>"
      }
    }
  }
]

Then systemctl --user restart pipewire wireplumber. Get the node names (e.g. alsa_input.usb-..., alsa_output.pci-...) from pactl list sources short / pactl list sinks short (Debian manpage for module-loopback).

⚠️ Caveats

  • Use headphones. With speakers you'll get feedback/echo howl, since the mic will pick up its own output.
  • There's inherent latency — the loopback module supports a latency/target.delay.sec option if you need to tune it (loopback docs).
  • If your goal is actually to remove your mic from an app's perspective, or to feed a mic into a virtual device for OBS/Discord, that's the same setup — the loopback just creates a virtual node pair you can route freely in qpwgraph.
Oct 27, 3:35pm

This is a shared conversation and may include unverified content that doesn't reflect Mistral AI's views. Login to resume chatting.

Vibe can make mistakes. Check answers. Learn more