diff options
Diffstat (limited to 'examples/2.lazy_syncro.pd')
-rw-r--r-- | examples/2.lazy_syncro.pd | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/2.lazy_syncro.pd b/examples/2.lazy_syncro.pd new file mode 100644 index 0000000..14b2549 --- /dev/null +++ b/examples/2.lazy_syncro.pd @@ -0,0 +1,25 @@ +#N canvas 189 490 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 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 39 52 declare -path ..; +#X msg 29 136 pd~ start 2.lazy_syncro-subprocess.pd; +#X text 26 329 reading the shared memory is made maximum 20 audio block +(pd~ round trip fifo) after pd~ set the value.; +#X obj 29 284 shmem 1002 100; +#X obj 29 222 pd~ -ninsig 0 -noutsig 0 -fifo 20; +#X connect 2 0 12 0; +#X connect 4 0 11 0; +#X connect 5 0 6 0; +#X connect 9 0 12 0; +#X connect 12 0 4 0; |