[PD] GUI and DSP

Hans-Christoph Steiner hans at at.or.at
Sat Feb 11 03:16:30 CET 2012

On Feb 8, 2012, at 3:22 PM, Mathieu Bouchard wrote:

> Le 2012-02-08 à 11:55:00, Jonathan Wilkes a écrit :
>> While technically correct that's misleading because there's a lot of stuff happening on the 'pd' side that a reasonable person would assume to be handled on the 'pd-gui' side.  Well, more than that-- there's stuff happening on the 'pd' side that doesn't need to happen at all, but it can use massive amounts of CPU and consequently a reasonable person gets dropouts when moving an array that has only 100 points visible and erroneously thinks, "Wow, I get dropouts just moving some polygons around on the screen? Tk stinks!"
> Besides, you could save some cpu, ram and bandwidth if all those array floats were hex-encoded instead of dec-encoded. Don't use "%g" nor "%d" when you can use "%x" and similar... especially fixed-width %x such as "%04x".
> If Tcl had fast base64 support (like Perl/Ruby), the difference would be even bigger. And it would bigger with the ability to send binary data (which can't happen now because "}" counts as end-of-block).

That's an interesting idea, have you tried it?  Are you proposing to make all messages between 'pd' and 'pd-gui' binary?  Or this would be only for sending chunks of data, like arrays?



Man has survived hitherto because he was too ignorant to know how to realize his wishes.  Now that he can realize them, he must either change them, or perish.    -William Carlos Williams

More information about the Pd-list mailing list