[PD] maximum "control rate" in Pd

Martin Peach chakekatzil at gmail.com
Fri Mar 13 18:55:32 CET 2015


On Fri, Mar 13, 2015 at 3:51 AM, Alexandre Torres Porres <porres at gmail.com>
wrote:

>
> About the "control rate" paradigm in Pd, I have to admit that when I asked
> about it I was thinking about it in relation to what that means in
> supercollider and Csound, but I also always considered that Pd doesn't
> really have that kind of "control rate" per se. It's nice that we can look
> deeply into what it all means in the Pd context.
>
> But yeah, I think everyone gets the question anyway, but the final
> detailed answer is still out there somewhere.
>
> This is what I get so far, anyway: By thinking of more of a general
> concept from the SC/Csound realm, a control rate is something that is
> slower than audio rate and it doesn't make sense that it can go higher than
> audio rate (thus some may consider it "curious"). Simply put, since Pd
> does not have this kind of paradigm in its structure, control messages have
> no real boundary and are free to be fired at any rate that your computer
> can manage and restricted only to bit float limitations.
>
> By making it more straightforward, it has no limits, it can go faster
> than you'll ever need it to until it kills your CPU.
>
> The attached patch lets you see Pd's "control rate" in action. It shows a
graph of a wave being chopped at control rate. It won't chop any faster
than about 1ms and it's irregular.

Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20150313/d3c908a0/attachment.html>
-------------- next part --------------
#N canvas 301 566 825 262 10;
#X obj 178 49 metro 100;
#X obj 40 204 tabwrite~ \$0-wave;
#X obj 178 26 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj 65 47 metro 1;
#X obj 40 164 *~ 0;
#X obj 65 8 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1
;
#X floatatom 111 26 5 0 100 0 - - -, f 5;
#X obj 170 204 table \$0-wave 1000;
#X obj 40 141 noise~;
#X obj 65 88 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1
;
#X text 303 205 <- click here to se the table;
#X text 197 24 <-start writing to the table;
#X text 86 6 <-start chopping the sound;
#X obj 424 10 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X msg 424 42 \; pd dsp \$1;
#X text 444 9 <- start dsp;
#X connect 0 0 1 0;
#X connect 2 0 0 0;
#X connect 3 0 9 0;
#X connect 4 0 1 0;
#X connect 5 0 3 0;
#X connect 6 0 3 1;
#X connect 8 0 4 0;
#X connect 9 0 4 1;
#X connect 13 0 14 0;


More information about the Pd-list mailing list