<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>While technically correct that's misleading because there's a lot of stuff happening on the 'pd' side <br></span></div><div><span>that a reasonable person would assume to be handled on the 'pd-gui' side. Well, more than that-- <br></span></div><div><span>there's stuff happening on the 'pd' side that doesn't need to happen at all, but it can use massive <br></span></div><div><span>amounts of CPU and consequently a reasonable person gets dropouts when moving an array that <br></span></div><div><span>has only 100 </span><span>points visible and erroneously thinks, "Wow, I get dropouts just moving some<br></span></div><div><span>polygons around </span><span>on the screen? Tk stinks!"<br></span></div><div><br></div><div>-Jonathan<br></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255);
margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Hans-Christoph Steiner <hans@at.or.at><br> <b><span style="font-weight: bold;">To:</span></b> batinste <dwanafite@yahoo.fr> <br><b><span style="font-weight: bold;">Cc:</span></b> "pd-list@iem.at List" <pd-list@iem.at> <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, February 8, 2012 12:38 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [PD] GUI and DSP<br> </font> </div> <br>
<br>One thing to keep in mind with Pd on modern computers is that 'pd-gui'<br>is a totally separate process from 'pd', so since basically all laptops,<br>desktops, and even tablets these days ship with 2 or more cores, that<br>means 'pd-gui' and 'pd' will be running on separate cores. Therefore,<br>as long as 'pd-gui' doesn't use more than say 70% of one core, it<br>shouldn't affect 'pd' much at all.<br><br>.hc<br><br>On Wed, 2012-02-08 at 17:01 +0100, batinste wrote:<br>> Hi<br>> <br>> See attached patch. Open it, turn on DSP, click the toggle and compare<br>> CPU usage with the subpatch visible or hidden. On my computer, Pd takes<br>> 1% of CPU with the non-visible slider, and between 2 and 3% when the<br>> slider is visible. Remember that [bang~] bangs at audio rate :) I<br>> usually limit slider and al refresh request rate to 20ms or more : or<br>> better, once the patch runs ok, i delete all useless sliders, bangs
and<br>> toggles.<br>> <br>> On 08/02/2012 15:41, Jean-Marie Adrien wrote:<br>> > Hello list<br>> > reading everywhere that GUI takes enormous amount of CPU.<br>> ><br>> > More precisely : does a GUI element, say a slider monitoring a signal, require lots of CPU in anycase -even when for instance it is invisible somewhere deep in a subpatch-, or is it requiring lots of CPU only when displayed in front window ?<br>> > JmA<br>> > _______________________________________________<br>> > <a ymailto="mailto:Pd-list@iem.at" href="mailto:Pd-list@iem.at">Pd-list@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>> ><br>> <br>> _______________________________________________<br>> <a ymailto="mailto:Pd-list@iem.at"
href="mailto:Pd-list@iem.at">Pd-list@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><br><br><br>_______________________________________________<br><a ymailto="mailto:Pd-list@iem.at" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list<br><br><br> </div> </div> </blockquote></div> </div></body></html>