aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorN.N. <nimon@users.sourceforge.net>2012-11-07 15:06:56 +0000
committerN.N. <nimon@users.sourceforge.net>2012-11-07 15:06:56 +0000
commit91ad04c6dfd6efabf3a558d8272be313ef52e6d1 (patch)
treec708d232b881919886c411bc892323aad1a58014
parent723ad8733412b6077398b1e8e146cfebfcfcda64 (diff)
shmem : modify example 3
svn path=/trunk/externals/share_mem/; revision=16528
-rw-r--r--examples/3.syncro_jitter.pd57
1 files changed, 29 insertions, 28 deletions
diff --git a/examples/3.syncro_jitter.pd b/examples/3.syncro_jitter.pd
index fb617a3..b6cf277 100644
--- a/examples/3.syncro_jitter.pd
+++ b/examples/3.syncro_jitter.pd
@@ -1,9 +1,9 @@
-#N canvas 213 47 680 592 10;
+#N canvas 213 47 802 587 10;
#X declare -path ..;
#N canvas 0 22 450 300 (subpatch) 0;
#X array data 100 float 2;
#X coords 0 1 99 -1 200 140 1;
-#X restore 374 162 graph;
+#X restore 488 162 graph;
#X text 30 23 Basic sharing of memory data between two pd instances
;
#X msg 48 160 pd~ stop;
@@ -14,12 +14,11 @@
#X obj 39 52 declare -path ..;
#X obj 104 215 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
-#X obj 279 437 t f f;
-#X obj 306 462 ==;
-#X obj 306 482 sel 1;
-#X obj 306 504 print erreur de syncro;
+#X obj 232 351 t f f;
+#X obj 259 376 ==;
+#X obj 259 396 sel 1;
#X obj 104 194 loadbang;
-#X obj 252 417 sel 0;
+#X obj 205 331 sel 0;
#X msg 29 138 pd~ start 3.syncro_jitter-subprocess.pd;
#X obj 513 79 loadbang;
#X msg 513 98 memclear;
@@ -34,36 +33,38 @@
#X obj 179 396 + 1;
#X obj 179 418 % 100;
#X floatatom 167 210 5 0 100 0 - - -;
-#X text 312 359 It is not due to syncronisation jitter between pd and
+#X text 426 359 It is not due to syncronisation jitter between pd and
pd~ \, (specially since metro is fast and round trip buffer is high).
;
#X text 208 210 change this value;
#X obj 104 234 metro 3;
-#X text 312 315 At metro rate \, the first value of the shared memory
+#X text 426 315 At metro rate \, the first value of the shared memory
is read and written in the table. After 100 values \, the displayed
table should be constant;
-#X connect 2 0 20 0;
-#X connect 3 0 23 0;
+#X obj 259 418 print synchro_error;
+#X connect 2 0 19 0;
+#X connect 3 0 22 0;
+#X connect 3 0 13 0;
#X connect 4 0 5 0;
-#X connect 8 0 31 0;
+#X connect 8 0 30 0;
#X connect 9 0 10 1;
#X connect 9 1 10 0;
#X connect 10 0 11 0;
-#X connect 11 0 12 0;
-#X connect 13 0 8 0;
-#X connect 14 1 9 0;
-#X connect 15 0 20 0;
+#X connect 11 0 32 0;
+#X connect 12 0 8 0;
+#X connect 13 1 9 0;
+#X connect 14 0 19 0;
+#X connect 15 0 16 0;
#X connect 16 0 17 0;
-#X connect 17 0 18 0;
-#X connect 19 0 20 0;
-#X connect 21 0 22 0;
-#X connect 21 1 19 0;
-#X connect 22 0 3 0;
-#X connect 23 0 24 0;
-#X connect 23 1 25 0;
+#X connect 18 0 19 0;
+#X connect 20 0 21 0;
+#X connect 20 1 18 0;
+#X connect 21 0 3 0;
+#X connect 22 0 23 0;
+#X connect 22 1 24 0;
+#X connect 24 0 25 0;
#X connect 25 0 26 0;
-#X connect 26 0 27 0;
-#X connect 27 0 25 1;
-#X connect 27 0 24 1;
-#X connect 28 0 31 1;
-#X connect 31 0 21 0;
+#X connect 26 0 24 1;
+#X connect 26 0 23 1;
+#X connect 27 0 30 1;
+#X connect 30 0 20 0;