← 返回命令列表

Linux command

pw-dsdplay 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Play a DSF file

pw-dsdplay [path/to/file.dsf]

Play with a specific volume

pw-dsdplay --volume [0.5] [path/to/file.dsf]

Play to a specific target node

pw-dsdplay --target [node_id] [path/to/file.dsf]

Play with verbose output

pw-dsdplay -v [path/to/file.dsf]

说明

pw-dsdplay plays DSD (Direct Stream Digital) audio files in DSF format through a PipeWire server. It is a convenience wrapper for pw-cat --playback --dsd, making DSD data available to the PipeWire audio graph. DSD is a high-resolution audio format used in Super Audio CDs (SACDs) that encodes audio as a stream of single-bit values at very high sample rates (typically 2.8224 MHz or higher). Native DSD playback requires compatible hardware that supports DSD natively. When - is given as the file, data is read from stdin.

参数

--volume _level_
Stream volume (default 1.0).
--rate _hz_
Sample rate in Hz (default 48000).
--channels _num_
Number of audio channels (default 2).
--channel-map _map_
Channel layout (e.g. stereo, surround-51, or custom FL,FR mapping).
--format _fmt_
Sample format: u8, s8, s16, s24, s32, f32, f64 (default s16).
--target _value_
Target node: auto, 0, or a specific node ID.
--latency _value_
Node latency (default 100ms).
-q, --quality _level_
Resampler quality (0-15, default 4).
-R, --remote _name_
Connect to a specific PipeWire instance.
-P, --properties _json_
Extra stream properties as a JSON object.
-v, --verbose
Enable verbose output.
-h, --help
Display help information.
--version
Show version details.

FAQ

What is the pw-dsdplay command used for?

pw-dsdplay plays DSD (Direct Stream Digital) audio files in DSF format through a PipeWire server. It is a convenience wrapper for pw-cat --playback --dsd, making DSD data available to the PipeWire audio graph. DSD is a high-resolution audio format used in Super Audio CDs (SACDs) that encodes audio as a stream of single-bit values at very high sample rates (typically 2.8224 MHz or higher). Native DSD playback requires compatible hardware that supports DSD natively. When - is given as the file, data is read from stdin.

How do I run a basic pw-dsdplay example?

Run `pw-dsdplay [path/to/file.dsf]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --volume _level_ do in pw-dsdplay?

Stream volume (default 1.0).