[Gridflow-cvs] [svn] commit: r3943 - /trunk/examples/translation_tracker.pd

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Wed Jun 25 15:30:17 EDT 2008


Author: matju
Date: Wed Jun 25 15:30:17 2008
New Revision: 3943

Log:
fixed the sign problem, made minor "optimisations".

Modified:
    trunk/examples/translation_tracker.pd

Modified: trunk/examples/translation_tracker.pd
==============================================================================
--- trunk/examples/translation_tracker.pd (original)
+++ trunk/examples/translation_tracker.pd Wed Jun 25 15:30:17 2008
@@ -2,13 +2,13 @@
 #X obj 28 15 tgl 15 0 empty empty empty 17 7 0 10 -24198 -1 -1 1 1
 ;
 #X obj 28 32 metro 100;
-#X obj 172 34 #in sewing.jpg;
+#X obj 172 63 #in sewing.jpg;
 #X obj 172 7 bng 15 250 50 0 empty empty empty 17 7 0 10 -241291 -1
 -1;
 #X obj 189 12 loadbang;
 #X obj 28 120 #remap_image;
-#X floatatom 289 73 5 0 0 0 - - -;
-#X obj 256 94 #pack;
+#X floatatom 358 62 5 0 0 0 - - -;
+#X obj 325 83 #pack;
 #X obj 28 195 #cast f;
 #X obj 28 233 #fft;
 #X obj 28 352 #cast i;
@@ -16,25 +16,20 @@
 #X obj 172 195 #cast f;
 #X obj 172 233 #fft;
 #X obj 172 214 #outer * (2 f # 1 0);
-#X obj 28 304 #fft \, sign -1;
 #X obj 28 176 # - 128;
 #X obj 172 176 # - 128;
 #X obj 28 371 #rgb_to_greyscale;
 #X obj 29 508 display;
-#X obj 28 285 # C.*conj;
-#X obj 44 428 #fold max;
+#X obj 28 252 # C.*conj;
 #X obj 28 390 #t;
 #X obj 28 469 # >=;
 #X obj 28 488 #moment;
-#X floatatom 289 53 5 0 0 0 - - -;
-#X obj 37 143 #out window;
+#X floatatom 358 42 5 0 0 0 - - -;
 #X obj 193 470 #moment;
 #X obj 194 493 display;
-#X obj 191 426 #out window;
 #X obj 191 407 #clip;
 #X obj 191 388 # + 128;
-#X obj 116 120 # +;
-#X obj 28 323 #inner (2 f # 1 0) \, seed (f #);
+#X obj 28 329 #inner (2 f # 1 0) \, seed (f #);
 #X text 241 319 this is the same as magnitude;
 #X text 244 332 because imaginary = 0 here;
 #X obj 28 101 #store;
@@ -44,73 +39,91 @@
 #X obj 121 86 #camera;
 #X obj 228 121 gf.oneshot;
 #X obj 189 121 t a a;
-#X obj 279 122 bng 15 250 50 0 empty empty empty 17 7 0 10 -260818
+#X obj 301 122 bng 15 250 50 0 empty empty empty 17 7 0 10 -260818
 -1 -1;
-#X obj 121 505 fps;
-#X obj 122 524 display;
-#X obj 121 486 bang;
+#X obj 141 505 fps;
+#X obj 142 525 display;
+#X obj 141 486 bang;
 #X obj 331 232 # inv* (f # 1);
-#X obj 331 194 loadbang;
 #X msg 331 213 list f # 172800;
-#X obj 28 252 # * (f #);
-#X obj 172 253 # * (f #);
+#X obj 172 252 # * (f #);
+#X obj 191 369 # >> 5;
+#X obj 189 31 t b b;
+#X obj 233 164 #window A;
+#X obj 83 182 #window B;
+#X obj 148 183 tgl 15 0 empty empty empty 17 7 0 10 -241291 -1 -1 0
+1;
+#X obj 298 165 tgl 15 0 empty empty empty 17 7 0 10 -241291 -1 -1 0
+1;
+#X obj 319 427 tgl 15 0 empty empty empty 17 7 0 10 -241291 -1 -1 1
+1;
+#X obj 191 426 #window C \, state 1;
+#X obj 44 428 #fold max;
 #X obj 44 409 #ravel;
