what are you guys finding useful about integrating pulse into JACK?? <br><br><div class="gmail_quote">On Fri, Sep 3, 2010 at 10:16 PM, Takashi Sakamoto <span dir="ltr"><<a href="mailto:o-takashi@sakamocchi.jp">o-takashi@sakamocchi.jp</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">You can see this integration on <a href="http://ubuntustudio.org/LucidLynx" target="_blank">http://ubuntustudio.org/LucidLynx</a> as<br>
"Pulse Audio built against Jack is available".<br>
<br>
This integration is for lucid or later because "pulseaudio-module-jack"<br>
package is not released for karmic or latter refering to this URL,<br>
<a href="http://packages.ubuntu.com/lucid/pulseaudio-module-jack" target="_blank">http://packages.ubuntu.com/lucid/pulseaudio-module-jack</a><br>
<br>
I'm a Japanese user of Ubuntu Studio and make some documents in Japanese<br>
community. Last week I make a document about this PulseAudio integration.<br>
<br>
<a href="https://wiki.ubuntulinux.jp/UbuntuStudioTips/Application/JACK-PulseAudio" target="_blank">https://wiki.ubuntulinux.jp/UbuntuStudioTips/Application/JACK-PulseAudio</a><br>
<br>
In this document. I suggest to use qjackctl option "Execute script after<br>
Setup" instead of config file. If you check this option and input two<br>
commands, you can get "PulseAudio against JACK", load this module just<br>
after JACK runnning.<br>
<br>
If you are interested, read it with web translation service like google<br>
or yahoo with plain text.<br>
<br>
Thks<br>
<font color="#888888"><br>
<br>
Takashi Sakamoto<br>
<a href="mailto:o-takashi@sakamocchi.jp">o-takashi@sakamocchi.jp</a><br>
</font><div><div></div><div class="h5"><br>
<br>
(2010/09/04 08:15), <a href="mailto:ttoine@ttoine.net">ttoine@ttoine.net</a> wrote:<br>
><br>
><br>
> Le 03/09/2010 23:11, Marc R.J. Brevoort a écrit :<br>
>> On Fri, 3 Sep 2010, <a href="mailto:ttoine@ttoine.net">ttoine@ttoine.net</a> wrote:<br>
>><br>
>><br>
>>> I just saw in the Maverick beta wiki pages that in Ubuntu Studio<br>
>>> Maverick, some work has been done for better integration between<br>
>>> PulseAudio and Jackd. Is it available for vanilla Ubuntu too ?<br>
>>> If not, does this need to install a specific package, or is there a<br>
>>> tweak we can document for non "Studio" users? I ask that because I am<br>
>>> downloading Maverick beta at the moment, but not the Studio, the<br>
>>> standard one, with the aim to test and document that important point!<br>
>>><br>
>> I've just set up a system that plays back pulseaudio over jack over<br>
>> ALSA on Lucid.<br>
>> The following are not step-by-step instructions but may help you<br>
>> get started.<br>
>><br>
>> You'll need pulseaudio-module-jack, the regular set of<br>
>> jack util packages;<br>
>><br>
>> ~/.asoundrc containing this:<br>
>> pcm.pulse {<br>
>> type pulse<br>
>> }<br>
>> ctl.pulse {<br>
>> type pulse<br>
>> }<br>
>> pcm.!default {<br>
>> type pulse<br>
>> }<br>
>> ctl.!default {<br>
>> type pulse<br>
>> }<br>
>><br>
>> follow the recommendations that qjackctl gives you when trying to start<br>
>> it and failing;<br>
>><br>
>> create two files,<br>
>><br>
>> 1. ~/bin/<a href="http://jack.pa" target="_blank">jack.pa</a> containing the following:<br>
>><br>
>> #!/bin/bash<br>
>> # (two following lines matter most)<br>
>> pactl load-module module-jack-sink<br>
>> pactl load-module module-jack-source<br>
>><br>
>> pactl load-module module-native-protocol-unix<br>
>> pactl load-module module-volume-restore<br>
>> pactl load-module module-default-device-restore<br>
>> pactl load-module module-rescue-streams<br>
>> pactl load-module module-suspend-on-idle<br>
>><br>
>> 2. a file ~/bin/startjack containing this:<br>
>> #!/bin/bash<br>
>> /usr/bin/jackd -dalsa -dhw:0 -r44100 -p1024 -n2<br>
>><br>
>> (which is the line shown by qjackctl after successful startup)<br>
>><br>
>> give both file execute permissions;<br>
>><br>
>> chmod +x ~/bin/*<br>
>><br>
>> and add them as startup programs.<br>
>><br>
>> re-login, in sound preferences set "Jack sink" as<br>
>> default audio device.<br>
>><br>
>> Thus you'll have a system that (in theory) directs all its audio<br>
>> through JACK.<br>
>><br>
>> One minor thing is that when starting qjackctl, pulseaudio is<br>
>> suspended, which is not ideal. As you're running the jack<br>
>> daemon as startup program, You'll also want to tell qjackctl<br>
>> not to terminate jack on exiting.<br>
>><br>
>> I hope this is of some use to you even though terribly<br>
>> incomplete and written up from memory too so probably full<br>
>> of errors.<br>
>><br>
>> Best,<br>
>> Marc<br>
>><br>
>><br>
> What would be better, would be to see in the audio/sound preferences a<br>
> "jackd" sound card, and manually choose it if necessary. This is not<br>
> always good to have all applications on jackd. And Pulse Audio will<br>
> remember this choice every time jackd is launched, as it does when you<br>
> plug an usb sound card.<br>
><br>
> Will try that this week-end, or next week, and let you know. This is one<br>
> of the most important stuff, with firewire, for Maverick, imho.<br>
><br>
> Toine<br>
<br>
--<br>
Ubuntu-Studio-devel mailing list<br>
<a href="mailto:Ubuntu-Studio-devel@lists.ubuntu.com">Ubuntu-Studio-devel@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>MH<br><a href="http://www.myspace.com/mikeholstein">http://www.myspace.com/mikeholstein</a><br><br><a href="http://opensourcemusician.libsyn.com/">http://opensourcemusician.libsyn.com/</a><br>