-h
Display help.
[armadillo ~]# aplay -M -twav sample.wav
Figure 8.1. Playing Back Sound
8.1.2. Recording
The
arecord
command is used to record sound with ALSA.
The arecord options are the same as those for aplay.
[armadillo ~]# arecord -M -twav -fS16_LE -r48000 sample.wav
Figure 8.2. Recording Sound
8.1.3. Changing Volume
The
amixer
command is used to change the recording and playback volume with ALSA.
The control name to be changed should be specified for [control]. Refer to Table 8.1, “Control Names” for the supported
control names.
Table 8.1. Control Names
Control
Description
'Headphone'
Headphone volume
Mic
Microphone volume
Enter the command below to check all of the controls and their values.
[armadillo ~]# amixer
Figure 8.3. Checking Volumes
The volume is specified in place of [value] with a range of 0 (mute) to 63 (max).
[armadillo ~]# amixer set [control] [value] unmute
Figure 8.4. Changing Volume
Armadillo-440 LCD Model Development Set Startup Guide
Sound
56