Re: Record sound from Sound Card using OGG

zentara_at_highstream.net
Date: 05/27/04


Date: Thu, 27 May 2004 08:56:21 -0400

On 25 May 2004 15:49:01 GMT, tuffu <spam@SPAM.spa> wrote:

>On 25 May 2004 15:13:07 GMT,
>Kevin Cosgrove <Kevin@nowhere.gov> wrote:
>> tuffu <spam@SPAM.spa> wrote:
>>> I need to record audio from my sound card input/inline
>>> to ogg format. What is the best method to do this in linux?
>>> I Hope I can do this from the command line.
>>
>> If you like command line, then certainly use SoX. It should be
>> on your distribution CD(s) and at sourceforge.net
>>
>> G'luck...
>>
>
> Well how do I grab the input from the sound card line in
>and save it to the file? There are plenty of examples
>on who to convert files, but not how to grab the raw data
>and save it to a file.
>
>Thanks.
>

I use this: (watch the wordwrap, the arecord line should
be one long line).

#!/bin/sh
#record music
arecord -f S16_LE -c1 -r 44100 -t wav | oggenc - -o
/home/zentara/`date +%d%b%y%H%M%S`.ogg

-- 
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html


Relevant Pages

  • Re: Record sound from Sound Card using OGG
    ... >> on your distribution CDand at sourceforge.net ... > on who to convert files, but not how to grab the raw data ... The 'rec' command, which IIRC is part of sox, does that. ...
    (comp.os.linux.misc)
  • Re: How to find a line after a grep match
    ... I have a log file for backing up Oracle datafiles. ... Let's say I want to grab the line for tst700.data1 (which I can ... 'N' command means read the next line into the pattern space so that you ...
    (comp.unix.shell)
  • Re: Erlang or general queuing theory
    ... It really is a series of discreet resources (like phone ... lines) that can be held for a variable amount of time (a poisson ... distribution of resources, but holds whatever number they grab for the ...
    (sci.math)
  • Re: Richards bench benchmark
    ... Duncan Lissett wrote: ... Subversion, the replacement for CVS. ... and grab the command line version for whatever OS ...
    (comp.lang.python)
  • field truncated
    ... I am using the "insert database" command with an SQL statement to grab a ... I am inserting one specific ...
    (microsoft.public.word.mailmerge.fields)