[linux-audio-user] sound recording application

Paul Davis paul at linuxaudiosystems.com
Thu Sep 7 15:33:54 EDT 2006


On Thu, 2006-09-07 at 12:57 -0400, Lee Revell wrote:
> On Thu, 2006-09-07 at 12:49 -0400, Rob wrote:
> > On Thursday 07 September 2006 09:50, Josh Lawrence wrote:
> > > He needs an audio application that will record for a specific
> > > amount of time, say, for 4 hours, without user intervention. 
> > 
> > rec 4hourrecording.wav & sleep 14400; killall -INTR rec
> > 
> > ;)
> 
> Suboptimal (requires OSS emulation).  Better:
> 
> arecord 4hourrecording.wav & sleep 14400; killall -INTR arecord
> 
> NB: This will record 8 bit mono at 8000Hz.  Use "arecord -f cd" for
> better quality.

arecord -d 14400 -f cd 4hourrecording.wav

will leave you with a .wav file that has a correctly formed header.




More information about the Linux-audio-user mailing list