On Tue, 8 Dec 2009 21:26:14 -0200
Kazuo Teramoto <kaz....@gmail.com> wrote:

> Hello.
> 
> I like to redirect the sound I hear in the speakers to microphone, so
> it can be recorded with e.g. arecord.

You can set the record device to PCM (aumix term, never been able to find the 
equivalent alsamixer way).  Although you'll likely need to adjust your volume 
levels to get a good level (which might be below audible levels).  Roughly %50 
volume on my laptop.  And it requires a soundcard that supports that.  
Otherwise use a cable to connection line out to line in.  Which could be on 
that machine or another one.

> A somewhat related idea is how I can read audio from a file and pipe
> it to microphone input.

If you have a file, you don't really need to, outside of some sort of realtime 
performance setup with effects.  But if you have a file, just how real time is 
it?  Sox, ffmpeg, audacity, and a few other applications can convert file 
formats to other formats.  Or play them back, you don't really need to record 
them, if they're already in file format.  And if your soundcard isn't full 
duplex, you might already be getting some bleed through accidentally.

> I think alsa can do this with some sort of combination of plugin file,
> dsnoop and some asoundrc-fu but I cant get all the concepts to create
> a solution by myself.
> 
> Someone can help me please?
> 
> Thanks,
> Kazuo Teramoto

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to