2021-09-28 14:53:19 +03:00
|
|
|
# pw-cat
|
|
|
|
|
2024-03-14 02:01:06 -03:00
|
|
|
> Play and record audio files through PipeWire.
|
2025-02-09 09:22:00 +02:00
|
|
|
> More information: <https://docs.pipewire.org/page_man_pw-cat_1.html>.
|
2021-09-28 14:53:19 +03:00
|
|
|
|
|
|
|
- Play a WAV file over the default target:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`pw-cat {{[-p|--playback]}} {{path/to/file.wav}}`
|
2021-09-28 14:53:19 +03:00
|
|
|
|
2023-12-17 01:46:32 -03:00
|
|
|
- Play a WAV file with a specified resampler quality (4 by default):
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`pw-cat {{[-q|--quality]}} {{0..15}} {{[-p|--playback]}} {{path/to/file.wav}}`
|
2023-12-17 01:46:32 -03:00
|
|
|
|
2023-12-19 20:48:30 -03:00
|
|
|
- Record a sample recording at a volume level of 125%:
|
2021-09-28 14:53:19 +03:00
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`pw-cat {{[-r|--record]}} --volume {{1.25}} {{path/to/file.wav}}`
|
2021-09-28 14:53:19 +03:00
|
|
|
|
|
|
|
- Record a sample recording using a different sample rate:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`pw-cat {{[-r|--record]}} --rate {{6000}} {{path/to/file.wav}}`
|
2025-03-26 00:36:41 +02:00
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
|
|
|
`pw-cat {{[-h|--help]}}`
|