mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 02:02:07 +02:00

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>
16 lines
463 B
Markdown
16 lines
463 B
Markdown
# 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}}`
|