1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 14:42:07 +02:00
tldr/pages/linux/pw-cat.md
Suren Lockwood 3e5510af6e
pw-cat, pw-record: remove deprecated example (#11174)
Option --list-targets is no longer available in the recent versions of pw-record; in order to list objects use either wpctl status or pw-cli ls or pw-dump instead. 

https://wiki.archlinux.org/title/PipeWire#Microphone_is_not_detected_by_PipeWire

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2023-10-23 23:55:12 +03:00

463 B

pw-cat

Play and record audio files through pipewire. More information: https://fedoraproject.org/wiki/QA:Testcase_PipeWire_PipeWire_CLI.

  • Play a WAV file over the default target:

pw-cat --playback {{path/to/file.wav}}

  • Record a sample recording at a different volume level:

pw-cat --record --volume={{0.1}} {{path/to/file.wav}}

  • Record a sample recording using a different sample rate:

pw-cat --record --rate={{6000}} {{path/to/file.wav}}