I must record and transmit by phone (or computer) a conference, so I use Audacity 2 and Skype 4 on Lubuntu 12.04 with a USB interface connected between the sono and the computer.
I have a problem : I can’t use the same device as microphone in Audacity and Skype at the same time. When I use it in one of the two applications, it is hidden in the second.
I think Audacity uses ALSA whereas Skype uses Pulseaudio. I created a .asoundrc file with these lines :
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
pcm.skypeout
{
type plug
slave.pcm "dmix"
}
ctl.skypeout
{
type hw
card 0
}
pcm.skypein
{
type plug
slave.pcm "input"
}
ctl.skypein
{
type hw
card 0
}
Is there any way (and how) to use the same microphone device with both Audacity and Skype simultaneously (this work on Windows 7)?
Thank you in advance for your answer!
This is just a cut-and-paste answer, because no-one else has answered for some reason. I am not a Linux guru.
Can you explain why you want to use the microphone in Skype and Audacity at the same time then we may be able to help you better.
Audacity can use the pulse device under ALSA host (look in Audacity’s Device Toolbar). Normally you can use PulseAudio Volume Control (pavucontrol) to set Audacity to record from the monitor of the sound card. However both sides of the conversation are recorded on the same track(s).
Or using Jackd and PulseAudio (you need pulseaudio-module-jack), set up Skype to use Jack Source and Jack Sink
then record with the audio recording application of your choice (Audacity for example).
With Windows 7 : Audacity uses Microsoft sound mapper and Skype the USB microphone device. So I would like to know how to do a similar thing with GNU/Linux.
I don’t want to record the skype conversation but the audio conference (a speech with a speaker in the room) and simultaneously transmit it through Skype for persons who can’t assist to the speech.
Thank you.
I don’t think that you need the “skype” lines in .asoundrc
If you comment out those lines, can you still get Skype to work with Pulse?
Set Audacity to use “default” or “pulse” as the recording input and playback output.
Use Pulse Audio Volume Control (pavucontrol) to adjust levels and which device(s) are used.
I removed the “skype” lines in .asoundrc
I tried recording with audacity by setting “default” or “pulse” or "USB micro device " : it works… but the input setting in Skype switch to “default” rather than staying in “USB micro device” option. So, transmission doesn’t work once I start recording with Audacity.
I tried with
padsp audacity
command to use OSS but I had a error message : can’t find any input device.
Is there any “Microsoft sound mapper” equivalent for GNU/Linux?
I search, I search…
You need to use PulseAudio Volume Control (pavucontrol).
Do you have that installed? If not, it is available in the Ubuntu repository.
Open Skype and PulseAudio Volume Control.
Don’t use padsp audacity. Just start Skype normally.
Start a Skype Test Call and Skype will appear in the Recording tab of PulseAudio Volume Control.
From here you can set Skype to take its input from any available device.
To avoid waiting for this weekend, I just tried your suggestion at home with my USB webcam microphone:
I opened Skype and PulseAudio Volume Control then I started a Skype Test Call and Skype appeared in the Recording tab of PulseAudio Volume Control. I set Skype to take its input from my USB webcam microphone. OK.
But once I launched Audacity and tried to record the Skype Test Call (input: my USB webcam microphone), the record in Audacity didn’t work because the device was already used. Same thing with “default” or “pulse” input…
In PulseAudio Volume Control, the tab name is “Recording”. Does it mean that the Skype Test Call was recorded anywhere I don’t know?