All of lore.kernel.org
 help / color / mirror / Atom feed
* How do create a dummy device for recording audio?  Does it exist already?
@ 2004-04-22 13:44 Caleb Crome
  2004-04-22 14:50 ` Paul Davis
  2004-04-22 20:33 ` Arek Korbik
  0 siblings, 2 replies; 12+ messages in thread
From: Caleb Crome @ 2004-04-22 13:44 UTC (permalink / raw)
  To: alsa-devel

Hello,
      I've looked through the archives and I couldn't find what I'm 
looking for, so here goes:

I'd like to create a dummy audio device that can record the PCM data 
written to it into a file.  So, the dummy device would appear as a sound 
card to the audio program (Real Player for example), and start dumping 
audio into a file, or maybe it would create another device that could be 
read simply by 'dd' or some custom command.  Then I'd pipe the data into 
an MP3 or OGG encoder, split into 1/2 hour chunks, or whatever length 
chunks I like.

Once the system is running, I'd do something like this:

1) Open my Player, tune to my favorite station. Use my new device for 
audio output.
2) do something like:  dd if=/dev/audiocapturepcmout count=xxx | lame 
--output myfile.mp3

What would it take to make a alsa drive that captures the PCM data into 
a file?
How about one that captures it, then pumps it into a new /dev/ device 
for reading?

Thanks,
  -Caleb



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2004-04-29 15:41 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-22 13:44 How do create a dummy device for recording audio? Does it exist already? Caleb Crome
2004-04-22 14:50 ` Paul Davis
2004-04-22 17:14   ` Caleb Crome
2004-04-22 20:33 ` Arek Korbik
2004-04-22 21:24   ` Caleb Crome
2004-04-23 10:41     ` Takashi Iwai
2004-04-23 15:56     ` Clemens Ladisch
     [not found]       ` <4089663E.4000200@crome.org>
2004-04-23 21:00         ` Caleb Crome
2004-04-26 16:29         ` Clemens Ladisch
2004-04-28 20:42           ` Caleb Crome
2004-04-29  8:37             ` Clemens Ladisch
2004-04-29 15:41               ` Caleb Crome

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.