aboutsummaryrefslogtreecommitdiff
path: root/doc/tutorials/intro/0.pure_data_files.pd
blob: 900984c6498e3aad32f3618194538fbb0ae839a1 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
#N canvas 565 81 572 535 10;
#X obj 191 209 textfile;
#X obj 111 239 print all;
#X msg 100 183 bang;
#X msg 191 173 rewind;
#X obj 131 307 route canvas;
#X obj 112 434 print width;
#X obj 51 385 print Xpos;
#X obj 81 410 print Ypos;
#X obj 143 459 print heigth;
#X obj 174 384 print fontsize;
#X obj 51 354 unpack f f f f f;
#X text 35 14 As much as possible \, every message in Pd uses the same
format \, hence the name "pure data".;
#X msg 317 174 read 0.pure_data_files.pd;
#X obj 295 387 s pd-clone;
#X obj 191 234 route #N #X;
#X obj 234 66 tgl 20 0 empty empty empty 0 -6 0 8 -24198 -1 -1 1 1
;
#X msg 294 298 vis 1 \, clear;
#X obj 142 134 + 1;
#X obj 100 134 float;
#X text 36 49 Here is a patch that reads the file of this patch and
makes a clone:;
#X obj 272 112 select 1;
#X obj 100 158 moses 51;
#X obj 98 110 metro 300;
#N canvas 0 22 540 591 clone 0;
#X obj 191 209 textfile;
#X obj 111 239 print all;
#X msg 100 183 bang;
#X msg 191 173 rewind;
#X obj 131 307 route canvas;
#X obj 112 434 print width;
#X obj 51 385 print Xpos;
#X obj 81 410 print Ypos;
#X obj 143 459 print heigth;
#X obj 174 384 print fontsize;
#X obj 51 354 unpack f f f f f;
#X text 35 14 As much as possible \, every message in Pd uses the same
format \, hence the name "pure data".;
#X msg 317 174 read 0.pure_data_files.pd;
#X obj 295 387 s pd-clone;
#X obj 191 234 route #N #X;
#X obj 234 66 tgl 20 0 empty empty empty 0 -6 0 8 -24198 -1 -1 0 1
;
#X msg 294 298 vis 1 \, clear;
#X obj 142 134 + 1;
#X obj 100 134 float;
#X text 36 49 Here is a patch that reads the file of this patch and
makes a clone:;
#X obj 272 112 select 1;
#X obj 100 158 moses 51;
#X obj 98 110 metro 300;
#X connect 0 0 1 0;
#X connect 0 0 14 0;
#X connect 2 0 0 0;
#X connect 3 0 0 0;
#X connect 4 0 10 0;
#X connect 10 0 6 0;
#X connect 10 1 7 0;
#X connect 10 2 5 0;
#X connect 10 3 8 0;
#X connect 10 4 9 0;
#X connect 12 0 0 0;
#X connect 14 0 4 0;
#X connect 14 1 13 0;
#X connect 15 0 20 0;
#X connect 15 0 22 0;
#X connect 16 0 13 0;
#X connect 17 0 18 1;
#X connect 18 0 17 0;
#X connect 18 0 21 0;
#X connect 20 0 12 0;
#X connect 20 0 3 0;
#X connect 20 0 16 0;
#X connect 21 0 2 0;
#X connect 22 0 18 0;
#X restore 428 454 pd clone;
#X connect 0 0 1 0;
#X connect 0 0 14 0;
#X connect 2 0 0 0;
#X connect 3 0 0 0;
#X connect 4 0 10 0;
#X connect 10 0 6 0;
#X connect 10 1 7 0;
#X connect 10 2 5 0;
#X connect 10 3 8 0;
#X connect 10 4 9 0;
#X connect 12 0 0 0;
#X connect 14 0 4 0;
#X connect 14 1 13 0;
#X connect 15 0 20 0;
#X connect 15 0 22 0;
#X connect 16 0 13 0;
#X connect 17 0 18 1;
#X connect 18 0 17 0;
#X connect 18 0 21 0;
#X connect 20 0 12 0;
#X connect 20 0 3 0;
#X connect 20 0 16 0;
#X connect 21 0 2 0;
#X connect 22 0 18 0;