1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 08:55:33 +02:00
tldr/pages/linux/pw-cat.md
Vitor Henrique 3e9e229f49
mpv, pw-cat: update page; mpv: add pt_BR translation (#11734)
* mpv: merge file and URL playing examples

* mpv: add screenshot example

* mpv: move speed range to placeholder

* mpv: add pt_BR translation

* mpv: translate or in pt_BR

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

* mpv: fix: moving pt_BR translation to common/

* pw-cat: add quality example

* mpv: replace url example with "url"

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* mpv: use English versions of keys in pt_BR

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* mpv, pw-cat: fix verb tenses and use relative path in screenshot

Co-authored-by: Isaac Vicente <isaacvicentsocial@gmail.com>

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Isaac Vicente <isaacvicentsocial@gmail.com>
2023-12-17 01:46:32 -03:00

595 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}}

  • Play a WAV file with a specified resampler quality (4 by default):

pw-cat --quality {{0..15}} --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}}