Re: Record sound from Sound Card using OGG

From: Bill Unruh (unruh_at_string.physics.ubc.ca)
Date: 05/25/04


Date: Tue, 25 May 2004 20:43:50 +0000 (UTC)

Andy Baxter <news4@earthsong.null.free-online.co.uk> writes:

]tuffu said:

]> 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 brec, which in debian is in the 'bplay' package.

]$ brec -S -s 44100 -b 16 -w file.wav

]will record a file from line in at CD stereo quality in wav format, which
]you can convert to ogg later using sox or oggenc. (oggenc is probably
]better).

]I've been recording vinyl albums like this, and the wav file for two sides
]works out around 500 Mbytes. Once I've recorded it on the audio machine
]in the living room, I move it to my workstation upstairs, then split the
]tracks using rezound, then burn it to CD.

]If you want to store recorded wav tracks with no loss of quality (compared
]to ogg or mpg123 which are lossy formats), have a look at flac. (only
]about 50% compression though).

]Or if you have alsa installed, try arecord (another command line program).

]If you want a gui program, rezound is a nice audio editor which lets you
]record from line in with a level indicator to adjust the volume. It will
]also start recording automatically when the level goes above a threshold.

gnoise, gramaphone, arecord, krec,....



Relevant Pages

  • RE: Compression Format and Bit Rate for Portable Audio Devices
    ... 96Kbps CBR MP3 for acoustic, ... I don't use OGG because I find it is better at treble than low end clarity. ... I write all my own playlists in .M3U format (video and audio) using Notepad. ...
    (microsoft.public.windowsmedia)
  • RE: Compression Format and Bit Rate for Portable Audio Devices
    ... 96Kbps CBR MP3 for acoustic, ... I don't use OGG because I find it is better at treble than low end clarity. ... I write all my own playlists in .M3U format (video and audio) using Notepad. ...
    (microsoft.public.pocketpc.multimedia)
  • RE: Compression Format and Bit Rate for Portable Audio Devices
    ... 96Kbps CBR MP3 for acoustic, ... I don't use OGG because I find it is better at treble than low end clarity. ... I write all my own playlists in .M3U format (video and audio) using Notepad. ...
    (microsoft.public.windowsmedia.encoder)
  • mp3 and Ogg on Linux
    ... I've been playing with audio. ... covert to mp3's or probably Ogg Vorbis files. ... tracks into mp3 files. ... - I would like to be able to start recording an album before I go to ...
    (comp.os.linux.misc)
  • Re: Johanna Martzy Dvorak DGG 10" LPE 17178 on ebay
    ... high end audio shows, where equipment makers don't care about format. ... Tubes amplification,is in my book,as or more important than vinyl.Is ...
    (rec.music.classical.recordings)