How To  Record Your Voice In Ubuntu

How To Record Your Voice In Ubuntu

Dear linux  geek,

In this tutorial  you will learn how to record  your voice from the microphone in your Ubuntu machine.  Before going any further we need to check our microphone with the  alsamixer program which is a soundcard  mixer  for ALSA soundcard driver.

1. Open a new terminal (CTRL+ALT+T).

2. Run the following command.


See the mic. Is it muted? Mine is not, but your is muted use the up  arrow key to unmute it.

3. Now install the Swiss Army knife of audio manipulation with the following command.

sudo  apt-get install  sox

4.  Once the installation of sox is finished run the following command to start recording your voice.

sox -t alsa default test.wav

5. Start talking like a cool geek and hit CTRL+C when you want to stop the voice record.

6. Use mplayer to listen to your record. Do you recognize your voice?

mplayer test.wav