aboutsummaryrefslogtreecommitdiff
path: root/Patches/fs.frame.pd
blob: 7ec1c9d9ba86d209d8e1463e77146879733f3f49 (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
140
141
142
143
144
145
146
#N canvas 44 16 905 629 12;
#X text 346 170 "next" "prev" "random" "seek <number>" to show frames
in video or buffered images.;
#X text 347 211 "clear" to flush buffered images.;
#X text 347 237 "flip_auto" "flip_manual" "flip" controls how the display
should reflect changes in the image.;
#X text 348 282 "320x240" to set image size "100+100" to set frame
position "display 600x450" to set display size;
#X text 348 329 "borders_0" "borders_1" "stayontop_0"/1 "mute_0"/1
\, also right-click the image for display options.;
#X text 327 59 inlet accepts:;
#X text 348 371 "save <directory> <"bmp" or number for jpeg quality>"
save image in directory under name fs000001 \, fs000002 ...;
#X text 347 420 "plugin_name" (see example-plugins.pd);
#X text 350 453 mousetrack_1 and mousetrack_0 to report mouse x \,
y thru second outlet;
#X obj 128 127 outlet;
#X text 350 492 mouserect_1 and mouserect_0 to report dragged rectangle
;
#X obj 195 127 outlet;
#X text 346 106 "buffer <filename(.bmp .jpg)>" to load to memory;
#X text 346 81 filename to load and display (.avi .bmp .jpg);
#X text 346 124 "buffer <directory>" to load all images in dir;
#N canvas 216 35 557 597 guts 0;
#X msg 405 180 frame \$1;
#X obj 296 388 fs_sender;
#X obj 96 45 inlet;
#X obj 96 409 symbol;
#X obj 171 159 route fs_op;
#X obj 171 201 pack s s s;
#X obj 96 456 outlet;
#X obj 296 226 l2s;
#X obj 296 259 pack s s;
#X msg 296 292 \$2 \$1;
#X obj 405 152 symbol;
#X msg 27 320 bang;
#X text 35 269 drag&drop will bang;
#X obj 405 85 reset;
#X obj 96 88 route bang float;
#X msg 157 131 vf2fs \$1;
#X obj 405 115 symbol \$0F;
#X obj 160 58 r \$0Finlet;
#X obj 27 294 r \$0Fbang;
#X text 65 496 If you wish to know what is going on \, right-click
the Framestein-logo \, choose "Show debug" and watch the log while
you load a patch.;
#X connect 0 0 1 0;
#X connect 2 0 14 0;
#X connect 3 0 6 0;
#X connect 4 0 5 0;
#X connect 4 1 7 0;
#X connect 5 0 1 0;
#X connect 7 0 8 0;
#X connect 8 0 9 0;
#X connect 9 0 1 0;
#X connect 10 0 0 0;
#X connect 11 0 3 0;
#X connect 13 0 16 0;
#X connect 14 0 3 0;
#X connect 14 1 15 0;
#X connect 14 2 4 0;
#X connect 15 0 4 0;
#X connect 16 0 3 1;
#X connect 16 0 5 2;
#X connect 16 0 8 1;
#X connect 16 0 10 0;
#X connect 17 0 14 0;
#X connect 18 0 11 0;
#X restore 56 92 pd guts;
#X obj 56 59 inlet;
#X obj 56 127 outlet;
#N canvas 0 0 646 581 events 0;
#X obj 54 94 pack f f;
#X obj 88 248 pack f f f f;
#X text 58 17 report mouse x \, y;
#X text 88 130 report mouse rect;
#X text 115 297 report moving the window;
#X obj 15 522 outlet;
#X obj 126 382 pack f f;
#X msg 126 411 set \$1 + \$2;
#X obj 54 39 r \$0Fx;
#X obj 61 63 r \$0Fy;
#X obj 84 151 r \$0Fx1;
#X obj 84 175 r \$0Fy1;
#X obj 84 198 r \$0Fx2;
#X obj 85 222 r \$0Fy2;
#X obj 142 324 r \$0Fwinx;
#X obj 142 348 r \$0Fwiny;
#X obj 68 522 outlet;
#X obj 383 101 pack f s;
#X obj 497 57 r \$0Fevent;
#X obj 453 101 symbol;
#X text 383 164 report mouseup;
#X obj 383 187 r \$0Fmouseup;
#X obj 383 248 pack f s;
#X obj 497 204 r \$0Fevent;
#X msg 383 275 \; \$2mouseup \$1;
#X obj 453 248 symbol;
#X text 383 17 report mousedown;
#X msg 383 128 \; \$2mousedown \$1;
#X obj 383 40 r \$0Fmousedown;
#X text 384 341 report drag&drop filename;
#X obj 384 366 r \$0Ffile;
#X obj 384 419 buildstr;
#X obj 384 456 pack s s;
#X obj 493 412 r \$0Fevent;
#X obj 454 456 symbol;
#X msg 384 487 \; \$2file \$1;
#X obj 384 392 f;
#X connect 0 0 5 0;
#X connect 1 0 5 0;
#X connect 6 0 7 0;
#X connect 7 0 16 0;
#X connect 8 0 0 0;
#X connect 9 0 0 1;
#X connect 10 0 1 0;
#X connect 11 0 1 1;
#X connect 12 0 1 2;
#X connect 13 0 1 3;
#X connect 14 0 6 0;
#X connect 15 0 6 1;
#X connect 17 0 27 0;
#X connect 18 0 19 0;
#X connect 19 0 17 1;
#X connect 21 0 22 0;
#X connect 22 0 24 0;
#X connect 23 0 25 0;
#X connect 25 0 22 1;
#X connect 28 0 17 0;
#X connect 30 0 36 0;
#X connect 31 0 32 0;
#X connect 32 0 35 0;
#X connect 33 0 34 0;
#X connect 34 0 32 1;
#X connect 36 0 31 0;
#X restore 128 92 pd events;
#X text 346 142 "use <directory>" - like buffer \, but without preloading
;
#X text 349 519 "bufferize" will copy the current image to image buffer
;
#X text 351 544 minimize \, maximize \, bringtofront \, hidecursor_1
\, hidecursor_0;
#X connect 15 0 17 0;
#X connect 16 0 15 0;
#X connect 18 0 9 0;
#X connect 18 1 11 0;