LeMaker Guitar:Microphone

From BananaPro/Pi
Jump to: navigation, search

Other languages:
English • ‎中文(简体)‎


There is a microphone on LeMaker Guitar base board Rev.B to record soundfile, you can use arecord tool to record soundfile, and use aplay tool to play soundfile.

arecord is a command-line soundfile recorder for the ALSA soundcard driver. It supports several file formats and multiple soundcards with multiple devices.

arecord test.wav

aplay is much the same, but it plays instead of recording. For supported soundfile formats, the sampling rate, bit depth, and so forth can be automatically determined from the soundfile header. If the filename is not specified, the standard output or input is used. The aplay utility accepts multiple filenames.

aplay test.wav