Configuring Audio
The device includes 1 audio channel (supports MIC input) and 1 extended speaker output. The Master volume, MIC volume, and Speaker volume are all adjustable, and recording via MIC is supported.
Adjusting Volume
Supports manual adjustment of MIC, Speaker, and Master volumes.
- If using the Desktop version of the operating system, you can directly adjust the MIC and Master volumes through the desktop icons.
Steps:
- Click the
or
icon in the upper right corner of the desktop to open the volume control slider.

- Drag the slider up or down to adjust the volume. Check or uncheck the Mute checkbox to mute or unmute the audio.
- Both the Desktop and Lite versions of the operating system support opening the volume adjustment interface via the command line to adjust the volume.
Steps:
- Execute the following command in the terminal to open the volume adjustment interface.
alsamixer

- In the opened interface, view the current Master volume value. Use the ↑ and ↓ keys on the keyboard to adjust the volume. Press the M key to mute or unmute the audio.
| Keyboard Key | Function |
|---|---|
| ↑ | Volume + |
| ↓ | Volume - |
| M | Mute or unmute |
- Press F6 to open the "Sound Card" interface, then select "default:2 rt5616-codec".
<img src="../../../images/part10-2.jpg" alt=part10-2" style="max-width: 50%;">
- Press Enter to open the MIC and Speaker volume interface. Use the ↑ and ↓ keys on the keyboard to adjust the MIC and Speaker volumes respectively. Press the M key to mute or unmute the MIC/Speaker.
| Keyboard Key | Function |
|---|---|
| ↑ | Volume + |
| ↓ | Volume - |
| M | Mute or unmute |
Configuring Recording
Supports recording audio input from the MIC.
Preparation:
A MIC is connected to the audio interface.
Steps:
- Execute the following command in the terminal to open the volume adjustment interface.
alsamixer
Press F6 to open the "Sound Card" interface, select "default:2 rt5616-codec", then press Enter to open the MIC and Speaker volume adjustment interface. Ensure that MIC is not muted.
Press Esc to exit back to the terminal, then execute the following command to query the sound card and device numbers used for recording.
arecord -l

- After obtaining the numbers, execute the following command to start recording an audio file named
test.wav, as shown below.
arecord -D hw:2,0 -f S16_LE -r 16000 -c 2 -d 60 test.wav

| Parameter | Description |
|---|---|
| -D hw:2,0 | Indicates sound card 2 and device 0 |
| -f S16_LE | Indicates the supported sample format |
| -r 16000 | Indicates a sample rate of 16K |
| -c 2 | Indicates stereo |
| -d 60 | Indicates recording for 60 seconds |
| test.wav | Indicates the recorded file name, user-defined |
- Press Ctrl+C to stop recording.
- Execute the following command to obtain the save path of the recorded file.
pwd

- Navigate to the directory where the recorded file is located, then execute the following command to play the audio.
aplay test.wav

