Dear Kaj,<br>thanks for Your help.<br>I&#39;ve installed the lowlatency kernel and I&#39;ve also reinstalled qjackctl and pd, from the ubuntu repositorys.<br>But I still do have the problem, that I don&#39;t hear any sound.<br>
I opened Your patch signal-example and I can see the &quot;cables&quot;.<br>But I can&#39;t hear any sound!<br>I don&#39;t have the option &quot;compute&quot; audio.<br>When I click DSP, nothing happens.<br>Shall I install a newer or older version from source?<br>
<br><div class="gmail_quote">2012/7/4 Kaj Ailomaa <span dir="ltr">&lt;<a href="mailto:kaj.ailomaa@mousike.me" target="_blank">kaj.ailomaa@mousike.me</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Wed, 2012-07-04 at 08:20 +0200, Stefan Thomas wrote:<br>
&gt; Dear Iain,<br>
</div><div class="im">&gt; I did as You suggested, the problem remains the same.<br>
&gt; One problem might be:<br>
&gt; When I reinstall PD some of the other PD-related packages will be<br>
&gt; reinstalled to.<br>
&gt; But I&#39;ve read in the meantime, that my problem could be a bug, related<br>
&gt; to my version of PD.<br>
&gt; It seems to be the same problem like the one, I have read on this<br>
&gt; site:<br>
&gt; <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645041" target="_blank">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645041</a><br>
&gt;<br>
<br>
</div>Yep. It seems to be a bug with that release.<br>
<div><div class="h5"><br>
I&#39;ve added an example as an attachment. Should be enough to check if<br>
everything works.<br>
<br>
Alsa works for me, but it doesn&#39;t work well at lower latencies. Jack is<br>
preferred for that.<br>
Only, to get lower latencies with jack, you&#39;ll need to install<br>
linux-lowlatency (low latency capable linux kernel) and set up realtime<br>
privilege (all this is done if you installed Ubuntu Studio).<br>
<br>
To set up realtime privilege, you&#39;ll need to do a few things.<br>
<br>
First, install linux-lowlatency: sudo apt-get install linux-lowlatency<br>
<br>
Second, you need to answer yes when asked about this when installing<br>
jack. If unsure, see that the file /etc/security/limits.d/audio.conf is<br>
not named /etc/security/limits.d/audio.conf.disabled. To rename it, do<br>
this in a terminal:<br>
sudo mv /etc/security/limits.d/audio.conf.disabled<br>
/etc/security/limits.d/audio.conf<br>
Inside that file, you need to have these two lines uncommented (they<br>
should be by default):<br>
<br>
@audio   -  rtprio     95<br>
@audio   -  memlock    unlimited<br>
<br>
If the file doesn&#39;t exist, just create it: sudo nano<br>
/etc/security/limits.d/audio.conf<br>
..and add the two lines above.<br>
<br>
The third thing to do is to add yourself to audio group: sudo usermod -a<br>
-G audio $USER<br>
<br>
Then, reboot.<br>
<br>
</div></div>Latency is adjusted separately for both jack and pd. I believe jack<br>
handles audio latency when used with pd, while pd handles its&#39; internal<br>
data latency.<br>
Good latency for me is 64 frames/period in qjackctl settings, and around<br>
5-10 ms in pd jack settings.<br>
<br>
<br>
|----------------<br>
  <a href="mailto:kaj.ailomaa@mousike.me">kaj.ailomaa@mousike.me</a><br>
     ---------------------|<br>
<br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">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>
<br></blockquote></div><br>