Configuring Audio

The device contains one audio (supports access to MIC) and one extended speaker output. The volume of Master, MIC and Speaker can be adjusted, and support recording for MIC.

Adjust The Volume

It supports manual adjustment of MIC, Speaker and Master volume.

  • If you are using the Desktop version of the operation system, you can adjust the volume of the MIC and Master directly through the desktop icon.

Steps:

  1. Click the icon image-20240603173142419orimage-20240603173158586 in the upper right corner of the desktop to open the volume adjustment column.
image-20240603173214057
  1. Drag the button of the volume adjustment column up and down to adjust the volume, check or uncheck the Mute check box to mute and unmute the audio.
  • Both Desktop and Lite versions of the operation system support opening the volume adjustment interface through the command line to adjust the volume.

Steps:

  1. Execute the following command to open the volume adjustment interface.

alsamixer

image-20241126164711936
  1. View the volume value of the current Master in the opened interface. You can adjust the volume through the ↑ key and ↓ key on the keyboard, and press the M key to mute and unmute the audio.
Keyboard KeyFunction
Volume+
Volume-
MMute or Unmute
  1. Press F6 to open "Sound Card" interface, select "1 USB Advanced Audio Device".
image-20240603173847251
  1. Press Enter to open the volume interface of MIC and Speaker, and you can adjust the volume of MIC and Speaker respectively throughthe ↑ key and ↓ key on the keyboard, and press M to mute and unmute MIC/Speaker.
Keyboard KeyFunction
Volume+
Volume-
MMute or Unmute
image-20240603174009350

Configure Recording

It supports the audio recording of MIC input.

Preparation:

The audio interface has been connected to MIC.

Steps:

  1. Execute the following command to open the volume adjustment interface.
alsamixer
  1. Press F6 to open the "Sound Card" interface, select "1 USB Advanced Audio Device", and press Enter to open the volume adjustment interface of MIC and Speaker to ensure that MIC is not muted.
  2. Press Esc to exit to the command pane, execute the following command to query the number of the sound card device representing the recording.
image-1
  1. After obtaining the number, execute the following command to start recording audio named audio1, as shown in the figure below.
arecord -fcd -Dhw:1 -c 1 --vumeter=mono audio1
image-20240603174043599
ParametersDescription
cdIndicates the audio format, which can be set to cd, cdr, dat and other formats, and can be set as needed.
audio1Indicates the recorded file name, which can be customized by the user.
  1. Use Ctrl+C to close recording.

  2. Execute the following command to obtain the storage path of the recording file.

pwd
image-20240603174142376
  1. In the directory where the recording file is located, execute the following command to play the audio.
aplay audio1
image-2