Audio Recording; Figure 5. Opening A Terminal; Figure 6. Alsamixer - VersaLogic Zebra VL-EPC-2701 User Manual

Yocto linux, arm i.mx6 single board computer with gigabit ethernet, video, usb, sata, serial i/o, digital i/o, can bus, spi and i2c
Table of Contents

Advertisement

Basic Zebra Features and Commands

Figure 5. Opening a Terminal

Type the following command in the terminal window:
sh-4.3# gplay-1.0 <file name>
For MP3 and WAV files, command output should indicate that the sound track is playing. For MP4
and AVI files, a new window will also open displaying the video. If there is no sound when
expected, first check the volume level by entering the alsamixer command in the terminal window
and adjust the headphone volume in the GUI using up or down arrow keys.
sh-4.3# alsamixer

Figure 6. Alsamixer

Audio Recording

To record audio on the Zebra, first connect a microphone or headset to the J10 – Audio port.
Adjust the recording level in alsamixer to high to ensure that sound can be captured. The level
can be adjusted downward later to achieve the best result.
Type the following command in the terminal window and speak into the microphone
sh-4.3# arecord -r 48000 -f S16_LE -c 2 -d 10 testrecord.wav
Recording automatically stops after 10 seconds. Play back the recording using the gplay-1.0
command:
sh-4.3# gplay-1.0 testrecord.wav
Zebra (VL-EPC-2701) Yocto Linux User Guide
11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents