Test your microphone in linux

First check the list of sound devices:

cat /proc/asound/cards displays the list of sound cards present in the system

In order to test the microphone use arecord command line utility

arecord -d 10 /tmp/test.wav

This command records your voice for 10 seconds

In order to play the voice use following command

aplay /tmp/test.wav

Comments

Popular posts from this blog

Appending and Prepending in Yocto - +=, =+ vs .=, =.

Connecting Serial ports of two Ubuntu VMWare Virtual Machines

Linux Commands for Hardware Info - lshw, lspci, lsdev, lscpu, lsblk, lsusb