[linux-audio-user] sound recording application

Maarten de Boer mdeboer at iua.upf.edu
Fri Sep 8 03:40:37 EDT 2006


arecord -f cd | oggenc -q 6 -o 4hours.ogg - & sleep 14400; killall arecord


On Fri, 08 Sep 2006 02:18:17 -0300
glauber alex dias prado <glauberalex at uol.com.br> wrote:

> i was wondering isnt it best to have a compressed output like ogg or
> flac? i dont have such experience but how much of GB are we talking
> about with 4 hours of uncompressed audio?
> 
> 
> On Thu, 2006-09-07 at 15:33 -0400, Paul Davis wrote:
> > 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