aboutsummaryrefslogtreecommitdiff
path: root/examples/1.basic_example.pd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/1.basic_example.pd')
-rw-r--r--examples/1.basic_example.pd23
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/1.basic_example.pd b/examples/1.basic_example.pd
new file mode 100644
index 0000000..e065bf8
--- /dev/null
+++ b/examples/1.basic_example.pd
@@ -0,0 +1,23 @@
+#N canvas 212 155 626 385 10;
+#X declare -path ..;
+#N canvas 0 22 450 300 (subpatch) 0;
+#X array data 100 float 2;
+#X coords 0 1 99 0 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 194 pd~ stop;
+#X text 133 262 synchronised reading;
+#X obj 29 284 shmem 1003 100;
+#X msg 29 260 memdump 0 data;
+#X obj 512 20 loadbang;
+#X msg 512 41 \; pd dsp 1;
+#X text 44 116 launch subprocess;
+#X obj 29 222 pd~ -ninsig 0 -noutsig 0 -fifo 20;
+#X obj 39 52 declare -path ..;
+#X msg 29 138 pd~ start 1.basic_example-subprocess.pd;
+#X connect 2 0 9 0;
+#X connect 5 0 4 0;
+#X connect 6 0 7 0;
+#X connect 9 0 5 0;
+#X connect 11 0 9 0;