How to record while someone speaking

theredcuber

New Member
Credits
17
I want to record, so long as a person speaks. When the person ends with speaking the command should save the audio.

How is the command for such a thing.
 


Alexzee

Well-Known Member
Credits
1,660
I'm not sure if there is a command for recording or not.

However if you would like to record audio have a look at Audacity.


You also might try speech recogintion software for Linux.
 

theredcuber

New Member
Credits
17
I'm not sure if there is a command for recording or not.

However if you would like to record audio have a look at Audacity.


You also might try speech recogintion software for Linux.
Audacity hasn't command line arguments. And speech recognition software does only convert not record
 

Tolkem

Well-Known Member
Credits
1,109
I want to record, so long as a person speaks. When the person ends with speaking the command should save the audio.

How is the command for such a thing.
From the command line, there's arecord, which is part of alsa and should be already available on your distro/OS. Simply open a terminal and type
Code:
arecord
with no arguments it'll show all the available options, for example, to record an audio 10 secs long type
Code:
arcord -d 10 -f U8 my_record.mp3
the resulting file will be saved in your home dir. Here's a nice tutorial on how to use it with different helpful examples https://jordilin.wordpress.com/2006/07/28/howto-recording-audio-from-the-command-line/

If you're using Ubuntu, there's audio recorder, a GUI tool. To install it you'll have to add its PPA
Code:
sudo apt-add-repository ppa:audio-recorder/ppa
update sources
Code:
sudo apt-get update
then install audio recorder
Code:
sudo apt-get install audio recorder

Hope this helps! :)
 


Members online


Latest posts

Top