2021-09-28 12:53:19 +01:00
|
|
|
# pw-cat
|
|
|
|
|
2023-10-23 21:55:12 +01:00
|
|
|
> Play and record audio files through pipewire.
|
2021-09-28 12:53:19 +01: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 04:46:32 +00:00
|
|
|
- Play a WAV file with a specified resampler quality (4 by default):
|
|
|
|
|
|
|
|
`pw-cat --quality {{0..15}} --playback {{path/to/file.wav}}`
|
|
|
|
|
2023-12-19 23:48:30 +00:00
|
|
|
- Record a sample recording at a volume level of 125%:
|
2021-09-28 12:53:19 +01:00
|
|
|
|
2023-12-22 04:56:04 +00:00
|
|
|
`pw-cat --record --volume {{1.25}} {{path/to/file.wav}}`
|
2021-09-28 12:53:19 +01:00
|
|
|
|
|
|
|
- Record a sample recording using a different sample rate:
|
|
|
|
|
2023-12-22 04:56:04 +00:00
|
|
|
`pw-cat --record --rate {{6000}} {{path/to/file.wav}}`
|