-
Notifications
You must be signed in to change notification settings - Fork 6
/
avplayer~.pd
149 lines (149 loc) · 3.93 KB
/
avplayer~.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
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
147
148
149
#N canvas 900 235 798 781 10;
#X declare -lib iemlib;
#X declare -lib Gem;
#X obj 16 0 cnv 15 480 60 empty empty Abstraction 20 30 0 20 -262130
-99865 0;
#X obj 39 416 vline~;
#X obj 39 621 soundfiler;
#X obj 39 684 / 48;
#X obj 39 642 t f f;
#N canvas 0 22 450 300 sample 0;
#N canvas 0 22 450 300 (subpatch) 0;
#X array \$0-soundfile 214599 float 2;
#X coords 0 1 214599 -1 200 140 1;
#X restore 17 27 graph;
#X restore 43 131 pd sample;
#X obj 272 673 pix_texture;
#X obj 272 399 gemhead;
#X msg 438 437 open \$1;
#X obj 438 483 unpack f f f;
#X obj 299 534 *;
#X obj 299 446 snapshot~;
#X obj 272 421 t a b;
#X obj 299 490 /;
#X obj 299 573 int;
#X obj 299 595 change;
#X obj 272 702 rectangle 3 2;
#X text 43 111 Audio;
#X text 275 113 Video;
#X text 104 133 Storage for the sample;
#X text 444 126 Storage for the video;
#X obj 511 511 cnv 15 45 110 empty empty empty 20 12 0 14 -261234 -66577
0;
#X obj 514 517 /;
#X obj 514 594 *;
#X obj 514 538 t b f;
#X msg 514 560 3;
#X msg 84 373 1 \, 214599 4470.81 \;;
#N canvas 762 173 450 300 laden 0;
#X obj 20 166 outlet;
#X obj 20 69 pack f f;
#X obj 20 92 trigger list bang bang;
#X msg 84 129 addcomma;
#X msg 20 128 add \$2 \$1;
#X obj 20 19 r \$0-miliseconds;
#X obj 65 44 r \$0-samples;
#X msg 149 129 set 0;
#X connect 1 0 2 0;
#X connect 2 0 4 0;
#X connect 2 1 3 0;
#X connect 2 2 7 0;
#X connect 3 0 0 0;
#X connect 4 0 0 0;
#X connect 5 0 1 0;
#X connect 6 0 1 1;
#X connect 7 0 0 0;
#X restore 97 346 pd laden;
#X obj 66 664 s \$0-samples;
#X obj 39 704 s \$0-miliseconds;
#X obj 39 442 tabread4~ \$0-soundfile;
#X obj 276 133 pix_buffer \$0-speicher 800;
#X obj 438 460 pix_buffer_filmopen \$0-speicher;
#X obj 272 622 pix_buffer_read \$0-speicher;
#X obj 314 467 r \$0-samples;
#X obj 314 512 r \$0-frames;
#X obj 39 536 t a b;
#X obj 66 556 symbol \$0-soundfile;
#X obj 39 579 pack s s;
#X msg 39 600 read -resize \$1 \$2;
#X text 445 139 maximum 800 frames in this case;
#X obj 438 517 s \$0-frames;
#X text 437 369 loading the video into the buffer;
#X obj 42 285 splitfilename .;
#X obj 39 515 makefilename %s.aiff;
#X obj 438 415 makefilename %s.mov;
#X text 144 285 this is part of the iemlib external;
#X text 556 537 this adjusts the rectangle;
#X text 568 550 dimensions to fit to the;
#X text 562 563 aspect ratio of the video;
#X obj 438 393 r \$0-filename;
#X obj 39 494 r \$0-filename;
#X obj 42 306 s \$0-filename;
#N canvas 0 22 177 189 init 0;
#X obj -67 -41 declare -lib iemlib;
#X obj -66 -21 declare -lib Gem;
#X obj -66 2 loadbang;
#X msg -66 24 \; pd dsp 1;
#X connect 2 0 3 0;
#X restore 508 15 pd init;
#X obj 53 235 loadbang;
#X obj 42 259 symbol \$1;
#X obj 42 158 inlet;
#X obj 39 466 outlet~;
#X obj 149 703 outlet;
#X text 35 72 this patch is used by 07b-abstraction.pd;
#X obj 42 181 route open bang;
#X obj 299 553 + 0.5;
#X obj 272 647 translateXYZ \$2 \$3 \$4;
#X text 39 733 Max Neupert - Bauhaus-Universität Weimar 2012;
#X connect 1 0 11 0;
#X connect 1 0 30 0;
#X connect 2 0 4 0;
#X connect 3 0 29 0;
#X connect 4 0 3 0;
#X connect 4 1 28 0;
#X connect 4 1 58 0;
#X connect 6 0 16 0;
#X connect 7 0 12 0;
#X connect 8 0 32 0;
#X connect 9 0 41 0;
#X connect 9 1 22 0;
#X connect 9 2 22 1;
#X connect 10 0 61 0;
#X connect 11 0 13 0;
#X connect 12 0 33 0;
#X connect 12 1 11 0;
#X connect 13 0 10 0;
#X connect 14 0 15 0;
#X connect 15 0 33 1;
#X connect 22 0 24 0;
#X connect 23 0 16 1;
#X connect 24 0 25 0;
#X connect 24 1 23 1;
#X connect 25 0 23 0;
#X connect 25 0 16 2;
#X connect 26 0 1 0;
#X connect 27 0 26 0;
#X connect 30 0 57 0;
#X connect 32 0 9 0;
#X connect 33 0 62 0;
#X connect 34 0 13 1;
#X connect 35 0 10 1;
#X connect 36 0 38 0;
#X connect 36 1 37 0;
#X connect 37 0 38 1;
#X connect 38 0 39 0;
#X connect 39 0 2 0;
#X connect 43 0 52 0;
#X connect 44 0 36 0;
#X connect 45 0 8 0;
#X connect 50 0 45 0;
#X connect 51 0 44 0;
#X connect 54 0 55 0;
#X connect 55 0 43 0;
#X connect 56 0 60 0;
#X connect 60 0 55 0;
#X connect 60 1 26 0;
#X connect 60 2 1 0;
#X connect 61 0 14 0;
#X connect 62 0 6 0;