By the way... I just did the pulseaudio sink here on maverick, so I recalled this thread just to give the commands:<div><br></div><div>(from Ubuntu Studio, like previously said)</div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: 'Helvetica Neue', 'Lucida Grande', Helvetica, Arial, Verdana, sans-serif; font-size: 14px; "><pre style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-top-color: rgb(193, 180, 150); border-right-color: rgb(193, 180, 150); border-bottom-color: rgb(193, 180, 150); border-left-color: rgb(193, 180, 150); background-color: rgb(240, 238, 230); padding-top: 4pt; padding-right: 4pt; padding-bottom: 4pt; padding-left: 4pt; font-family: courier, monospace; white-space: pre-wrap; word-wrap: break-word; ">
sudo apt-get install pulseaudio-module-jack</pre><span class="anchor" id="line-219"></span><span class="anchor" id="line-220"></span><p class="line874">After jackd is started, launch in a terminal:<span class="anchor" id="line-221"></span><span class="anchor" id="line-222"></span><span class="anchor" id="line-223"></span></p>
<pre style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-top-color: rgb(193, 180, 150); border-right-color: rgb(193, 180, 150); border-bottom-color: rgb(193, 180, 150); border-left-color: rgb(193, 180, 150); background-color: rgb(240, 238, 230); padding-top: 4pt; padding-right: 4pt; padding-bottom: 4pt; padding-left: 4pt; font-family: courier, monospace; white-space: pre-wrap; word-wrap: break-word; ">
pacmd load-module module-jack-source channels=2; pacmd load-module module-jack-sink channels=2;</pre></span><div>Easy as pie (not python). Now go to the ubuntu sound options, switch to pulseaudio on output (and in if you like) and enjoy. It is all routed back to jack by magical powers.</div>
<br><div class="gmail_quote">On Sun, Jan 16, 2011 at 4:31 PM, John Harrison <span dir="ltr"><<a href="mailto:john.harrison@alum.mit.edu">john.harrison@alum.mit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div text="#000000" bgcolor="#ffffff">
using JACK is the best way to go in terms of performance and low
latency. If you don't care about latency in Pd and don't want to
muck with settings, you can just do:<br>
<br>
aoss pd -oss<br>
<br>
and everything will cooperate together, with something like a 200ms
latency in Pd.<br>
<br>
Previously I tried using JACK as the backend for pulseaudio as Pedro
is suggesting. It works pretty well except that it was set up on my
laptop and things would get screwy after my laptop would wake up
from hibernation. I'm sure that's solvable but at the time I gave up
after spending too long playing with hibernation scripts trying to
solve it and achieving inconsistent results.<br><font color="#888888">
<br>
-John</font><div><div></div><div class="h5"><br>
<br>
On 01/15/2011 10:03 AM, Pierre Massat wrote:
<blockquote type="cite">Thanks for your reply Pedro. <br>
I don't think i really need to use firefox and pd together, i was
just wondering why this was happening. Now i know!<br>
Thanks!<br>
<br>
Pierre<br>
<br>
<div class="gmail_quote">2011/1/15 Pedro Lopes <span dir="ltr"><<a href="mailto:pedro.lopes@ist.utl.pt" target="_blank">pedro.lopes@ist.utl.pt</a>></span><br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">PD gains control of Alsa, thus firefox
cannot play audio.
<div>Tha trick is using firefox through jack, and pd too.
Search the archives of this mailing list, this has been
talked - i recall. </div>
<div><br>
</div>
<div>By the way, what you want is called Jack pulseaudio sink.</div>
<div><br>
</div>
<div>as here: <a href="http://www.youtube.com/watch?v=yjH1maNxR_M" target="_blank">http://www.youtube.com/watch?v=yjH1maNxR_M</a></div>
<div><br>
</div>
<div>
:)<br>
best regards<br>
<br>
<div class="gmail_quote">
<div>
<div>On Sat, Jan 15, 2011 at 3:15 PM, Pierre
Massat <span dir="ltr"><<a href="mailto:pimassat@gmail.com" target="_blank">pimassat@gmail.com</a>></span>
wrote:<br>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<div>
<div>
Hi list!<br>
<br>
I just downloaded pd-extended .42 on ubuntu 10.04,
and there's something strange (to me) :<br>
I was listening to some music on a bandcamp page,
and i installed pd and strated it to see if it was
working alright. It is working alright indeed, but
the music in bandcamp (in firefox) freezes when pd
is running. It just stops playing, as if on pause.
Everything works fine again when i close Pd. <br>
<br>
Is this normal or is it some kind of a bug? <br>
<font color="#888888"><br>
Pierre<br>
</font><br>
</div>
</div>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Pedro Lopes (MSc)<br>
contact: <a href="mailto:pedro.lopes@ist.utl.pt" target="_blank">pedro.lopes@ist.utl.pt</a><br>
website: <a href="http://web.ist.utl.pt/Pedro.Lopes" target="_blank">http://web.ist.utl.pt/Pedro.Lopes</a>
<br>
</div>
</blockquote>
</div>
<br>
<pre><fieldset></fieldset>
_______________________________________________
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
</div></div></div>
<br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Pedro Lopes (MSc)<br>contact: <a href="mailto:pedro.lopes@ist.utl.pt" target="_blank">pedro.lopes@ist.utl.pt</a><br>website: <a href="http://web.ist.utl.pt/Pedro.Lopes" target="_blank">http://web.ist.utl.pt/Pedro.Lopes</a> <br>
</div>