2021-09-28 12:53:19 +01:00
|
|
|
# pw-cat
|
|
|
|
|
2024-03-14 05:01:06 +00: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}}`
|