recording wavs

Michael Hipp Michael
Mon May 17 11:53:59 PDT 2004


Squabsy wrote:
> ... or is
> there a Linux program that writes straight to disk ?

I've been working this afternoon with the 'sox' package from 
http://sox.sourceforge.net/. It comes with a  utility called 'rec' that 
is about the simplest recorder ever. It's a CLI tool, give it a command 
like ...

$ rec -c 2 -d /dev/dsp test.wav

That's two channels (stereo) to record from the dsp device to test.wav. 
It does indeed record the wav directly to disk. And it uses a steady 5 - 
10% of cpu in the process instead of Audacity's 85-95% (this on my 
PII-233) so there is less chance of pops or such if the thing doesn't 
keep up.

This is about as lean 'n mean as it gets.

Michael




More information about the Linux-users mailing list