After more testing...<br><br>With pd compiled with &quot;JACK_NUM_PORTS 256&quot;, audio runs fine at first, but if the cpu gets a big hit, like when I open a soundfont in [fluid~], the audio falls behind and I get the pops/clicks again.&nbsp; If I compile pd with &quot;JACK_NUM_PORTS 32&quot;, this doesn&#39;t appear to happen; [fluid~] does its thing, the gui freezes for a couple seconds, but the audio is fine afterwards.&nbsp; <br>
<br>Hopefully this hints at what the problem really is.<br><br>regards,<br>Rich<br><br><div class="gmail_quote">On Wed, May 28, 2008 at 12:37 PM, Rich E &lt;<a href="mailto:reakinator@gmail.com">reakinator@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">IOhannes, thanks for the commit..&nbsp; <br><br>The problem wasn&#39;t automatically starting jack. After swapping out lines of code from the vanilla version, I discovered the source of bad audio is coming from&nbsp;  &quot;#define NUM_JACK_PORTS 1024&quot; .&nbsp; This seems to be making pd fall behind for reasons unknown to me, but if I set it to 256 or below, the audio is fine again (I don&#39;t know the exact number that is &#39;over the limit&#39;, when I switched to 512, I got the pops/clicks).<br>


<br>One more thing; this only happens with my firewire soundcard (edirol FA-101), whereas I don&#39;t have the problem with the built-in intel soundcard.&nbsp; So it seems maybe the freebob driver is trying to open all the extra ports it doesn&#39;t need, thereby making audio fall behind?&nbsp; I don&#39;t know if this makes sense, because again, if I open audacity while pd&#39;s audio is on and popping/clicking, the audio chain is corrected and everything sounds fine.&nbsp; This was my first time looking at jack code and really don&#39;t understand how it all ties together yet.<div class="Ih2E3d">
<br>


<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
PS: if you use the sf-tracker for this, please create a bugreport instead of adding to the &quot;patches&quot;<br>
</blockquote></div><br></div>Sounds good. Should I file a bug report for the above mentioned #define?&nbsp; I would submit a patch, but I don&#39;t think just setting the #define to a number that works on my computer is good for everyone else.<br>

<br>regards,<br><font color="#888888">Rich<br><br>
</font></blockquote></div><br>