Virtual ALSA device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm looking for a way to mix sounds in real time and send them to an  
icecast server on a machine that doesn't have a soundcard. I have a  
perl script that monitors my logs and plays certain files on certain  
events.
I got the idea from this:

Peep (The Network Auralizer): Monitoring Your Network With Sound
http://www.usenix.org/events/lisa00/gilfix/gilfix_html/index.html

I'd like to play wav files with alsaplayer to a "virtual" soundcard,  
and use darkice to read from that ALSA device, encode and send to my  
icecast server.

Knowing that darkIce can be set to capture from an ALSA device  
(darkice.cfg man page says "ALSA DSP device name (e.g. hwplug:0,0)"),  
I tried to put this in my .asound:

pcm.virtual {
	type file
	file /tmp/fake_dsp
}

Does this have any chance of working?
What device name should I give to darkice? I guessed "file:/tmp/ 
fake_dsp" but that doesn't seem to be working.

Any help with this, or even general suggestions on how to accomplish  
the overall task would be most welcome!

Cheers,


- Matt

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux