I’ve recently been playing with Pipewire. Here’s a quick tip if you want to create a “virtual microphone” that you can use to link audio from programs like OBS to a virtual microphone for video call software like Zoom or Meet.
#!/usr/bin/env bash
# Create a virtual sink that can be set as a monitor in OBS
pactl load-module module-null-sink sink_name=VirtualSpeaker sink_properties=device.description=VirtualSpeaker
# Link it with a virtual source that is visible in pulseaudio apps like Zoom
pactl load-module module-null-sink media.class=Audio/Source/Virtual sink_name=VirtualMic channel_map=front-left,front-right
pw-link VirtualSpeaker:monitor_FL VirtualMic:input_FL
pw-link VirtualSpeaker:monitor_FR VirtualMic:input_FR
This is just putting together commands conveniently discussed in the Pipewire wiki.