AUDIOTEST(1) User Commands AUDIOTEST(1)

audiotest - test audio device

audiotest [-2457] [-l] [-r rate] [dev] ...

The audiotest utility runs a test for the named audio device (or all audio devices found on the system if none is given). The test includes playing an audio sample over each channel and measuring the rate of playback for clock drift.

The following options are supported:

-l

Loop mode. The test is run in an infinite loop.

-r rate

Sample rate. By default 48000Hz is used.

-2

Stereo (2-channel) mode. This is the default mode. Playback assumes 2 channels are present.

-4

Quadraphonic mode (4-channel surround). The test assumes that four surround channels are present.

-5

Surround sound mode (5.1). The test checks the left, right, surround left, surround right, and center channels. The low frequency effects channel is not tested.

-7

Surround sound mode (7.1). The test checks the left, right, surround left, surround right, back surround left, back surround right, and center channels. The low frequency effects channel is not tested.

If multiple modes are specified, the last one specified is used.

dev
The path to the device to test, for example, /dev/dsp0.

audioconvert(1), audiorecord(1), audio(7I)

audiotest has no way to detect the number of actual audio channels supported by the physical device.

audiotest does not test the low-frequency effects (LFE) channel.

There is no test for audio capture, volume controls, or other advanced device features.

February 8, 2020