Mixing two audio sources in virtual source

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

 



Hi everybody!
I am asking for some help because after a week of tests and googling I
have to surrender: I cannot solve a problem that for some experienced
ALSA user is maybe trivial.

What I want to achieve is to mix the audio coming from 2 different
"sources" and route it to be the "input" of a "virtual sound card" for
being then used in Google Hangout / Skype, or in a recording
application as the input channel.

The two sources i have to mix are:
A) An external USB microphone (a Blue Yeti, working perfectly per se)
B) The system audio of my computer (meaning anything that goes out
from the computer loudspeakers)

I started loading (successfully, so this can be taken as granted) the
kernel module snd-aloop, for creating the "virtual soundcard".
But here comes the first question: why loading this module triggers
the creation of TWO devices, called both Loopback (Device 0 and Device
1) instead of a single one?

Then I tried to set up the .asoundrc file, that is the following

# Virtual Sound Card
pcm.VirtualSoundCard
{
        type asym
card "Loopback"
        playback.pcm SystemOut
        capture.pcm in
}


# ALIAS for Blue Yeti USB Microphone
pcm.BlueYeti {
type hw
card "Microphone"
}

pcm.SystemOut
{
type hw
card "PCH"
}

pcm.in
{
type multi
card "Loopback"
slave.a.pcm "BlueYeti"
slave.b.pcm "SystemOut"
}

I have the feeling I am missing something, but I wasn't able to find a
good, well documented example to guide me through the multiple
parameters of the plugins.

I hope you can help...



Marco Zambianchi
PGP Public Key: http://goo.gl/K6Rrlx

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
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