SPEAKER-TEST(1)
β¨ speaker-test β the manual page but make it a group chat β¨
okay so this is speaker-test, from section 1 of the General Commands Manual, and she is literally the command-line speaker test tone generator for ALSA π
π NAME π
speaker-test β command-line speaker test tone generator for ALSA. that's it, that's the girl. π
π¦ SYNOPSIS π¦
speaker-test [-options]
πΈ DESCRIPTION πΈ
so speaker-test generates a tone, and that tone is used to test the speakers of a computer. it's giving "is my left speaker even alive" energy and honestly we love her for it π«Ά
by default, speaker-test tests the default device. if you wanna test a different sound device, bestie, you first have to get a list of all the sound cards in your system and the devices associated with those cards. and not me having to say this but β there might be, like, one device for analog sound, one for digital sound, and one for HDMI sound. multiple devices, multiple vibes. π
to get the list of available cards and devices you can run aplay -L. periodt.
$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=ICH5
Intel ICH5, Intel ICH5
Default Audio Device
front:CARD=ICH5,DEV=0
Intel ICH5, Intel ICH5
Front speakers
surround40:CARD=ICH5,DEV=0
Intel ICH5, Intel ICH5
4.0 Surround output to Front and Rear speakers
(...)
in the above example, there are four devices listed: null, default, front and surround40. so if you want to test the last device you can run speaker-test -Dsurround40:ICH5 -c 6. and the -c option will indicate that the six audio channels in the device have to be tested. six channels?? she's booked and busy. π
π OPTIONS π
-c|--channels NUMβ NUM channels in stream. tell her how many channels, she handles the rest β¨-D|--device NAMEβ PCM device name NAME. pick your device, be specific, be iconic.-f|--frequency FREQβ sine wave of FREQ Hz. one specific frequency, coming right up π΅--helpβ Print usage help. lost? she's got you.-b|--buffer TIMEβ Use buffer size of TIME microseconds. When0is given, use the maximal buffer size. The default value is0.-p|--period TIMEβ Use period size of TIME microseconds. When0is given, the periods given by-Poption is used. The default value is0.-P|--nperiods PERIODSβ Use number of periods. The default value is4.-r|--rate RATEβ stream of RATE Hz.-t|--test pink|st2095|sine|wavβ pick your test vibe:-t pinkmeans use pink noise (default). 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. π-t st2095means use bandlimited pink noise at-18.5dB AES FS, generated according toSMPTE ST-2095:1-2015. In addition to speaker localization it may be used for system calibration, for example85dBfor thater drivers, with an extra+10dBfor subwoofers. Per the spec, it is intended "to be used in calibrating the sound pressure level and electroacoustic response of a cinema B-chain system." Note that sampling rates less than48KHzare outside the scope of the spec, and an attempt will be made to construct a reduced rate filter.-t sinemeans to use sine wave.-t wavmeans to play WAV files, either pre-defined files or given via-woption.- You can pass the number from
1to3as a backward compatibility.
-l|--nloops COUNTβ Specifies the number of loops. Zero means to run infinitely. When-soption below with a valid channel is given,speaker-testwill perform always a single-shot without looping.-s|--speaker CHANNELβ Do a single-shot speaker test for the given channel. The channel number starts from1. The channel number corresponds to left, right, rear-left, rear-right, center, LFE, side-left, side-right, and so on. For example, when1is passed, it tests the left channel only once rather than both channels with looping.-w|--wavfile FILEβ Use the given WAV file for the playback instead of pre-defined WAV files.-W|--wavdir DIRECTORYβ Specify the directory containing WAV files for playback. The default path is/usr/share/sounds/alsa.-m|--chmap MAPβ Pass the channel map to override. If the playback in a specific channel order or channel positions is required, pass the channel position strings to this option.-X|--force-frequencyβ Allow supplied FREQ to be outside the default range of30-8000Hz. A minimum of1Hzis still enforced. she'll let you go rogue, but only so rogue π
π₯ USAGE EXAMPLES π₯
Produce stereo sound from one stereo jack:
speaker-test -Dplug:front -c2
Produce 4 speaker sound from two stereo jacks:
speaker-test -Dplug:surround40 -c4
Produce 5.1 speaker sound from three stereo jacks:
speaker-test -Dplug:surround51 -c6
To send a nice low 75Hz tone to the Woofer and then exit without touching any other speakers:
speaker-test -Dplug:surround51 -c6 -s1 -f75
To do a 2-speaker test using the spdif (coax or optical) output:
speaker-test -Dplug:spdif -c2
Play in the order of front-right and front-left from the front PCM:
speaker-test -Dplug:front -c2 -mFR,FL
π SEE ALSO π
π AUTHOR π
The speaker-test program was written by James Courtier-Dutton. Pink noise support was added by Nathan Hurst. Further extensions by Takashi Iwai. SMPTE ST-2095:1 band-limited pink noise added by Rick Sayre.
and that's the whole page bestie, no notes π this was speaker-test from the General Commands Manual, dated April 2nd, 2011, and the manual name is SPEAKER-TEST(1). go test those speakers, you're gonna slay. ππ¦β¨
π¦ where this page comes from
- alpine 3.22: alsa-utils-doc 1.2.14-r0 Β· GPL-2.0-or-later
- alpine 3.23: alsa-utils-doc 1.2.14-r4 Β· GPL-2.0-or-later
- alpine 3.24: alsa-utils-doc 1.2.15.2-r1 Β· GPL-2.0-or-later
- arch rolling: alsa-utils 1.2.16-1 Β· GPL-2.0-or-later
- centos-stream 10: alsa-utils 1.2.16-1.el10 Β· GPL-2.0-or-later
- centos-stream 9: alsa-utils 1.2.16-1.el9 Β· GPLv2+
- debian trixie: alsa-utils 1.2.14-1 Β· GPL-2.0-only
- fedora 43: alsa-utils 1.2.14-2.fc43 Β· GPL-2.0-or-later
- fedora 43: alsa-utils 1.2.16-1.fc43 Β· GPL-2.0-or-later
- fedora 44: alsa-utils 1.2.15.2-3.fc44 Β· GPL-2.0-or-later
- fedora 44: alsa-utils 1.2.16-1.fc44 Β· GPL-2.0-or-later
- nixos 26.05: alsa-utils 1.2.14
- nixpkgs unstable: alsa-utils 1.2.16
- opensuse-leap 16.0: alsa-utils 1.2.14-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: alsa-utils 1.2.14-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: alsa-utils 1.2.14-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: alsa-utils 1.2.14-160000.2.2 Β· GPL-2.0-or-later
- ubuntu questing: alsa-utils 1.2.14-1ubuntu1
- ubuntu resolute: alsa-utils 1.2.15.2-1ubuntu1 Β· GPL-2.0-only
- ubuntu stonking: alsa-utils 1.2.15.2-1ubuntu2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms