<div dir="ltr"><div><div><div>Dear Katja,<br><br></div>Could you please tell us what buffer size you're using in Pd ? Can you get lower than 16 ms without dropouts with a reasonable patch with both adc and dac ?<br><br></div>Thanks in advance,<br><br></div>Pierre.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-07 10:39 GMT+01:00 katja <span dir="ltr"><<a href="mailto:katjavetter@gmail.com" target="_blank">katjavetter@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, Feb 6, 2015 at 11:56 PM, Miller Puckette <<a href="mailto:msp@ucsd.edu">msp@ucsd.edu</a>> wrote:<br>
> Also try running "pd -nosleep", which sometimes persuades kernels to<br>
> schedule the process differently :)<br>
<br>
</span>Indeed, "pd -nosleep" does the magic. Command htop shows hat the<br>
kernel has 100% CPU time reserved on one core (fixed per session) for<br>
pd -nosleep. Pd-gui runs on one of the other cores, alternating. The<br>
audio is fine with no dropouts.<br>
<br>
It is possible to start two instances of pd -nosleep, and get a core<br>
reserved for each. The second instance finds the alsa device busy of<br>
course, and this makes no sense in practice. Maybe the [pd~] object<br>
can profit from the multicore processor.<br>
<br>
I've checked current draw with the setup: Raspberry Pi + USB keyboard<br>
+ USB mouse + USB audio interface (iMic) together consume ~400 mA with<br>
only the desktop running, and ~450 mA with pd -nosleep running idle or<br>
with a CPU intensive patch. This indicates there is some frequency<br>
scaling going on after all. I'll look into that again when there's<br>
more info about the new Pi's config defaults and options.<br>
<span class="HOEnZb"><font color="#888888"><br>
Katja<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.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>
</div></div></blockquote></div><br></div>