blob: 17d9d2e8a748c3fe599135fef44208d9e69c0585 (
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|
#N canvas 674 0 632 642 10;
#X obj 15 325 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X text 10 71 Displaying a grid:;
#X text 342 73 Saving a grid:;
#X text 232 689 "rewind" rewinds to the beginning of a video file.
Will overwrite previous data.;
#X obj 15 100 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1
-1;
#X obj 15 221 #in;
#X msg 65 227 open window;
#X msg 65 252 close;
#X text 232 597 "close" closes the file and hides the display \, must
be accompanied by message "open window" to reopen the display.;
#X text 232 764 A bang notifies when a complete grid has been received.
;
#X text 12 32 Displays or saves an incoming grid (usually an image
or a video).;
#X obj 15 302 #out window \, title example;
#X obj 127 100 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1
-1;
#X obj 133 796 #record;
#X msg 366 228 open somefile.jpg;
#X text 232 654 "open filename.format" (ex: "open somefile.jpg") sets
the filename to write to.;
#X obj 351 96 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1
-1;
#X obj 351 190 #in;
#X obj 351 266 #out;
#X msg 127 262 hidecursor;
#X text 196 261 <-- linux only;
#X text 232 632 "hidecursor" (linux only) hides the mouse cursor.;
#X obj 0 0 doc_h;
#X obj 3 371 doc_c n;
#X obj 3 796 doc_also;
#X obj 3 734 doc_o 1;
#N canvas 140 137 570 615 More 1;
#X text 203 143 open default display for screenshot;
#X msg 82 197 open videodev /dev/video0;
#X text 277 196 open a video device;
#X msg 187 388 open x11 here;
#X msg 158 337 open x11 local 10;
#X text 298 390 connect to default display;
#X text 297 338 connect to display #10 on this machine;
#X msg 65 313 open x11 remote.host.bla.net 0;
#X text 297 315 connect to remote machine on display #0;
#X text 202 114 open an image file;
#X msg 242 437 close;
#X msg 83 142 open x11 here;
#X msg 200 413 open window;
#X text 299 413 opens a window x11 \, quartz or sdl;
#X obj 23 223 cnv 15 23 17 empty empty empty 20 12 0 14 -241291 -66577
0;
#X obj 23 223 #in;
#X obj 5 13 cnv 15 500 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X obj 14 14 #out;
#X obj 23 480 #out;
#X msg 53 114 open sewing.jpg;
#X obj 23 72 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1 -1
;
#X obj 23 93 t b b;
#X msg 83 170 open lsd.mov;
#X text 203 169 open a quicktime video;
#X obj 97 74 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X msg 165 363 open save_here.jpg;
#X text 298 362 select file to write to in jpg format;
#X text 14 36 #out communicating grids (images) to/from devices \,
sockets \, files;
#X text 37 502 An incoming file is sent through the opened device or
file. In single file format \, a subsequent picture overwrites the
preceeding one. There are many more options.;
#X connect 1 0 15 0;
#X connect 3 0 18 0;
#X connect 4 0 18 0;
#X connect 7 0 18 0;
#X connect 10 0 18 0;
#X connect 11 0 15 0;
#X connect 12 0 18 0;
#X connect 15 0 18 0;
#X connect 19 0 15 0;
#X connect 20 0 21 0;
#X connect 21 0 15 0;
#X connect 21 1 19 0;
#X connect 22 0 15 0;
#X connect 24 0 15 0;
#X connect 25 0 18 0;
#X restore 140 334 pd More info about this object class;
#X obj 3 488 doc_i 1;
#X obj 14 518 doc_ii 0;
#X obj 14 764 doc_oo 0;
#X obj 97 518 doc_m i0 grid;
#X obj 97 654 doc_m i0 open;
#X obj 97 597 doc_m i0 close;
#X obj 97 632 doc_m i0 hidecursor;
#X obj 97 689 doc_m i0 rewind;
#X obj 103 796 #in;
#X text 188 426 auto-open with auto-detect of the format-handler;
#X text 226 451 auto-open with manual choice of the format-handler
;
#X text 88 406 nothing opened \, you have to open by yourself;
#X obj 46 407 #out;
#X obj 46 428 #out filename.suffix;
#X obj 46 449 #out handler filename.suffix;
#X obj 97 553 doc_m i0 autoclose;
#X obj 0 816 doc_f;
#X obj 97 764 doc_m o0 bang;
#X msg 15 117 load working.jpg;
#X msg 127 117 load sewing.jpg;
#X msg 351 113 load sewing.jpg;
#X text 232 553 "autoclose 1": close after incoming image is finished.
;
#X text 232 575 "autoclose 0": doesn't.;
#X text 232 518 write one frame (or in the case of [#out grid] \, one
grid of any kind).;
#X connect 4 0 45 0;
#X connect 5 0 11 0;
#X connect 6 0 11 0;
#X connect 7 0 11 0;
#X connect 11 0 0 0;
#X connect 12 0 46 0;
#X connect 14 0 18 0;
#X connect 16 0 47 0;
#X connect 17 0 18 0;
#X connect 19 0 11 0;
#X connect 24 1 35 0;
#X connect 24 1 13 0;
#X connect 30 1 50 0;
#X connect 31 1 15 0;
#X connect 32 1 8 0;
#X connect 33 1 21 0;
#X connect 34 1 3 0;
#X connect 42 1 48 0;
#X connect 42 1 49 0;
#X connect 44 1 9 0;
#X connect 45 0 5 0;
#X connect 46 0 5 0;
#X connect 47 0 17 0;
|