[vorbis] [line-in.to.ogg]

Paul Martin pm at nowster.zetnet.co.uk
Fri May 9 17:02:22 PDT 2003



On Sun, May 04, 2003 at 06:19:22PM +0300, maxim abalenkov wrote:

>   could you advice me some kind of computer audio recording programme
>   to write music 'on-the-fly' from line-in sound card exit to ogg
>   vorbis file directly. for example, there is an 'absolute mp3
>   recorder', but i would like to record audio in ogg vorbis.

You didn't specify operating system...

#!/bin/bash

output=${1:-/tmp/recording.ogg}
duration=${2:-1800}

brec -S -s 48000 -b 16 -t $duration -D 1 -r | \
 nice -n -10 oggenc -Q -q 6 -r -R 48000 -C 2 -o $output -

<p>
-- 
Paul Martin <pm at zetnet.net> (work)
  <pm at nowster.zetnet.co.uk> (home)
--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis mailing list