Forrest logo
tool overview
On this page you find all important commands for the CLI tool pw-loopback. If the command you are looking for is missing please ask our AI.

pw-loopback

The command line tool "pw-loopback" is a utility that creates a virtual loopback audio device on your computer. It is primarily used to route audio between different applications or devices on the same computer.

With pw-loopback, you can create virtual audio inputs and outputs which behave like real physical devices. These loopback devices can be used to record audio from one application and play it back in another, or to route audio between different applications for processing or monitoring purposes.

The tool allows you to customize the number of input and output channels, sample rates, and buffer sizes for the loopback devices. It utilizes the PulseAudio sound server, which enables flexible audio routing and control on Linux-based systems.

By providing a convenient and efficient way to route audio within your computer, pw-loopback enhances the versatility and functionality of your audio setup. It is particularly useful for audio professionals, developers, and enthusiasts who require complex audio setups and application integration.

List of commands for pw-loopback:

  • pw-loopback:tldr:235f8 pw-loopback: Create a loopback device that automatically connects to the microphone.
    $ pw-loopback -m '${[FL FR]}' --playback-props='${media-class=Audio-Source}'
    try on your machine
    explain this command
  • pw-loopback:tldr:5b75e pw-loopback: Create a loopback device that automatically connects to the speakers.
    $ pw-loopback -m '${[FL FR]}' --capture-props='${media-class=Audio-Sink}'
    try on your machine
    explain this command
  • pw-loopback:tldr:9a56a pw-loopback: Create 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]}'
    try on your machine
    explain this command
  • pw-loopback:tldr:bba7e pw-loopback: Create a dummy loopback device that doesn't automatically connect to anything.
    $ pw-loopback -m '${[FL FR]}' --capture-props='${media-class=Audio-Sink}' --playback-props='${media-class=Audio-Source}'
    try on your machine
    explain this command
  • pw-loopback:tldr:e22a9 pw-loopback: Create a loopback device with the default loopback behavior.
    $ pw-loopback
    try on your machine
    explain this command
tool overview