Re: [linux-audio-dev] Vsound-like tools for ALSA?

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Vsound-like tools for ALSA?
From: Mark Constable (markc_AT_renta.net)
Date: Wed Jan 28 2004 - 13:30:12 EET


On Wed, 28 Jan 2004 07:42 pm, Mike Rawes wrote:
> > Are there tools to copy audio to a file as it goes through ALSA to the
> > soundcard? I'm basically looking for something like VSound, but for
> > everything, not just apps that can be coaxed to use OSS.

> Try putting this in ~/.asoundrc:
>
> pcm.fileout {
> type file
> slave.pcm "hw:0,0"
> file alsaout.raw
> }
>
> ..then aplay -D fileout foo.wav, will create a file called alsaout.raw

... and, how would one go about doing this for pmidi, an
ALSA app that does not support the -D option ?

And is it safe to presume this file will get created in
the current directory ?

> Quite how you determine the format of the .raw file is beyond me -
> anybody?!

Good point, anyone know of a tool that simply determines
the filetype ?

--markc


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Wed Jan 28 2004 - 13:35:52 EET