Subject: Re: [linux-audio-dev] Q: recording output from audio applications to disk
From: Abramo Bagnara (abramo_AT_alsa-project.org)
Date: Tue Jun 12 2001 - 18:36:46 EEST
Paul Davis wrote:
>
> >I made a track with jazz/timidity/csound that i would like to record
> >digitally to disk.
> >
> >I would like some way to monitior the soundcards output, and record it
> >to disk at the same time as im playing it.
> >
> >Im using alsa 0511.
> >
> >I've seen somewhere that this is possible with OSS, but dont remember how.
>
> its not possible with OSS, and its not possible with current
> ALSA.
No, this is wrong, you can do what you want using PCM type file.
Sample .asoundrc:
pcm.hwpcm {
type hw
card 0
device 0
}
pcm.test {
type file
slave.pcm hwpcm
file /tmp/audio.raw
}
-- Abramo Bagnara mailto:abramo_AT_alsa-project.orgOpera Unica Phone: +39.546.656023 Via Emilia Interna, 140 48014 Castel Bolognese (RA) - Italy
ALSA project http://www.alsa-project.org It sounds good!
This archive was generated by hypermail 2b28 : Tue Jun 12 2001 - 19:46:15 EEST