3 .de EX \" Begin Example
14 .TH SPEAKER\-TEST 1 "20 September 2004" speaker-test
16 speaker\-test \- command-line speaker test tone generator for ALSA
19 .BR "" [ \-D | \-\-device
21 .BR "" [ \-r | \-\-rate
23 .BR "" [ \-c | \-\-channels
25 .BR "" [ \-f | \-\-frequency
27 .BR "" [ \-p | \-\-period
29 .BR "" [ \-n | \-\-noise
31 .BR "" [ \-s | \-\-speaker
33 .BR "" [ \-w | \-\-wavfile
35 .BR "" [ \-W | \-\-wavdir
42 \fBspeaker\-test\fP generates a tone that can be used to test the speakers of a computer.
47 \fB\-c\fP | \fB\-\-channels\fP \fINUM\fP
48 \fINUM\fP channels in stream
51 \fB\-D\fP | \fB\-\-device\fP \fINAME\fP
52 PCM device name \fINAME\fP
55 \fB\-f\fP | \fB\-\-frequency\fP \fIFREQ\fP
56 sine wave of \fIFREQ\fP Hz
63 \fB\-p\fP | \fB\-\-period\fP \fITIME\fP
64 period size of \fITIME\fP microseconds
67 \fB\-r\fP | \fB\-\-rate\fP \fIRATE\fP
68 stream of \fIRATE\fP Hz
71 \fB\-s\fP | \fB\-\-speaker\fP \fBpink\fP|\fBsine\fP|\fBwav\fP
72 -tpink means use pink noise (default).
74 Pink noise is perceptually uniform noise - that is, it sounds like every frequency at once. If you can hear any tone it may indicate resonances in your speaker system or room.
76 -tsine means use sine wave.
78 -twav means to play WAV files, either pre-defined files or given via -w option.
80 You can pass the number from 1 to 3 as a backward compatibility.
83 \fB\-s\fP | \fB\-\-speaker\fP \fBpink\fP|\fBsine\fP|\fBwav\fP
84 Test speaker 1 or speaker 2 only, rather than both
87 \fB\-w\fP | \fB\-\-wavfile\fP
88 Use the given WAV file for the playback instead of pre-defined WAV files.
91 \fB\-W\fP | \fB\-\-wavdir\fP
92 Specify the directory containing WAV files for playback.
97 Produce stereo sound from one stereo jack:
99 speaker-test -Dplug:front -c2
102 Produce 4 speaker sound from two stereo jacks:
104 speaker-test -Dplug:surround40 -c4
107 Produce 5.1 speaker sound from three stereo jacks:
109 speaker-test -Dplug:surround51 -c6
112 To send a nice low 75Hz tone to the Woofer and then exit without touching any other speakers:
114 speaker-test -Dplug:surround51 -c6 -s1 -f75
118 The speaker-test program was written by James Courtier-Dutton.
119 Pink noise support was added by Nathan Hurst.