How to Record your Voice from the Microphone on Ubuntu/Linux Mint

本教程指导您在Ubuntu/Linux Mint系统中通过两种方式录制来自麦克风的声音:使用sox工具和arecord命令。确保您的麦克风已正确连接并配置,运行alsamixer检查并解除静音。

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

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值