aboutsummaryrefslogtreecommitdiff
path: root/examples/2.lazy_syncro.pd
blob: 14b2549307de81dddffa03e0bf2ed49c232b7ac8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;