Len,<br><br>Thanks a BUNCH for your detailed explanation<br><br>I finally could accomplish what I wanted with pulse audio. The only thing I needed to do was to load the loopback module and voila!<br><br>I found the answer on this video: <a href="http://www.youtube.com/watch?v=RSeINGM68A8">http://www.youtube.com/watch?v=RSeINGM68A8</a><br>

<br>I went thru at least a dozen tutorials on how to get "stereo mix" in linux/linux ubuntu, none of them mentioned the need for this step.<br><br>I'm also 100% positive I did not have to do so when I acquired "stereo mix" in my ubuntu 10.04 box.<br>

<br>Anyways, it worked. Its not perfect, but we can live with that.<br><br>I will, nevertheless, follow your explanation because I guess I will get better quality.<br><br>Not today though; I've had enough. my brain is burned. I dont mind trying, but trying without knowing is like trying to walk in a dark room; you just stumble again and again.<br>

<br>I will start jack again tomorrow. Today I need some scotch, rick wakeman & urban terror.<br><br>One more time MUCHAS GRACIAS LEN!<br clear="all"><div><br><br>Dtb/Gby<div>=======<br>Mario R. Osorio<br>"... Begin with the end in mind ..."<br>

<a href="http://www.google.com/profiles/nimbiotics" target="_blank">http://www.google.com/profiles/nimbiotics</a></div></div>
<br><br><div class="gmail_quote">On Sat, Jun 15, 2013 at 2:27 PM, Len Ovens <span dir="ltr"><<a href="mailto:len@ovenwerks.net" target="_blank">len@ovenwerks.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im"><br>
On Sat, June 15, 2013 9:32 am, Mario R. Osorio wrote:<br>
> First of all, I'm a complete noob and might need help in more than one<br>
> way.<br>
><br>
> I am helping someone who is conducting a research.<br>
><br>
> For this, she will be making dozens of phone interviews, for which I'm<br>
> using google voice.<br>
<br>
</div>Be aware that the google voice (assuming the same technology as the gmail<br>
phone app) has higher latency than some of the others (including skype).<br>
<br>
> She needs to play sounds to the guests/interviewed persons (using vlc or<br>
<div class="im">> audacious) and I need to record everything that is going on; the<br>
> conversation and the playback.<br>
<br>
</div>I think a mix of idjc, jackdbus and pulse (with the jack-pulse bridge<br>
module installed) should work. Please note that because of the multiple<br>
codecs running at the same time, you need a modern machine. I have managed<br>
to get this to work using my ten year old P4, but it was just barely and I<br>
had to play with the latency of jack to balance performance with working<br>
at all. idjc has it's own audio file player built in and I would use that<br>
instead of vlc or audacious as they do (at least audacious does) strange<br>
things when set to jack as an output :)<br>
<br>
I am not sure which version of ubuntustudio you have. There have been<br>
issues with the pa-jack bridging in the past and there are some features<br>
available now which were not a few versions ago. One of the important ones<br>
is that pa used to bridge as many lines as the audio interface would<br>
handle... 10 ins and outs in my case which used much more CPU than just<br>
the two lines I needed :)<br>
<br>
basic workflow:<br>
<br>
browser with google voice, talks to pulse. Pulse is bridged to jack, two<br>
lines each way, and set to not auto connect (auto connect is to audio<br>
playback/capture)<br>
<br>
idjc has a port called phone in out (connect to pulse) as well as local<br>
mics from the sound card. They would all be connected using the<br>
connections pannel in qjackctl for example. Once you have it figured out<br>
save it as a session. Set idjc not to stream, but to record.<br>
<br>
The order of running things is important:<br>
-pulse runs at login.<br>
-start jackdbus with qjackctl and confirm that the pulse ports show up.<br>
   (in qjackctl connections)<br>
-in pavucontrol, set the default output to jacksink and the default<br>
capture (input) to jack source. (green check box)<br>
-start idjc.<br>
-Connect the pulse ports to the idjc phone ports.<br>
-Connect mics as needed (idjc allows you set up however many mic or stereo<br>
inputs as you need)<br>
   (this would be the place to create a session. in qjackctl the<br>
    patchbay would be the place for this)<br>
-make your google voice connection and verify all the sound goes both<br>
ways. (If the person on the other end of the line can't hear the audio<br>
playback from the file player you may have to connect the line back to<br>
pulse to the program output instead of the phone port.)<br>
-Set up record and go.<br>
<br>
All audio playback should be headphones :)<br>
<br>
I would have two computers in the same room and try it all out. The second<br>
computer would be the remote and so should be able to have any OS on it<br>
that can handle google voice.<br>
<div class="im"><br>
> We might also need to, while recording, play sounds from youtube.<br>
<br>
</div>Any youtube audio would get mixed in with the audio coming from your<br>
remote google voice conversation. Pavucontrol will allow you to control<br>
the levels of the two signals for balance.<br>
<br>
Using just pulse is possible, but less controllable. For that, you just<br>
need to get familiar with pavucontrol. It's use for these kinds of things<br>
is not obvious :) The thing to remember is that with PA a connection only<br>
exists when it is being used. That is Audacity will only have an input to<br>
connect to when the record button is active... so pause ->record->make<br>
connections->set levels->release pause to record. Applications made for<br>
jack (not audacity which has jack as an addon) open a jackport at<br>
application start and it stays open as long as the application is running.<br>
Just like in the analogue world where a tape machine always has an input<br>
plug and the cable that connects to it doesn't move just because you hit<br>
the stop button.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Len Ovens<br>
<a href="http://www.OvenWerks.net" target="_blank">www.OvenWerks.net</a><br>
<br>
</font></span></blockquote></div><br>