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 "" [ \-s | \-\-speaker " " "1|2" ]
35 \fBspeaker\-test\fP generates a tone that can be used to test the speakers of a computer.
40 \fB\-c\fP | \fB\-\-channels\fP \fINUM\fP
41 \fINUM\fP channels in stream
44 \fB\-D\fP | \fB\-\-device\fP \fINAME\fP
45 PCM device name \fINAME\fP
48 \fB\-f\fP | \fB\-\-frequency\fP \fIFREQ\fP
49 sine wave of \fIFREQ\fP Hz
56 \fB\-p\fP | \fB\-\-period\fP \fITIME\fP
57 period size of \fITIME\fP microseconds
60 \fB\-r\fP | \fB\-\-rate\fP \fIRATE\fP
61 stream of \fIRATE\fP Hz
64 \fB\-s\fP | \fB\-\-speaker\fP \fB1\fP|\fB2\fP
65 Test speaker 1 or speaker 2 only, rather than both
69 Produce stereo sound from one stereo jack:
71 speaker-test -Dplug:front -c2
74 Produce 4 speaker sound from two stereo jacks:
76 speaker-test -Dplug:surround40 -c4
79 Produce 5.1 speaker sound from three stereo jacks:
81 speaker-test -Dplug:surround51 -c6
84 To send a nice low 75Hz tone to the Woofer and then exit without touching any other speakers:
86 speaker-test -Dplug:surround51 -c6 -s1 -f75
90 The speaker-test program was written by James Courtier-Dutton.