LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


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

Rep: Reputation: 0
Sound recording program or a script


Hi,

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

Regards
 
Old 05-07-2007, 04:57 PM   #2
kotnik
Member
 
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:

sox
lame

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
bambiii
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


ps

Inace sam iz Subotice ) hehe
 
  


Reply


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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:39 PM.

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