-#X obj 233 164 #out window;
-#X obj 191 369 # >> 5;
+#X obj 28 290 #t;
+#X text 54 291 this bufferises the data to avoid an alignment warning
+;
+#X obj 28 310 #fft \, sign 1;
+#X obj 331 251 # sq- (f #);
+#X obj 116 120 # -;
 #X connect 0 0 1 0;
-#X connect 1 0 37 0;
-#X connect 2 0 17 0;
-#X connect 2 0 36 1;
+#X connect 1 0 32 0;
+#X connect 2 0 16 0;
+#X connect 2 0 31 1;
 #X connect 3 0 2 0;
-#X connect 4 0 2 0;
-#X connect 5 0 16 0;
-#X connect 5 0 26 0;
-#X connect 5 1 32 0;
+#X connect 4 0 45 0;
+#X connect 5 0 15 0;
+#X connect 5 0 47 0;
+#X connect 5 1 58 0;
 #X connect 6 0 7 1;
-#X connect 7 0 32 1;
+#X connect 7 0 58 1;
 #X connect 8 0 11 0;
-#X connect 9 0 49 0;
-#X connect 10 0 18 0;
-#X connect 10 0 53 0;
+#X connect 9 0 19 0;
+#X connect 10 0 17 0;
+#X connect 10 0 44 0;
 #X connect 11 0 9 0;
 #X connect 12 0 14 0;
-#X connect 13 0 50 0;
+#X connect 13 0 43 0;
 #X connect 14 0 13 0;
-#X connect 15 0 33 0;
-#X connect 16 0 8 0;
-#X connect 17 0 12 0;
-#X connect 18 0 22 0;
-#X connect 18 0 27 0;
-#X connect 20 0 15 0;
-#X connect 21 0 23 1;
-#X connect 22 0 23 0;
-#X connect 22 1 51 0;
-#X connect 23 0 24 0;
-#X connect 24 0 19 0;
-#X connect 24 0 45 0;
-#X connect 25 0 7 0;
-#X connect 27 0 28 0;
-#X connect 30 0 29 0;
-#X connect 31 0 30 0;
-#X connect 32 0 5 1;
-#X connect 33 0 10 0;
-#X connect 36 0 5 0;
-#X connect 37 0 36 0;
-#X connect 37 1 39 0;
-#X connect 38 0 37 1;
-#X connect 39 0 41 0;
-#X connect 40 0 17 0;
-#X connect 40 0 52 0;
-#X connect 41 0 16 0;
-#X connect 41 1 40 0;
-#X connect 42 0 40 1;
-#X connect 43 0 44 0;
-#X connect 45 0 43 0;
-#X connect 46 0 49 1;
-#X connect 46 0 50 1;
-#X connect 47 0 48 0;
-#X connect 48 0 46 0;
-#X connect 49 0 20 0;
-#X connect 50 0 20 1;
-#X connect 51 0 21 0;
-#X connect 53 0 31 0;
+#X connect 15 0 8 0;
+#X connect 16 0 12 0;
+#X connect 17 0 20 0;
+#X connect 17 0 24 0;
+#X connect 19 0 54 0;
+#X connect 20 0 21 0;
+#X connect 20 1 53 0;
+#X connect 21 0 22 0;
+#X connect 22 0 18 0;
+#X connect 22 0 40 0;
+#X connect 23 0 7 0;
+#X connect 24 0 25 0;
+#X connect 26 0 51 0;
+#X connect 27 0 26 0;
+#X connect 28 0 10 0;
+#X connect 31 0 5 0;
+#X connect 32 0 31 0;
+#X connect 32 1 34 0;
+#X connect 33 0 32 1;
+#X connect 34 0 36 0;
+#X connect 35 0 16 0;
+#X connect 35 0 46 0;
+#X connect 36 0 15 0;
+#X connect 36 1 35 0;
+#X connect 37 0 35 1;
+#X connect 38 0 39 0;
+#X connect 40 0 38 0;
+#X connect 41 0 57 0;
+#X connect 42 0 41 0;
+#X connect 43 0 19 1;
+#X connect 44 0 27 0;
+#X connect 45 0 2 0;
+#X connect 45 1 42 0;
+#X connect 48 0 47 1;
+#X connect 49 0 46 1;
+#X connect 50 0 51 1;
+#X connect 52 0 21 1;
+#X connect 53 0 52 0;
+#X connect 54 0 56 0;
+#X connect 56 0 28 0;
+#X connect 57 0 43 1;
+#X connect 58 0 5 1;



More information about the Gridflow-cvs mailing list