In this tutorial, we will see two ways for recording audio coming from the microphone under Ubuntu/Linux Mint. If you have more suggestions, please use the comment form below.
Getting Started
First of all, make sure your microphone is connected to your computer and well configured. Also, make sure the mic is not muted by running this command:
alsamixer
Now check your microphone level and if it is muted, use the keyboard up arrow key to unmute it:
Method 1
You can use sox to record your voice, it can be installed from the Ubuntu Software Center using this link:
Or install it from the terminal with this command:
sudo apt-get install sox
To start voice recording, enter this command:
sox -t alsa default output.wav
output.wav is the name of the audio file that will be generated, you can rename it to whatever you want.
Method 2
You can also use " arecord " to capture microphone input. It can be installed using this link:
Or from the terminal using this command:
sudo apt-get install alsa-utils
To start voice recording, run this command:
arecord output.wav
To interrupt recording, press CTRL+C.
转自:http://www.upubuntu.com/2013/05/how-to-record-your-voice-from.html
本教程指导您在Ubuntu/Linux Mint系统中通过两种方式录制来自麦克风的声音:使用sox工具和arecord命令。确保您的麦克风已正确连接并配置,运行alsamixer检查并解除静音。


被折叠的 条评论
为什么被折叠?



