From c91564bfae33b251d39dac61179a32835af6781e Mon Sep 17 00:00:00 2001 From: Cyrille Henry Date: Fri, 2 Nov 2012 13:42:21 +0000 Subject: standardization of example name svn path=/trunk/externals/share_mem/; revision=16519 --- examples/1.basic_example-subprocess.pd | 57 ++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 examples/1.basic_example-subprocess.pd (limited to 'examples/1.basic_example-subprocess.pd') diff --git a/examples/1.basic_example-subprocess.pd b/examples/1.basic_example-subprocess.pd new file mode 100644 index 0000000..2e29022 --- /dev/null +++ b/examples/1.basic_example-subprocess.pd @@ -0,0 +1,57 @@ +#N canvas 845 216 758 599 10; +#X declare -path ..; +#N canvas 0 22 450 300 (subpatch) 0; +#X array data2 100 float 2; +#X coords 0 1 99 0 200 140 1 0 0; +#X restore 354 43 graph; +#X obj 60 415 loadbang; +#X msg 60 436 \; pd dsp 1; +#X obj 245 208 f 0; +#X obj 276 209 + 1; +#X obj 275 231 % 100; +#X obj 245 254 t f f; +#X obj 290 319 metro 20000; +#X obj 290 370 line; +#X obj 246 393 *; +#X obj 246 420 t f f; +#X obj 271 443 int; +#X obj 246 465 -; +#X obj 246 290 / 100; +#X msg 290 343 1 \, 10 20000; +#X obj 290 290 loadbang; +#X obj 67 85 metro 100; +#X text 63 207 writing to the shared memory; +#X obj 86 264 shmem 1003 100; +#X obj 67 50 loadbang; +#X obj 139 51 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X obj 246 496 tabwrite data2; +#X msg 86 230 memset 0 data2; +#X obj 67 110 t b b b; +#X obj 67 315 stdout; +#X text 326 232 writing evolving data to array; +#X obj 66 16 declare -path ..; +#X connect 1 0 2 0; +#X connect 3 0 4 0; +#X connect 3 0 6 0; +#X connect 4 0 5 0; +#X connect 5 0 3 1; +#X connect 6 0 13 0; +#X connect 6 1 21 1; +#X connect 7 0 14 0; +#X connect 8 0 9 1; +#X connect 9 0 10 0; +#X connect 10 0 12 0; +#X connect 10 1 11 0; +#X connect 11 0 12 1; +#X connect 12 0 21 0; +#X connect 13 0 9 0; +#X connect 14 0 8 0; +#X connect 15 0 7 0; +#X connect 16 0 23 0; +#X connect 19 0 16 0; +#X connect 20 0 16 0; +#X connect 22 0 18 0; +#X connect 23 0 24 0; +#X connect 23 1 22 0; +#X connect 23 2 3 0; -- cgit v1.2.1