Re: Recording in chunks using sox

Jan Stary <[email protected]>
Newsgroups gmane.comp.audio.sox
Message-ID <[email protected]>
On Aug 25 20:12:44, [email protected] wrote:
> > I want to direct the input audio
> > from some dongle to sox, eg. something like
> > rtl_fm -f 88.8M -d 0 -M wbfm | sox -r 32k -t s16 - -t ogg device_0.ogg
> > here am using the rtl_fm terminal program.
> 
> Why do you want to convert from the original format to ogg?

See the attached script and its config.
This is what I call from cron as in 

00 06 * * 6   radio jazz   3600 $RADIO/`date +\%Y\%m\%d`-jazzrock.mp3

to download the radio shows I like. Note that this functionality
has nothing to do with SoX - the stream is just dumped to a file.

	Jan


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
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.