On Wed, 09 Jan 2002 15:33:58 +0000, Nick wrote:
> Hi,
> 
> I generally use the impressive krecord program to capture audio from my sound card. 
>It works great, but as a GUI it is geared to user interaction. What I need to do is 
>capture some audio at a set time (as a cron job, or at task) for a specified period. 
>I can handle putting a script together to start and stop a task at specified times, 
>but how can I capture the audio samples into a file?
> 
> I'm guessing something like 'cat /dev/dsp > filename' might work (or /dev/audio?), 
>but is there more to it - e.g. sample rate? Or maybe somebody knows of a tool to do 
>this. (I need to capture to file as I will be capturing around an hours worth)

I've used that exact cat command to capture some audio a while back; then I had to use 
"sox -r <rate>" to convert the file to a regular sound format file.  Never tried, but 
maybe you can combine the capture and output with a clever "sox ..." command.

Pierre
-- 
Just switched to Sylpheed (from Nuts-crash); let me know if this post is not OK...  
still tweaking it.
 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to