Thursday, December 26, 2013

How To Record Your Voice In Ubuntu

How To Record Your Voice In Ubuntu.
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.
Open the terminal and run the command:

alsamixer


See the mic. Is it muted? Mine is not, but your is muted use the up arrow key to unmute it. Now install the Swiss Army knife of audio manipulation with the following command.

sudo apt-get install sox

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

sox -t alsa default test.wav

Start talking like a cool geek and hit CTRL+C when you want to stop the voice record. Use mplayer to listen to your record. Do you recognize your voice?

mplayer test.wav

0 comments:

Post a Comment