Files
tldr/pages.zh/linux/speaker-test.md

21 lines
548 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 扬声器测试
> ALSA 的扬声器测试音频生成器。
> 另请参阅: `aplay` `arecord` `amixer`。
> 更多信息: <https://manned.org/speaker-test>。
- 使用粉红噪声测试默认扬声器:
`speaker-test`
- 使用正弦波测试默认扬声器:
`speaker-test {{-t|--test}} sine {{-f|--frequency}} {{frequency}}`
- 使用预定义的 WAV 文件测试默认扬声器:
`speaker-test {{-t|--test}} wav`
- 使用 WAV 文件测试默认扬声器:
`speaker-test {{-t|--test}} wav {{-w|--wavfile}} {{path/to/file}}`