aboutsummaryrefslogtreecommitdiff
path: root/examples/3.syncro_jitter.pd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/3.syncro_jitter.pd')
-rw-r--r--examples/3.syncro_jitter.pd50
1 files changed, 50 insertions, 0 deletions
diff --git a/examples/3.syncro_jitter.pd b/examples/3.syncro_jitter.pd
new file mode 100644
index 0000000..71f828f
--- /dev/null
+++ b/examples/3.syncro_jitter.pd
@@ -0,0 +1,50 @@
+#N canvas 554 531 694 524 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 0 0;
+#X restore 374 162 graph;
+#X text 30 23 Basic sharing of memory data between two pd instances
+;
+#X msg 48 160 pd~ stop;
+#X obj 104 274 shmem 1003 100;
+#X obj 512 20 loadbang;
+#X msg 512 41 \; pd dsp 1;
+#X text 44 116 launch subprocess;
+#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 msg 104 254 memdump 0 data \, memread 0;
+#X obj 131 313 t f f;
+#X obj 158 338 ==;
+#X obj 158 358 sel 1;
+#X obj 158 380 print erreur de syncro;
+#X text 274 312 value read should all be diferent. They are not due
+to syncronisation jitter between pd and pd~ \, (specially since metro
+is fast and round trip buffer is high).;
+#X obj 104 234 metro 5;
+#X obj 104 194 loadbang;
+#X obj 104 293 sel 0;
+#X msg 29 138 pd~ start 3.syncro_jitter-subprocess.pd;
+#X obj 359 407 loadbang;
+#X msg 359 426 memclear;
+#X obj 359 445 shmem 1003 100;
+#X msg 43 403 metro bang;
+#X obj 29 430 pd~ -ninsig 0 -noutsig 0 -fifo 50;
+#X connect 2 0 23 0;
+#X connect 3 0 17 0;
+#X connect 4 0 5 0;
+#X connect 8 0 15 0;
+#X connect 9 0 3 0;
+#X connect 10 0 11 1;
+#X connect 10 1 11 0;
+#X connect 11 0 12 0;
+#X connect 12 0 13 0;
+#X connect 15 0 9 0;
+#X connect 15 0 22 0;
+#X connect 16 0 8 0;
+#X connect 17 1 10 0;
+#X connect 18 0 23 0;
+#X connect 19 0 20 0;
+#X connect 20 0 21 0;
+#X connect 22 0 23 0;