<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Thanks for your response. I will attempt your recommendation. <br><br>> > pacat -r -d alsa_input.pci-0000_00_14.2.analog-stereo | pacat -p -d <br>> > alsa_output.pci-0000_00_14.2.analog-stereo.monitor<br>> <br>> This will certainly not work. YOu are trying to record from your input<br>> device (mic) and then play it back via another input device (the monitor<br>> of you output is an input!).<br><br>That's what I thought that command was doing, but I didn't have the confidence of a good knowledge base to rule it out. <br><br>> This means that you will effectively be recording both your mic and the<br>> output of your sound card and playing back both streams on the null<br>> sink. As it is a null sink you wont be able to hear it, but you should<br>> be able to see the VU meter in the playback tab of pavucontrol.<br><br>When you say I won't be able to hear it, do you mean the recorded stream, or do you mean everything even my VoIP conversation? <br><br>Thanks.<br><br>> > Dear PulseAudio community,<br>> > <br>> > My apologies if this is either a double post or simply a stupid<br>> > question. As the subject line suggests I'm interested in recording<br>> > something like a Skype conversation. I say something like a Skype<br>> > conversation because I work with some similar voip teleconferencing<br>> > programs other than Skype.<br>> > <br>> > I've been looking in several places for some information. Hopefully I'm<br>> > close to having a solution, but I'm not quite there.<br>> > <br>> > pacat -r -d alsa_output.pci-0000_00_14.2.analog-stereo.monitor<br>> > <br>> > I've used the above command to capture audio passing through my sound<br>> > server. <br>> <br>> Good so far.<br>> <br>> > I've also added a virtual device in my<br>> > /etc/alas/pulse-default.conf file. So I can also capture that audio<br>> > with other programs such as Audacity.<br>> <br>> THis is not really correct. For one you should not really edit the<br>> system files, but instead edit your own users' ~/.asoundrc file.<br>> <br>> Secondly, what definition did you add here? In theory you should need<br>> none. You generally should just tell audacity to "use pulse" then when<br>> it is recording fire up an application like pavucontrol, go to the<br>> "Recording tab" and locate the Audacity recroding stream, then move it<br>> so that it is recording from the monitor device you want. This choice<br>> will be remembered for next time.<br>> <br>> <br>> > So I need to include my<br>> > microphone to the recording. <br>> > <br>> > I've found the following command, which doesn't work for me, to pass two<br>> > streams:<br>> > <br>> > pacat -r -d alsa_input.pci-0000_00_14.2.analog-stereo | pacat -p -d <br>> > alsa_output.pci-0000_00_14.2.analog-stereo.monitor<br>> <br>> This will certainly not work. YOu are trying to record from your input<br>> device (mic) and then play it back via another input device (the monitor<br>> of you output is an input!).<br>> <br>> If you were to play it back properly, it would sound awful to the person<br>> speaking on the VoIP app in question.<br>> <br>> I'll outline my recommendation below.<br>> <br>> > The above results in:<br>> > <br>> > Stream error: No such entity<br>> > write() failed: Broken pipe<br>> > <br>> > for me.<br>> > <br>> > So, is there a way to combine my two devices? I'm assuming something<br>> > like a pacmd script will do the trick, but I don't yet understand how<br>> > the module-combine statements work. <br>> <br>> Well module-combine is technially module-combine-sink. i.e. is allows<br>> you to combine multiple outputs, but not multiple inputs.<br>> <br>> What you want to do is take two inputs (your mic and the monitor of your<br>> output) and combine then and record them. There is not (currently) a<br>> module-combine-source so this is impossible.<br>> <br>> However you can do soemthing that approximates this.<br>> <br>> Firstly load a null sink:<br>> <br>> pactl load-module module-null-sink sink_name='foo'<br>> <br>> Then load two module loops backs:<br>> <br>> pactl load-module module-loopback<br>> pactl load-module module-loopback<br>> <br>> <br>> Using pavucontrol, connect the output of the two loopbacks to the null<br>> sink. Connect the input of the two loopbacks to:<br>> alsa_output.pci-0000_00_14.2.analog-stereo.monitor<br>> and<br>> alsa_input.pci-0000_00_14.2.analog-stereo<br>> <br>> This means that you will effectively be recording both your mic and the<br>> output of your sound card and playing back both streams on the null<br>> sink. As it is a null sink you wont be able to hear it, but you should<br>> be able to see the VU meter in the playback tab of pavucontrol.<br>> <br>> Then in order to record the combined result, you will simply select<br>> foo.monitor.<br>> <br>> pacat -r -d foo.monitor<br>> <br>> <br>> Jobs a good 'un! :p<br>> <br>> HTHs<br>> <br>> Col<br>> <br>> <br>> -- <br>> <br>> Colin Guthrie<br>> gmane(at)colin.guthr.ie<br>> http://colin.guthr.ie/<br>> <br>> Day Job:<br>> Tribalogic Limited [http://www.tribalogic.net/]<br>> Open Source:<br>> Mandriva Linux Contributor [http://www.mandriva.com/]<br>> PulseAudio Hacker [http://www.pulseaudio.org/]<br>> Trac Hacker [http://trac.edgewall.org/]<br>> <br>> _______________________________________________<br>> pulseaudio-discuss mailing list<br>> pulseaudio-discuss@mail.0pointer.de<br>> https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss<br>                                            <br /><hr />Get a free e-mail account with Hotmail. <a href='http://clk.atdmt.com/UKM/go/197222280/direct/01/' target='_new'>Sign-up now.</a></body>
</html>