Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 05-07-2007, 01:03 PM   #1
LQ Newbie
Registered: May 2007
Posts: 2

Rep: Reputation: 0
Sound recording program or a script


How can I make a capture the sound cards output? I would like to record whole day long, 24/7 ...
I would like to make a new file every hour so it would be like 2007May11-22h-23h the file name..I`m pretty newbie in programming I dont really know where to start .. Thanks for any help

Old 05-07-2007, 04:57 PM   #2
Registered: Nov 2004
Location: Novi Sad, Serbia
Distribution: Debian, Slackware, Gentoo, openSuSE
Posts: 254

Rep: Reputation: 31
You can use arecord or sox to capture sound.

And you can get file format you want from date command. Hint, do following in your terminal:

echo `date +%Y%m%d`.wav

Anyway, you'd need some basic bash scripting skills to tailor all this to you needs. If machine is idle, you can produce mp3 files automaticaly (and thus save hard drive space).

You need to read man pages (at least to find what you need) of the following programs:


And find bash scripting guide of some sort on the Net. There are folks who could do this easily for you, but once you learn how to do it yourself (and it isn't hard, it'll take you one afternoon) you'll be able to do all kind of stuff yourself...
Old 05-07-2007, 06:28 PM   #3
LQ Newbie
Registered: May 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the reply I`ll try something.. I have read about bash scripts a while ago maybe I can deal with it...thanks again


Inace sam iz Subotice ) hehe


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Program for on-screen recording with sound. bento Linux - Software 6 06-05-2006 09:12 PM
A program for recording a webcam? stormrider_may Linux - Software 3 02-19-2006 06:27 PM
Program for audio recording editing via sound card BACTRATE Mandriva 2 04-16-2004 10:58 AM
i need a console program for mp3 recording from line in evil1 Linux - Software 5 04-07-2004 11:19 AM
What cd recording program works BajaNick Linux - Software 21 03-13-2004 04:36 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration