Question about Pulseaudio
David Fox
dfox94085 at gmail.com
Wed Jul 30 02:04:22 UTC 2008
On Tue, Jul 29, 2008 at 9:39 AM, Christian <christian08 at runbox.com> wrote:
> I want to record what is coming through my soundcard.
> I am using Ubuntu Hardy.
The way I used to do this was to use sox.
$ #! /bin/sh
sox -V -c2 -r 44100 -t ossdsp -w -s /dev/dsp $1.ogg
That'll record to an ogg on the fly from the input of the sound card
while it is playing (that's the ossdsp and dev/dsp parts). The
downside of that is that you may get extraneous sounds through the
soundcard if you're not careful and disable the microphone inputs on
the mixer :).
The sound amplification may also be affected by mixer settings, but
you can redo that in audacity when you are finished recording.
Recording from the sound device directly in audacity should work, but
usually has had problems in the past on a variety of linux distros.
You'll also probably have to install sox and some sox library
packages. It occurs to me that the package was broken up (at least on
Debian) and after an upgrade, I lost mp3 and ogg functionality because
the libraries for that were no longer installed :(.
More information about the ubuntu-users
mailing list