Chapter 8. Sound
The Armadillo-440 LCD Model incorporates an audio codec and can both record and play sound. For the specifica-
tions of the audio driver, refer to "Audio" in the "Armadillo-400 Series Software Manual." This chapter explains how to
record and play sound.
8.1. Sound Functionality with ALSA
There are two ways to provide audio functionality on Linux: ALSA
[1]
and OSS
[2]
. ALSA is used by default on the
Armadillo-440 LCD Model.
8.1.1. Playing Back Sound
The
aplay
command is used to play sound with ALSA. See below for details on the options. For information on all
available options, refer to the aplay help.
-M
Use memory mapped I/O for the audio stream.
-t
Specify the file type. Refer to the help for what file types can be specified.
-f
Specify the sample format. Refer to the help for what sample formats can be specified.
-d
End after the specified number of seconds.
-l
List all sound cards and audio devices.
-L
List all defined PCM.
-c
Specify the number of channels.
-r
Specify the sample rate.
-D
Specify the PCM.
[1]
Advanced Linux Sound Architecture http://alsa.sourceforge.net
[2]
Open Sound System http://developer.opensound.com/
Armadillo-440 LCD Model Development Set Startup Guide
Sound
55