pw-loopback
Create loopback devices in PipeWire. tldr-pages
On Linux
Linux
Create a loopback device with the default loopback behavior
pw-loopbackIdentifyCreate a loopback device that automatically connects to the speakers
pw-loopback --capture-props 'media.class=Audio/Sink'IdentifyCreate a loopback device that automatically connects to the microphone
pw-loopback --playback-props 'media.class=Audio/Source'IdentifyCreate a dummy loopback device that doesn't automatically connect to anything
pw-loopback --capture-props 'media.class=Audio/Sink' --playback-props 'media.class=Audio/Source'IdentifyForce the nodes to have specific ports
pw-loopback --channel-map '[FL FR]'IdentifyCreate a loopback device that automatically connects to the speakers and swaps the left and right channels between the sink and source
pw-loopback --capture-props 'media.class=Audio/Sink audio.position=[FL FR]' --playback-props 'audio.position=[FR FL]'IdentifyCreate a loopback device that automatically connects to the microphone and swaps the left and right channels between the sink and source
pw-loopback --capture-props 'audio.position=[FR FL]' --playback-props 'media.class=Audio/Source audio.position=[FL FR]'IdentifyGive the loopback node a name
pw-loopback --name "node_name"Identify