Re: Recording audio

Chris Bannister <[email protected]>
Newsgroups gmane.org.user-groups.linux.dunedin.general
Message-ID <20140618124907.GG18033@tal>
On Wed, Jun 18, 2014 at 09:51:29AM +1200, Geoff Barkman wrote:
> Well I work in Radio and we have to log everything we broadcast. I use
> a combined command line recorder (arecord) to record what we
> broadcast.
> 
> #!/bin/bash
> 
> export currenttime00=$(date +%H%M)
> arecord -d1800 -r44000 -f cd -t wav /mnt/sda1/share/wav/$currenttime00.wav

Interesting! Thanks for that. Just off the top of your head (I'll look
into it later.), does it take a '-t ogg' option? Just looked at the man
page and it doesn't say either way.

Ahh! This explains it and much much more! :)
http://jordilin.wordpress.com/2006/07/28/howto-recording-audio-from-the-command-line/

> and this will record everything going into the line input on a sound
> card for 1800 seconds (30 minutes) and spit it out to a pcm wave file.
> I haven't recorded more than an hour at a time... but I'm sure it
> would work as long as the final wave file doesn't exceed 4 gig. (I
> believe wave files can't be bigger than that).

It seems the limit is 2GB
http://www.hydrogenaud.io/forums/index.php?showtopic=32422

You might be thinking of the FAT32 filesystem which has a ~4GB file size
limit.

... hang on ...

This seems more technical/reliable and says a .wav file limit is 4GB
http://blogs.msdn.com/b/dawate/archive/2009/06/23/intro-to-audio-programming-part-2-demystifying-the-wav-format.aspx

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X

_______________________________________________
DunLUG mailing list
[email protected]
http://lists.ethernal.org/listinfo/dunlug
DunLUG Wiki - http://dunlug.kallisti.net.nz/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.