-
Notifications
You must be signed in to change notification settings - Fork 6
/
pix_buffer_filmopen.pd
80 lines (80 loc) · 2 KB
/
pix_buffer_filmopen.pd
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
#N canvas 577 206 863 652 10;
#X declare -lib Gem;
#X obj 40 67 inlet;
#X obj 83 230 gemhead;
#X msg 114 253 open \$1;
#X obj 141 372 until;
#X obj 141 332 t f b;
#X obj 141 392 i;
#X obj 174 393 + 1;
#X msg 83 205 0;
#X obj 83 183 loadbang;
#X obj 40 90 route set open;
#X msg 40 132 set \$1;
#X obj 83 493 pix_buffer_write \$1;
#X obj 114 148 unpack s 0;
#X obj 114 122 t a b;
#X obj 187 174 t f;
#X msg 192 148 0;
#X msg 180 70 open data/homer.avi 5;
#X obj 40 111 symbol;
#X obj 141 415 t b f f f;
#X msg 255 119 set myImages;
#X obj 181 441 + 0;
#X msg 186 372 0;
#X text 340 71 open film "data/homer.avi" and write it into buffer
starting at bufferposition "5";
#X text 353 122 set the buffer to write to;
#X text 24 19 read a film into a buffer;
#X text 317 234 TODO:;
#X text 362 234 set upper limit to write to;
#X text 361 249 guess write-limit from pix_buffer size;
#X text 322 318 ATTENTION:;
#X text 407 318 this object will only work with rendering turned on
;
#X obj 109 532 outlet info;
#X obj 238 532 outlet finished;
#X obj 184 334 t b;
#X text 374 441 (c) copyleft 2009 Max Neupert;
#X obj 109 306 t a a;
#X obj 109 455 t a b;
#X text 373 423 (c) copyleft 2008-2009 IOhannes m zmoelnig \, IEM \,
KUG;
#X obj 83 278 pix_film bass2.mov;
#X obj 515 32 declare -lib Gem;
#X connect 0 0 9 0;
#X connect 1 0 37 0;
#X connect 2 0 37 0;
#X connect 3 0 5 0;
#X connect 4 0 3 0;
#X connect 4 1 21 0;
#X connect 5 0 6 0;
#X connect 5 0 18 0;
#X connect 6 0 5 1;
#X connect 7 0 1 0;
#X connect 8 0 7 0;
#X connect 9 0 17 0;
#X connect 9 1 13 0;
#X connect 10 0 11 0;
#X connect 12 0 2 0;
#X connect 12 1 14 0;
#X connect 13 0 12 0;
#X connect 13 1 15 0;
#X connect 14 0 20 1;
#X connect 15 0 14 0;
#X connect 16 0 9 0;
#X connect 17 0 10 0;
#X connect 18 0 1 0;
#X connect 18 1 37 1;
#X connect 18 2 20 0;
#X connect 19 0 9 0;
#X connect 20 0 11 1;
#X connect 21 0 5 1;
#X connect 32 0 3 1;
#X connect 34 0 35 0;
#X connect 34 1 4 0;
#X connect 35 0 30 0;
#X connect 35 1 31 0;
#X connect 37 0 11 0;
#X connect 37 1 34 0;
#X connect 37 2 32 0;