Appreciated. though wiped my machine and happily did fresh minimalist install again after much pulse and jack time. Lot of reasons and of course pulse and jack are great. Simply, I need it manageable. This can be done with just ALSA. Can't speak for the quality of resultant sound though with aloop/multi/asym/dmix/dsnoop it can be done. I would really ask now for help from a guru as I've been asking for help for weeks and have tried everything though will keep trying. Can someone please tell me what to change/add in the .asoundrc below. I need to merge a 2nd stream INTO the microphone channel, i think, during a skype/voip conversation. I have aloop driver installed and working as well as 'almost' enough knowledge. REALLY asking please. > Happened to notice the below. It sounds like what you're trying to do is > easiest done by Pulseaudio, honestly. Of course, I believe it may be > possible with alsa, but I don't know about that. > >> GOAL: skype/SIP conversation while listening to music stream that's >> merged into conversation. Hoping to find changes needed to .asoundrc >> below. >> >> Below my 'aplay -l' here I have posted an .asoundrc I found that seems >> to just need something added or changed so that an mplayer/aplay >> stream can be played into the headset mic inputs. >> >> Usually I have some problem with aplay/mplayer when I try to play into >> the various .asoundrc points. The .asoundrc below is fine with >> mplayer/aplay though it's written for multiple output and not multiple >> input. I think? >> >> And of course I don't actually hear anything when I send audio to the >> aloop parts. ie. pcm.p_card1in0 AND pcm.p_card1out0. >> mplayer doesn't stop with an error though, which is good. So now, how >> to get music into a skype/sip conversation so it can be heard by both >> people in a conversation while talking? >> >> Hoping an alsa guru might respond. I'm hoping that there must be >> someone here that can tell me. >> Not had success at all yet. >> Really really struggling to create an .asoundrc that will allow: >> >> Having a conversation via skype/SIP with both parties listening to an >> mplayer/aplay generated music track merged into the outgoing >> microphone (headset) channel. >> >> I've been reading alsa docs for weeks and have tried dozens of various >> .asoundrc and edits of. Tried pulse audio with alsa, jack with alsa, >> etc. etc. etc. >> >> Currently dedicated to finding a way to do this with ALSA only (not >> jack/pulse at this time) I have done a fresh 'alsa only' install which >> has helped. AND: I have managed to get a working aloop driver >> installed as my aplay -l below shows. >> >> I'm at the point of not know at all what to try next. It appears that >> by using alsa aloop/dsnoop/asym/multi plugins (which I've tried and >> tried with) I should be able to dsnoop/aloop/multi a command line >> mplayer or aplay stream INTO the voip chat. Many of the .asoundrc I've >> tried would allow the music track to be played (mplayer/aplayer cli) >> and also allow a voip conversation as well. Just can't get the music >> into the stream of the conversation. >> >> The most immediate way, I've thought should be to have the music track >> playing into card0 (the internal hda-intel chip), then loopback that >> into the input of the cmedia usb headset. Thereby allowing the >> conversation to occur while the music is played clearly as the >> mplayer/aplay stream is not fighting for the soundcard. help?! >> >> I have tried dmix and so much else. I need to have the music looped >> back into the mic input channels, don't I? >> >> Can anyone tell me what I've missed. I won't post the many many many >> things I've tried though happily could post some of the .asoundrc >> segments as a response should anyone have any ideas. Here's one below >> that's great though backward perhaps. >> >> I've probably read/tried most of the code found on all the alsa lists. >> Absolutely stumped at this point as i don't yet have the understanding of what >> needs to happen. >> >> thanks!!!!! >> >> aplay -l with working aloop driver installed: >> >> aplay -l >> **** List of PLAYBACK Hardware Devices **** >> card 0: Intel [HDA Intel], device 0: ALC1200 Analog [ALC1200 Analog] >> Subdevices: 1/1 >> Subdevice #0: subdevice #0 >> card 0: Intel [HDA Intel], device 1: ALC1200 Digital [ALC1200 Digital] >> Subdevices: 1/1 >> Subdevice #0: subdevice #0 >> card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem] >> Subdevices: 1/1 >> Subdevice #0: subdevice #0 >> card 1: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM] >> Subdevices: 8/8 >> Subdevice #0: subdevice #0 >> Subdevice #1: subdevice #1 >> Subdevice #2: subdevice #2 >> Subdevice #3: subdevice #3 >> Subdevice #4: subdevice #4 >> Subdevice #5: subdevice #5 >> Subdevice #6: subdevice #6 >> Subdevice #7: subdevice #7 >> card 1: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM] >> Subdevices: 8/8 >> Subdevice #0: subdevice #0 >> Subdevice #1: subdevice #1 >> Subdevice #2: subdevice #2 >> Subdevice #3: subdevice #3 >> Subdevice #4: subdevice #4 >> Subdevice #5: subdevice #5 >> Subdevice #6: subdevice #6 >> Subdevice #7: subdevice #7 >> card 2: default [C-Media USB Headphone Set ], device 0: USB Audio [USB Audio] >> Subdevices: 1/1 >> Subdevice #0: subdevice #0 >> >> BELOW : .asoundrc I found that works with aloop though it's sorta the >> opposite in that it records and I need to play a stream IN. Though the >> aloop parts does allow mplayer/aplay stream to be sent to them. What >> would I add or change to get music INTO the voip/skype conversation >> microphone channels? >> >> ####### >> # usb headset as per my aplay -l >> pcm.card0 { >> type hw >> card 2 >> } >> >> # loopback aloop >> pcm.p_card1in0 { >> type plug >> slave { >> pcm "hw:1,0,0" >> } >> } >> >> pcm.p_card1out0 { >> type plug >> slave { >> pcm "hw:1,1,0" >> } >> } >> >> # does some multi merge routing >> pcm.m_copier { >> type multi >> slaves.a.pcm "card0" >> slaves.a.channels 2 >> slaves.b.pcm "p_card1in0" >> slaves.b.channels 2 >> bindings.0.slave a >> bindings.0.channel 0 >> bindings.1.slave a >> bindings.1.channel 1 >> bindings.2.slave b >> bindings.2.channel 0 >> bindings.3.slave b >> bindings.3.channel 1 >> } >> >> pcm.r_copier { >> type route >> slave.pcm "m_copier" >> ttable.0.0 1 >> ttable.1.1 1 >> ttable.0.2 1 >> ttable.1.3 1 >> } >> >> pcm.!default { >> type plug >> slave { >> pcm "r_copier" >> } >> } >> >> ####### ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user