[Gridflow-cvs] [svn] commit: r5169 - /trunk/examples/operator_spectrum.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sat Mar 27 03:08:32 EDT 2010


Author: matju
Date: Sat Mar 27 03:08:31 2010
New Revision: 5169

Log:
added [#scan avg] as alternate example of a linear operator.

Modified:
    trunk/examples/operator_spectrum.pd

Modified: trunk/examples/operator_spectrum.pd
==============================================================================
--- trunk/examples/operator_spectrum.pd (original)
+++ trunk/examples/operator_spectrum.pd Sat Mar 27 03:08:31 2010
@@ -1,102 +1,133 @@
-#N canvas 693 0 542 648 10;
+#N canvas 449 0 542 715 10;
 #X obj 27 251 #cast f;
-#X obj 27 595 #clip;
-#X obj 26 386 #cast i;
-#X obj 27 67 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1
+#X obj 27 625 #clip;
+#X obj 26 365 #cast i;
+#X obj 27 67 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1
 ;
-#X msg 197 103 4 2 # 0 0 0 1 1 1 1 0;
-#X obj 27 232 #outer * (1 0);
-#X obj 26 367 #remap_image;
-#X obj 26 348 # sqrt (f #);
-#X obj 27 329 #inner (2 f # 1 1) \, seed (f #);
-#X obj 27 310 # *;
-#X obj 27 289 t a a;
-#X obj 26 481 t a a;
+#X msg 197 83 4 2 # 0 0 0 1 1 1 1 0;
+#X obj 26 346 #remap_image;
+#X obj 26 327 # sqrt (f #);
+#X obj 26 461 t a a;
 #X obj 27 103 #store (256 256 1 #);
 #X obj 27 122 #draw_polygon put (255);
-#X obj 79 484 # >> 8;
-#X obj 79 465 #inner (1 3 # 255 128 64);
-#X obj 27 576 # +;
-#X obj 127 586 #greyscale_to_rgb;
-#X obj 127 567 # * 255;
-#X obj 127 529 #convolve (3 3 # 0 -1 0 -1 4 -1);
-#X obj 27 84 metro 50;
-#X obj 197 84 loadbang;
-#X obj 26 405 # << 8;
-#X obj 26 462 # >> 8;
-#X obj 114 367 # + 128;
-#X obj 26 443 # + 128;
-#X obj 26 424 #fade 8;
-#X floatatom 442 65 5 0 0 0 - - -;
-#X floatatom 398 65 5 0 0 0 - - -;
-#X floatatom 354 65 5 0 0 0 - - -;
-#X msg 365 122 3 3 # \$1 \$2 \$1 \$2 \$3 \$2;
-#X obj 365 84 #pack 3;
-#X obj 365 103 #to_list;
-#X obj 292 354 # C.log (2 f #);
-#X obj 292 468 #greyscale_to_rgb;
-#X obj 292 430 #cast i;
-#X obj 292 373 #inner (2 f # 0 1) \, seed (f #);
-#X obj 292 411 # + (f # 128);
-#X obj 292 449 #clip;
-#X obj 292 392 # * (f # 40);
-#X obj 27 270 #fft;
-#X obj 197 122 # * 1;
-#X obj 127 548 # > 0;
-#X obj 128 510 # & 224;
-#X obj 57 183 #convolve (3 3 # -1 2 -1 2 -4 2);
-#X obj 27 149 #convolve (3 3 # 1 2 1 2 4 2 1 2 1);
-#X obj 27 213 # >> 4;
+#X obj 53 606 # >> 8;
+#X obj 53 587 #inner (1 3 # 255 128 64);
+#X obj 27 606 # +;
+#X obj 63 537 #greyscale_to_rgb;
+#X obj 62 480 #convolve (3 3 # 0 -1 0 -1 4 -1);
+#X obj 197 64 loadbang;
+#X obj 26 441 # >> 8;
+#X obj 112 346 # + 128;
+#X obj 26 422 # + 128;
+#X floatatom 442 75 5 0 0 0 - - -;
+#X floatatom 398 75 5 0 0 0 - - -;
+#X floatatom 354 75 5 0 0 0 - - -;
+#X msg 365 132 3 3 # \$1 \$2 \$1 \$2 \$3 \$2;
+#X obj 365 94 #pack 3;
+#X obj 365 113 #to_list;
+#X obj 332 382 # C.log (2 f #);
+#X obj 332 496 #greyscale_to_rgb;
+#X obj 332 458 #cast i;
+#X obj 332 401 #inner (2 f # 0 1) \, seed (f #);
+#X obj 332 439 # + (f # 128);
+#X obj 332 477 #clip;
+#X obj 332 420 # * (f # 40);
+#X obj 62 499 # > 0;
 #X text 28 8 Operator Spectrum patch.;
 #X text 28 25 Copyright 2007 by Mathieu Bouchard;
 #X text 28 42 as demonstrated at Pd Convention 2007;
-#X obj 27 614 #out window;
-#X connect 0 0 40 0;
-#X connect 1 0 50 0;
-#X connect 2 0 22 0;
-#X connect 3 0 20 0;
-#X connect 4 0 41 0;
-#X connect 5 0 0 0;
-#X connect 6 0 2 0;
-#X connect 6 1 24 0;
-#X connect 7 0 6 0;
-#X connect 8 0 7 0;
-#X connect 9 0 8 0;
-#X connect 10 0 9 0;
-#X connect 10 1 9 1;
-#X connect 11 0 43 0;
-#X connect 11 1 15 0;
-#X connect 12 0 13 0;
-#X connect 13 0 45 0;
-#X connect 14 0 16 1;
-#X connect 15 0 14 0;
-#X connect 16 0 1 0;
-#X connect 17 0 16 0;
-#X connect 18 0 17 0;
-#X connect 19 0 42 0;
-#X connect 20 0 12 0;
-#X connect 21 0 4 0;
-#X connect 22 0 26 0;
-#X connect 23 0 11 0;
-#X connect 24 0 6 1;
-#X connect 25 0 23 0;
-#X connect 26 0 25 0;
-#X connect 27 0 31 2;
-#X connect 28 0 31 1;
-#X connect 29 0 31 0;
-#X connect 30 0 45 1;
-#X connect 31 0 32 0;
-#X connect 32 0 30 0;
-#X connect 33 0 36 0;
-#X connect 35 0 38 0;
-#X connect 36 0 39 0;
-#X connect 37 0 35 0;
-#X connect 38 0 34 0;
-#X connect 39 0 37 0;
-#X connect 40 0 10 0;
-#X connect 41 0 13 2;
-#X connect 42 0 18 0;
-#X connect 43 0 19 0;
-#X connect 44 0 46 0;
-#X connect 45 0 46 0;
-#X connect 46 0 5 0;
+#X obj 27 644 #out window;
+#X obj 365 162 # +;
+#X obj 365 184 display;
+#X obj 62 461 # & 224;
+#X obj 62 461 # & 224;
+#X obj 62 518 # * 255;
+#X msg 209 557 1 3 # 64 128 255;
+#X obj 299 186 #fold +;
+#X obj 299 205 #fold +;
+#X obj 299 224 display;
+#X obj 27 663 fps;
+#X obj 27 682 display;
+#X obj 27 84 metro 33.333;
+#X obj 27 270 #fft \, real;
+#X obj 26 384 # << 3;
+#X obj 27 289 # sq- (f #);
+#X obj 27 308 #inner (2 f # 1 1) \, seed (f #);
+#X obj 102 148 #convolve (3 3 # 1 4 1 4 12 4 1 4 1);
+#X obj 197 102 # * 1;
+#X obj 165 210 #scan avg \, seed (1 #);
+#X obj 138 267 #scan avg \, seed (256 1 #);
+#X obj 138 191 t a a;
+#X obj 138 286 # +;
+#X obj 138 248 #scan avg \, seed (256 1 #);
+#X obj 165 229 #scan avg \, seed (1 #);
+#X obj 30 148 shunt;
+#X obj 66 150 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X obj 138 172 # * 64;
+#X floatatom 235 103 5 0 0 0 - - -;
+#X obj 26 403 #fade 4;
+#X connect 0 0 49 0;
+#X connect 1 0 36 0;
+#X connect 2 0 50 0;
+#X connect 3 0 48 0;
+#X connect 4 0 54 0;
+#X connect 5 0 2 0;
+#X connect 5 1 17 0;
+#X connect 6 0 5 0;
+#X connect 7 0 39 0;
+#X connect 7 1 11 0;
+#X connect 8 0 9 0;
+#X connect 9 0 61 0;
+#X connect 10 0 12 1;
+#X connect 11 0 10 0;
+#X connect 12 0 1 0;
+#X connect 13 0 12 0;
+#X connect 14 0 32 0;
+#X connect 15 0 4 0;
+#X connect 16 0 7 0;
+#X connect 17 0 5 1;
+#X connect 18 0 16 0;
+#X connect 19 0 23 2;
+#X connect 20 0 23 1;
+#X connect 21 0 23 0;
+#X connect 22 0 37 0;
+#X connect 22 0 53 1;
+#X connect 23 0 24 0;
+#X connect 24 0 22 0;
+#X connect 25 0 28 0;
+#X connect 27 0 30 0;
+#X connect 28 0 31 0;
+#X connect 29 0 27 0;
+#X connect 30 0 26 0;
+#X connect 31 0 29 0;
+#X connect 32 0 41 0;
+#X connect 36 0 46 0;
+#X connect 37 0 38 0;
+#X connect 37 0 43 0;
+#X connect 39 0 14 0;
+#X connect 41 0 13 0;
+#X connect 42 0 11 1;
+#X connect 43 0 44 0;
+#X connect 44 0 45 0;
+#X connect 46 0 47 0;
+#X connect 48 0 8 0;
+#X connect 49 0 51 0;
+#X connect 50 0 65 0;
+#X connect 51 0 52 0;
+#X connect 52 0 6 0;
+#X connect 53 0 0 0;
+#X connect 54 0 9 2;
+#X connect 55 0 60 0;
+#X connect 56 0 58 0;
+#X connect 57 0 59 0;
+#X connect 57 1 55 0;
+#X connect 58 0 0 0;
+#X connect 59 0 56 0;
+#X connect 60 0 58 1;
+#X connect 61 0 53 0;
+#X connect 61 1 63 0;
+#X connect 62 0 61 1;
+#X connect 63 0 57 0;
+#X connect 64 0 54 1;
+#X connect 65 0 18 0;



More information about the Gridflow-cvs mailing list