<br><br><div class="gmail_quote">On Wed, Dec 8, 2010 at 4:29 PM, Lewis Pike <span dir="ltr">&lt;<a href="mailto:phaselocker@gmail.com" target="_blank">phaselocker@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div><div></div><div>IOhannes m zmoelnig &lt;<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>&gt; writes:<br>
<br>
&gt; On 2010-12-05 22:34, Aaron L. wrote:<br>
&gt;&gt; This is somewhat of a complete newb issue so I apologize up front for<br>
&gt;&gt; that.......<br>
&gt;&gt;<br>
&gt;&gt; However, it seems that I cannot use pdextended and watch a youtube video at<br>
&gt;&gt; the same time (the youtube vid is a pd tutorial).<br>
&gt;&gt;<br>
&gt;&gt; Here&#39;s what it&#39;s starting with:<br>
&gt;&gt;<br>
&gt;&gt;  pasuspender -- /usr/bin/pdextended -alsa %F<br>
&gt;&gt;<br>
&gt;&gt; Is it absolutely necessary to start pd with &#39;pasuspender&#39;?<br>
&gt;&gt;<br>
&gt;&gt; When I don&#39;t (i.e. start it like this:  &#39;/usr/bin/pdextended -alsa&#39; ), I get<br>
&gt;&gt; a bunch of &#39;device or resource busy&#39; messages in the terminal and I don&#39;t<br>
&gt;&gt; get any audio when doing the whold testtone thing).<br>
&gt;&gt;<br>
&gt;&gt; Is there any way around this?<br>
&gt;<br>
&gt;<br>
&gt; well, this is exactly the way how alsa is supposed to work:<br>
&gt; - only one application can access a (hardware) device at any point<br>
&gt;<br>
&gt; pulseaudio is a way to circumvent this limitation.<br>
&gt; running Pd in pasuspender, effectively disables pulseaudio including all<br>
&gt; it&#39;s features.<br>
&gt;<br>
&gt;<br>
&gt; luckily there are ways around that.<br>
&gt;<br>
&gt; - use pulseaudio (not a good option, as Pd currently doesn&#39;t support it<br>
&gt; :-(; btw, pa is geared towards the ordinary consumer multimedia desktop<br>
&gt; where people would like to watch their youtube videos and at the same<br>
&gt; time listen to the latest p!nk smash hit; Pd is not really targeted<br>
&gt; towards that marketm, hence pa is not done yet)<br>
&gt;<br>
&gt; - use alsa&#39;s &quot;dmix&quot; interface; &quot;dmix&quot; is a virtual device that allows<br>
&gt; several applications to send their audio output to the same hardware<br>
&gt; device (without the applications even knowing of it). i&#39;m not 100% sure<br>
&gt; whether you can actually access this from within Pd....<br>
&gt;<br>
&gt; - use &quot;jack&quot;. now you can think of jack as &quot;pulseaudio for pros&quot;, it<br>
&gt; allows to route the output of one process to the input of another<br>
&gt; process (or more); &quot;process&quot; can be both hardware (your soundcard) or<br>
&gt; software (Pd, your browser,...).<br>
&gt; there are also ways to make alsa-only applications (e.g. your browser)<br>
&gt; use a pseudo alsa device that really sends all audio to jack (thus the<br>
&gt; application need not be aware of jack at all)<br>
&gt;<br>
&gt;<br>
&gt; madt<br>
&gt; IOhannes<br>
<br>
</div></div>I&#39;m new to Pd as well and ran into the ver same problem.  After a bit of<br>
guesswork, I tried running Pd with the command:<br>
<br>
pd -alsa -alsaadd dmix<br>
<br>
which seems to add an unlabelled audio output in the Pd alsa<br>
configuration menu.  When this output is selected, it solves the<br>
problem.  I works well enough, but I haven&#39;t tried using jack.  Can<br>
anyone who has used both dmix and jack offer offer an opinion on the<br>
pros and cons of each?<br>
<font color="#888888"><br>
.Lewis<br>
</font><div><div></div><div><br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br></div></div></blockquote><div><br><br>Interestingly enough, I ran into another bug when using Jack and PD.  Basically ends up with Jack going non-responsive and any attempt to rid the system of any Jack processes don&#39;t really work.  All Jack processes simply return a &#39;defunct&#39; when you look at &quot;top&quot;.  Makes Jack unusable since it will neither start nor stop.  The more research I did revealed that this is a bug in the 8.04 Hardy Heron kernel.<br>

<br>Big bummer. <br></div></div><br>