Re: Record sound from Sound Card using OGG
zentara_at_highstream.net
Date: 05/27/04
- Next message: Chris F.A. Johnson: "Re: Debugging existing scripts"
- Previous message: Tom Hardy: "Partitioning: What works?(Was: Swap and PAE....)"
- In reply to:(deleted message) tuffu: "Re: Record sound from Sound Card using OGG"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Chris F.A. Johnson: "Re: Debugging existing scripts"
- Previous message: Tom Hardy: "Partitioning: What works?(Was: Swap and PAE....)"
- In reply to:(deleted message) tuffu: "Re: Record sound from Sound Card using OGG"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|