Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed Audio Recorder to record sounds played by my computer.

sudo apt-add-repository ppa:osmoma/audio-recorder
sudo apt-get update
sudo apt-get install audio-recorder

enter image description here

I want it to create separate files after several seconds of silence, like for tracks.

It has a lot of possible settings especially by activating the "timer".

enter image description here

But, under my current settings, stopping after silence ("stop if silence") and restarting recording if sound is played ("start if sound") would continue recording in the same file.

I want it to continue in a new file each time. That would increase the probability of recording separate audio parts/songs as separate files.

I have uploaded here the timer syntax help (also available after installation clicking the button beside timer options).

share|improve this question
If you are familiar with (bash) scripting, you could create a script that starts the Sound Recorder with the setting to stop on silence. Start recording, and hopefully the program will report to the script when the recording has stopped, from there you have the possibility to close the program and restart the script thus creating a new file. This is not a solution but merely a work-around. – Zeelia Jan 5 '13 at 14:12
@Zeelia - i guess in that case the program will always continue recording in the same file (whether restarting the recording and/or the program itself). but the answer was much simpler, see below. i was silly enough to check add option – cipricus Jan 5 '13 at 15:55
up vote 2 down vote accepted

First of all: the "Add" option beside the name of the output file must not be checked in order to avoid potential new files being added to the previous one. (I guess this is the default setting in fact!!)

As for the settings in the Timer, it is a matter of trial an error, and changes should be made from case to case.

A good start would be adding in any case 'start if sound', so that a new file should be created when sound starts; but in order to have a new file, first the recorder must be made to stop when there is no sound. 'stop if silence' is not a good option, as it creates a lot of small useless files; a better option is 'stop if silence 1 sec.'. 'stop if silence 0.5 sec' may also be a good option. (This should be enough for the stated purpose. Using audio threshold timer commands seems to me more complicated.)

enter image description here

Changing volume level during recording is a bad idea.

share|improve this answer

I just went through this (my daughter had a requirement...well, ok, demand to populate her mp3 player).

I installed audio-recorder on both her laptop and my server. I like the server option better since I have more space there and no speakers hooked up. The laptop makes noise.

I ended up using the following for timing (this took a bit of trial and error).

start if sound 1s 0.5
stop if sound 2s 0.2

I'm using Jango as my input stream. On the laptop this works great, on the server I end up (for reasons I can't explain) with a lot of tiny files.

So I wrote a script to clean up:

find *.mp3 -size -100k | xargs rm -rf

After they are recorded, I use Picard to label and categorize them. I'm very pleased, and my daughter is happy-ish.

share|improve this answer

I do not know this particular sound recorder. I use Audacity which has a feature called "Sound activated recording". If enabled it will pause (not stop) recording when the sound level is below a specified input level.


share|improve this answer
found the answer. can Audacity do that? please use comments for useful suggestions instead of answers – cipricus Jan 5 '13 at 15:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.