<div class="gmail_quote"><div>Hi Brian,</div><div><br></div><div>I use to do this a lot, specially when trying out reactive video patches.</div><div>Unfortunately, it&#39;s not straight forward but basically you need to load a alsa-jack module.</div>
<div><br></div><div>You could try this, open a terminal and:</div><div><br></div><div><div>~$ qjackctl &amp;</div><div>[1] 2530</div><div>~$ Suspending PulseAudio</div><div><br></div><div>~$ pdextended -jack &amp;</div><div>
[2] 2561</div><div>~$ tk scaling is 1.650422352176738</div><div><br></div><div>~$ amarok &amp;</div><div>~$ pacmd load-module module-jack-sink channels=2;</div></div><div><br></div><div>Now you will see all your ports in the &quot;connection&quot; panel of qjack (the output of Amarok being &quot;PulseAudio JACK Sink&quot;).</div>
<div>Simply make the connection you wish. That should do it.</div><div><br></div><div>You can also save this connection setup in qjack using the patchbay, that&#39;s handy.</div><div><br></div><div>M</div><div><br></div><div>
<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">This probably has been asked before, but I don&#39;t seem to be able to find<br>
the right keywords to locate any answers on Google.<br>
<br>
I am running pd on linux. I have a patch that analyzes sound from an<br>
on-computer program in realtime, and controls LED lighting based on<br>
aubio detected beats and so on.<br>
<br>
The problem I am having is that jackd disconnects my audio source from<br>
the PD inputs whenever the audio source is paused or stopped. I am using<br>
amarok 1.4, but I really like it and would prefer not to have to switch<br>
to another media player just for that.<br>
<br>
The behavior I *want* is that whenever amarok is playing music, the<br>
music is piped into the ADC on puredata to my analysis patch, but that<br>
otherwise no user intervention with the background patch is necessary.<br>
<br>
The best way I can think to deal with this is to try to find a way to<br>
connect the final audio output on the sound driver to the ADC.<br>
Basically, if I were doing it physically to take a cable and connect my<br>
speaker output to my line input.<br>
<br>
Is there a good way to do this with either ALSA or jackd on linux in<br>
software? Ideally in a way where individual programs can release and<br>
attach to the output without it disrupting the connection?<br>
<br>
Best,<br>
Brian Neltner<br><br></blockquote></div>-- <br>Marco Donnarumma<br>Independent New Media and Sonic Arts Practitioner, Performer, Teacher<br>ACE, Sound Design MSc by Research (ongoing)<br>The University of Edinburgh, UK<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Portfolio: <a href="http://marcodonnarumma.com/" target="_blank">http://marcodonnarumma.com</a><br>Research: <a href="http://res.marcodonnarumma.com/" target="_blank">http://res.marcodonnarumma.com</a> | <a href="http://www.thesaddj.com/" target="_blank">http://www.thesaddj.com</a> | <a href="http://www.flxer.net/" target="_blank">http://www.flxer.net</a><br>
Director: <a href="http://www.liveperformersmeeting.net/" target="_blank">http://www.liveperformersmeeting.net</a><br>