speaker-test [-options]
From Rpi Zero 01/12/23 JEBH condensed
aplay -L null Discard all samples (playback) or generate zero samples (capture) default Playback/recording through the PulseAudio sound server sysdefault Default Audio Device lavrate Rate Converter Plugin Using Libav/FFmpeg Library samplerate Rate Converter Plugin Using Samplerate Library speexrate Rate Converter Plugin Using Speex Resampler jack JACK Audio Connection Kit oss Open Sound System pulse PulseAudio Sound Server upmix Plugin for channel upmix (4,6,8) vdownmix Plugin for channel downmix (stereo) with a simple spacialization hw:CARD=vc4hdmi,DEV=0 vc4-hdmi, MAI PCM i2s-hifi-0 Direct hardware device without any conversions plughw:CARD=vc4hdmi,DEV=0 vc4-hdmi, MAI PCM i2s-hifi-0 Hardware device with all software conversions sysdefault:CARD=vc4hdmi vc4-hdmi, MAI PCM i2s-hifi-0 Default Audio Device hdmi:CARD=vc4hdmi,DEV=0 vc4-hdmi, MAI PCM i2s-hifi-0 HDMI Audio Output dmix:CARD=vc4hdmi,DEV=0 vc4-hdmi, MAI PCM i2s-hifi-0 Direct sample mixing device usbstream:CARD=vc4hdmi vc4-hdmi USB Stream Output surround40:CARD=ICH5,DEV=0 Intel ICH5, Intel ICH5 4.0 Surround output to Front and Rear speakers speaker-test -Dsurround40:ICH5 -c 6. # six audio channels
-c |
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 only and then exit: 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 aplay(1)
speaker-test -D hw:3,3 speaker-test 1.2.4 Playback device is hw:3,3 Stream parameters are 48000Hz, S16_LE, 1 channels Using 16 octaves of pink noise ALSA lib pcm_hw.c:1829:(_snd_pcm_hw_open) Invalid value for card Playback open error: -2,No such file or directory