From: Caleb Crome <alsa@crome.org>
To: alsa-devel@lists.sourceforge.net
Subject: How do create a dummy device for recording audio? Does it exist already?
Date: Thu, 22 Apr 2004 06:44:43 -0700 [thread overview]
Message-ID: <4087CC4B.80402@crome.org> (raw)
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
next reply other threads:[~2004-04-22 13:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-22 13:44 Caleb Crome [this message]
2004-04-22 14:50 ` How do create a dummy device for recording audio? Does it exist already? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4087CC4B.80402@crome.org \
--to=alsa@crome.org \
--cc=alsa-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.