-
Notifications
You must be signed in to change notification settings - Fork 6
/
08b-socket_video.pd
73 lines (73 loc) · 2.05 KB
/
08b-socket_video.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
#N canvas 493 56 494 701 10;
#X declare -lib Gem;
#X declare -lib Gem;
#X obj 13 5 cnv 15 480 60 empty empty Socket_communication_VIDEO 20
30 0 20 -262130 -99865 0;
#X msg 25 153 create \, 1;
#X msg 37 175 0 \, destroy;
#X obj 27 592 pix_texture;
#X obj 27 357 gemhead;
#X msg 193 395 open \$1;
#X obj 193 441 unpack f f f;
#X obj 147 472 *;
#X obj 147 514 int;
#X obj 147 535 change;
#X obj 27 640 rectangle 3 2;
#X text 195 126 Storage for the video;
#X text 115 171 Gem window;
#X text 209 356 loading the video into the buffer;
#X obj 247 471 cnv 15 45 110 empty empty empty 20 12 0 14 -261234 -66577
0;
#X obj 248 475 /;
#X obj 248 552 *;
#X obj 248 496 t b f;
#X msg 248 518 3;
#X obj 193 331 makefilename %s.mov;
#X obj 147 230 netreceive 3001;
#X floatatom 234 252 5 0 0 0 - - -, f 5;
#X obj 147 272 route frame file;
#X floatatom 155 309 5 0 0 0 - - -, f 5;
#X obj 193 308 symbol;
#X obj 25 197 gemwin 50;
#X obj 27 567 pix_buffer_read \$0-speicher;
#X obj 193 417 pix_buffer_filmopen \$0-speicher;
#X obj 24 125 pix_buffer \$0-speicher 800;
#X text 296 498 this adjusts the rectangle;
#X text 308 511 dimensions to fit to the;
#X text 302 524 aspect ratio of the video;
#X obj 358 96 declare -lib Gem;
#X text 22 69 Open this patch along with 08a-socket-audio.pd in another
;
#X text 22 83 instance of Pd.;
#X text 269 253 indicates number of connections;
#X obj 3 151 cnv 15 20 20 empty empty 2 6 10 0 14 -261234 -66577 0
;
#X obj 147 493 + 0.5;
#X text 25 673 Max Neupert - Bauhaus-Universität Weimar 2009;
#X connect 1 0 25 0;
#X connect 2 0 25 0;
#X connect 3 0 10 0;
#X connect 4 0 26 0;
#X connect 5 0 27 0;
#X connect 6 0 7 1;
#X connect 6 1 15 0;
#X connect 6 2 15 1;
#X connect 7 0 37 0;
#X connect 8 0 9 0;
#X connect 9 0 26 1;
#X connect 15 0 17 0;
#X connect 16 0 10 1;
#X connect 17 0 18 0;
#X connect 17 1 16 1;
#X connect 18 0 16 0;
#X connect 18 0 10 2;
#X connect 19 0 5 0;
#X connect 20 0 22 0;
#X connect 20 1 21 0;
#X connect 22 0 7 0;
#X connect 22 0 23 0;
#X connect 22 1 24 0;
#X connect 24 0 19 0;
#X connect 26 0 3 0;
#X connect 27 0 6 0;
#X connect 37 0 8 0;