<div>Yep, when a software demands alsa (like pd does) it gets stuck. Jack is the way to go, but it actually works the same way, 'cause once jack gets a hold of alsa, everything else that is not communcating to jack and is demanding alsa will also be stuck. The trick is making/using programs that can talk to jack (i.e.: my audio player is mocp, video player is vlc, daw is ardour, etc... etc... they all can use jack as output).</div>
<div><br></div><div>Making flash plugin / browser going to jack has been coverd in many forums. example:</div><div>- <a href="http://ubuntuforums.org/showthread.php?t=843012">http://ubuntuforums.org/showthread.php?t=843012</a></div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div>note: Last time I tried to put my chrome+flash_plugin working with jack it took a bit of long time and a lot of ubuntu studio forum reading!<br>
<br><div>best of luck,</div><div>Pedro</div><div><br><div class="gmail_quote">On Mon, Dec 6, 2010 at 8:21 AM, IOhannes m zmoelnig <span dir="ltr"><<a href="mailto:zmoelnig@iem.at">zmoelnig@iem.at</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">On 2010-12-05 22:34, Aaron L. wrote:<br>
> This is somewhat of a complete newb issue so I apologize up front for<br>
> that.......<br>
><br>
> However, it seems that I cannot use pdextended and watch a youtube video at<br>
> the same time (the youtube vid is a pd tutorial).<br>
><br>
> Here's what it's starting with:<br>
><br>
> pasuspender -- /usr/bin/pdextended -alsa %F<br>
><br>
> Is it absolutely necessary to start pd with 'pasuspender'?<br>
><br>
> When I don't (i.e. start it like this: '/usr/bin/pdextended -alsa' ), I get<br>
> a bunch of 'device or resource busy' messages in the terminal and I don't<br>
> get any audio when doing the whold testtone thing).<br>
><br>
> Is there any way around this?<br>
<br>
<br>
</div>well, this is exactly the way how alsa is supposed to work:<br>
- only one application can access a (hardware) device at any point<br>
<br>
pulseaudio is a way to circumvent this limitation.<br>
running Pd in pasuspender, effectively disables pulseaudio including all<br>
it's features.<br>
<br>
<br>
luckily there are ways around that.<br>
<br>
- use pulseaudio (not a good option, as Pd currently doesn't support it<br>
:-(; btw, pa is geared towards the ordinary consumer multimedia desktop<br>
where people would like to watch their youtube videos and at the same<br>
time listen to the latest p!nk smash hit; Pd is not really targeted<br>
towards that marketm, hence pa is not done yet)<br>
<br>
- use alsa's "dmix" interface; "dmix" is a virtual device that allows<br>
several applications to send their audio output to the same hardware<br>
device (without the applications even knowing of it). i'm not 100% sure<br>
whether you can actually access this from within Pd....<br>
<br>
- use "jack". now you can think of jack as "pulseaudio for pros", it<br>
allows to route the output of one process to the input of another<br>
process (or more); "process" can be both hardware (your soundcard) or<br>
software (Pd, your browser,...).<br>
there are also ways to make alsa-only applications (e.g. your browser)<br>
use a pseudo alsa device that really sends all audio to jack (thus the<br>
application need not be aware of jack at all)<br>
<br>
<br>
madt<br>
<font color="#888888">IOhannes<br>
<br>
</font><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>