2021-09-28 14:53:19 +03:00
|
|
|
# pw-cat
|
|
|
|
|
2023-10-23 20:55:12 +00:00
|
|
|
> Play and record audio files through pipewire.
|
2021-09-28 14:53:19 +03:00
|
|
|
> 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}}`
|
|
|
|
|
2023-12-17 01:46:32 -03:00
|
|
|
- Play a WAV file with a specified resampler quality (4 by default):
|
|
|
|
|
|
|
|
`pw-cat --quality {{0..15}} --playback {{path/to/file.wav}}`
|
|
|
|
|
2021-09-28 14:53:19 +03:00
|
|
|
- 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}}`
|