#N canvas 67 91 767 698 10; #X obj 435 -6 r /ev/vid/\$1/state; #X obj 390 28 spigot 1; #X obj 20 -86 cnv 15 360 60 empty empty creation_arguments: 5 12 0 12 -162280 -1 0; #X obj 20 -23 cnv 15 360 45 empty empty inlets/outlets 5 12 0 12 -191407 -66577 0; #X text 24 -7 Inlet 1: GEMlist; #X obj 417 216 pix_film; #X obj 417 107 alpha; #X obj 487 153 list trim; #X obj 487 109 r /ev/vid/\$1/filename; #X obj 625 131 openpanel; #X obj 625 109 r /ev/vid/\$1/open; #X obj 625 154 s /ev/vid/\$1/filename; #X text 487 92 open file______________________________; #X obj 20 26 cnv 15 360 80 empty empty empty 20 12 0 14 -261682 -66577 0; #N canvas 857 50 394 265 init 0; #X obj 79 -253 loadbang; #X obj 45 -256 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 79 -229 list append \$1; #X msg 79 -202 \; /ev/vid/\$1/fadeIn_time 0 \; /ev/vid/\$1/fadeOut_time 0 \; /ev/vid/\$1/start_time 0 \; /ev/vid/\$1/timebase 0 \; /ev/vid/\$1/state 1 \; /ev/vid/\$1/form 50 \; /ev/vid/\$1/weight 100 \; /ev/vid/\$1/gain 100 \; /ev/vid/\$1/framerate 25 \; /ev/vid/\$1/loop 0 \; /ev/vid/\$1/flip/horizontal 0 \; /ev/vid/\$1/flip/vertical 0 \; /ev/vid/\$1/start 0; #X connect 0 0 2 0; #X connect 1 0 2 0; #X connect 2 0 3 0; #X restore 468 -84 pd init; #X obj 439 321 s /ev/vid/\$1/dimen; #X obj 644 301 s /ev/vid/\$1/stop; #X obj 487 131 list prepend open; #X obj 462 194 r /ev/vid/\$1/filmframe; #N canvas 289 69 1003 672 fadelogic 0; #X obj 27 33 cnv 15 250 400 empty empty fadeIN_machinery 20 12 0 14 -261234 -66577 0; #X obj 586 17 cnv 15 400 500 empty empty fadeOut_machinery 20 8 0 14 -233017 -66577 0; #X obj 280 184 cnv 15 300 230 empty empty communication_between_fader_and_number-boxes 2 12 0 10 -233017 -66577 0; #X obj 42 639 outlet fade; #X obj 739 74 r /ev/vid/\$1/fadeOut_time; #X obj 95 112 r /ev/vid/\$1/fadeIn_time; #X msg 791 282 set \$1; #X msg 323 349 set \$1; #X obj 640 33 r /ev/vid/\$1/lengthNEW; #X obj 134 135 r /ev/vid/\$1/framerate; #X obj 42 480 line; #X msg 729 442 0 \$1; #X obj 35 341 f; #X obj 729 422 f; #X obj 289 206 r /ev/vid/\$1/fadeIn_timeFRr; #X obj 792 345 r /ev/vid/\$1/fadeOut_timeFRr; #X obj 122 211 /; #X msg 122 191 1000 \$1; #X obj 50 305 *; #X obj 50 209 *; #X obj 739 159 *; #X obj 744 271 *; #X obj 640 241 -; #X obj 587 273 r /ev/vid/\$1/elapsed; #X obj 655 215 t b f; #X obj 713 272 int; #X obj 684 53 r /ev/vid/\$1/framerate; #X obj 684 184 /; #X msg 684 159 1000 \$1; #X obj 791 316 s /ev/vid/\$1/fadeOut_timeFRs; #X obj 368 375 s /ev/vid/\$1/fadeIn_timeFRs; #X obj 288 327 int; #X obj 791 263 int; #X obj 792 415 s /ev/vid/\$1/fadeOut_time; #X obj 792 393 /; #X obj 289 256 s /ev/vid/\$1/fadeIn_time; #X obj 289 235 /; #X msg 368 349 range 0 \$1; #X msg 840 283 range 0 \$1; #X obj 698 493 s /ev/vid/\$1/fOut_start; #X obj 370 528 s /ev/vid/\$1/fIn_end; #X obj 119 639 s /ev/vid/\$1/fade_level; #X obj 42 606 * 1; #X obj 72 529 r /ev/vid/\$1/gain; #X text 180 529 set maximum gain level; #X obj 72 579 t b f; #X obj 72 552 / 100; #X text 182 503 fade curves are set inside; #X text 366 391 sets numberboxes according to fader; #X obj 370 424 r /ev/vid/\$1/elapsed; #X obj 122 171 f 25; #X obj 684 135 f 25; #X obj 370 478 change; #X obj 370 456 >= 0; #X obj 370 502 sel 1; #X obj 698 375 change; #X obj 698 395 sel 1; #X msg 90 375 1; #X obj 90 338 r /ev/vid/\$1/lengthNEW; #X obj 50 92 r /ev/vid/\$1/lengthNEW; #X obj 368 327 r /ev/vid/\$1/lengthNEW; #X obj 754 97 r /ev/vid/\$1/lengthNEW; #X obj 840 261 r /ev/vid/\$1/lengthNEW; #X obj 35 55 r /ev/vid/\$1/start; #X msg 35 376 0 \, 1 \$1; #X obj 360 225 r /ev/vid/\$1/lengthNEW; #X obj 95 134 t f b; #X obj 122 231 t b f; #X obj 50 231 t f f; #X obj 288 423 t f; #X obj 729 468 s \$0-fade_vid; #X obj 90 402 s \$0-fade_vid; #X obj 42 458 r \$0-fade_vid; #X obj 828 367 r /ev/vid/\$1/lengthNEW; #X obj 739 183 t f b f f; #X obj 754 127 t b f; #X obj 50 134 t b f; #X obj 698 355 > 1; #N canvas 1 83 410 202 shapes 0; #X obj -47 16 r /ev/vid/\$1/form; #X msg -47 108 shape \$1; #X obj 63 16 r /ev/vid/\$1/weight; #X msg 63 64 weight \$1; #X obj 63 36 / 100; #X obj 63 146 outlet; #X obj -47 62 - 1; #X obj -47 40 / 50; #X obj -47 85 * 3; #X msg 193 67 vis; #X obj 193 38 t b; #X obj 193 16 r /ev/vid/\$1/curve/vis; #X connect 0 0 7 0; #X connect 1 0 5 0; #X connect 2 0 4 0; #X connect 3 0 5 0; #X connect 4 0 3 0; #X connect 6 0 8 0; #X connect 7 0 6 0; #X connect 8 0 1 0; #X connect 9 0 5 0; #X connect 10 0 9 0; #X connect 11 0 10 0; #X restore 171 480 pd shapes; #X obj 42 503 fadecurve \$1-vid 100 3; #X obj 588 299 r /ev/vid/\$1/start; #X msg 588 342 set 0; #X text 288 274 if time is changed within the numberboxes \; fader is set accordingly; #X obj 588 321 sel 1; #X obj 35 75 sel 1; #X connect 4 0 20 0; #X connect 5 0 66 0; #X connect 6 0 29 0; #X connect 7 0 30 0; #X connect 8 0 22 0; #X connect 9 0 50 0; #X connect 10 0 79 0; #X connect 11 0 70 0; #X connect 12 0 64 0; #X connect 13 0 11 0; #X connect 14 0 36 0; #X connect 15 0 34 0; #X connect 16 0 67 0; #X connect 17 0 16 0; #X connect 18 0 12 1; #X connect 19 0 68 0; #X connect 20 0 74 0; #X connect 21 0 13 1; #X connect 22 0 25 0; #X connect 23 0 77 0; #X connect 24 0 22 0; #X connect 24 1 22 1; #X connect 25 0 77 1; #X connect 26 0 51 0; #X connect 27 0 21 0; #X connect 28 0 27 0; #X connect 31 0 7 0; #X connect 31 0 69 0; #X connect 32 0 6 0; #X connect 34 0 33 0; #X connect 36 0 35 0; #X connect 37 0 30 0; #X connect 38 0 29 0; #X connect 42 0 41 0; #X connect 42 0 3 0; #X connect 43 0 46 0; #X connect 45 0 42 0; #X connect 45 1 42 1; #X connect 46 0 45 0; #X connect 49 0 53 0; #X connect 50 0 17 0; #X connect 51 0 28 0; #X connect 52 0 54 0; #X connect 53 0 52 0; #X connect 54 0 40 0; #X connect 55 0 56 0; #X connect 56 0 13 0; #X connect 56 0 39 0; #X connect 57 0 71 0; #X connect 58 0 57 0; #X connect 59 0 76 0; #X connect 60 0 37 0; #X connect 61 0 75 0; #X connect 62 0 38 0; #X connect 63 0 84 0; #X connect 64 0 71 0; #X connect 65 0 36 1; #X connect 66 0 19 0; #X connect 66 1 50 0; #X connect 67 0 18 0; #X connect 67 1 18 1; #X connect 68 0 18 0; #X connect 68 1 31 0; #X connect 69 0 53 1; #X connect 72 0 10 0; #X connect 73 0 34 1; #X connect 74 0 24 0; #X connect 74 1 21 0; #X connect 74 2 21 1; #X connect 74 3 32 0; #X connect 75 0 20 0; #X connect 75 1 20 1; #X connect 76 0 19 0; #X connect 76 1 19 1; #X connect 77 0 55 0; #X connect 78 0 79 1; #X connect 79 0 42 0; #X connect 80 0 83 0; #X connect 81 0 55 0; #X connect 83 0 81 0; #X connect 84 0 12 0; #X restore 530 351 pd fadelogic; #X obj 425 134 loadbang; #X obj 390 -33 inlet gemlist; #X obj 417 371 pix_rgba; #X obj 417 442 pix_alpha; #X msg 493 414 1; #X msg 521 414 1 1 1; #X msg 560 414 0 0 0; #N canvas 612 50 351 692 timebase 0; #X obj 28 256 spigot 1; #X obj 84 255 spigot 0; #X msg 84 275 bang; #X obj 114 296 + 1; #X obj 84 296 f; #X text 174 258 Gate-Logic to switch \; between CPU-triggered- \; playback and frame- \; accurate playback; #X obj 129 216 - 1; #X obj 129 235 * -1; #N canvas 491 147 642 465 realtime 0; #X msg 380 212 0; #X obj 119 143 realtime; #X msg 170 30 1000 \$1; #X obj 170 50 /; #X obj 119 302 i; #X obj 119 115 t b; #X obj 119 163 / 33.3333; #X msg 202 253 0; #X msg 164 253 1; #X obj 119 323 spigot 1; #X obj 170 5 r /ev/vid/\$1/framerate; #X obj 3 -19 r /ev/vid/\$1/start; #X obj 119 347 outlet spigot; #X obj 202 347 outlet zero; #X msg 42 158 0; #X obj 3 33 t b b b; #X obj 119 -19 inlet stopbang; #X obj 379 183 inlet stop; #X obj 255 97 inlet two; #X obj 69 3 sel 1 0; #X connect 0 0 4 1; #X connect 1 0 6 0; #X connect 2 0 3 0; #X connect 3 0 6 1; #X connect 4 0 9 0; #X connect 5 0 1 0; #X connect 6 0 4 0; #X connect 7 0 9 1; #X connect 7 0 13 0; #X connect 8 0 9 1; #X connect 9 0 12 0; #X connect 10 0 2 0; #X connect 11 0 19 0; #X connect 14 0 13 0; #X connect 15 0 8 0; #X connect 15 1 5 0; #X connect 15 2 14 0; #X connect 16 0 5 0; #X connect 17 0 0 0; #X connect 18 0 1 1; #X connect 19 0 15 0; #X connect 19 1 5 0; #X connect 19 1 7 0; #X restore 28 169 pd realtime; #X obj 27 86 inlet pix_film_outlet3; #X obj 28 348 outlet spigot; #X obj 28 18 cnv 15 300 52 empty empty empty 20 12 0 14 -191407 -66577 0; #X text 31 19 following part is to adjust the framerate of the; #X text 32 31 video-file to the system framerate of GEM.; #X text 32 41 If set wrong \, playback-speed is not right.; #X text 32 53 set framerate of file with fps-parameter in GUI.; #X obj 67 490 r /ev/vid/\$1/loop; #X obj 164 141 r /ev/vid/\$1/timebase; #X obj 141 539 spigot; #X obj 141 559 del 1; #X obj 141 603 s /ev/vid/\$1/start; #X obj 30 470 change; #X obj 30 490 sel 1; #X obj 30 406 r /ev/vid/\$1/elapsed; #X obj 158 428 r /ev/vid/\$1/start; #X msg 158 468 set 0; #X obj 160 406 r /ev/vid/\$1/lengthNEW; #X obj 30 429 + 1; #X obj 30 450 >= 1; #X obj 30 580 spigot; #X obj 67 539 - 1; #X obj 67 558 * -1; #X obj 30 604 s \$0-stoptimebase; #X obj 163 117 r \$0-stoptimebase; #X text 94 384 looping&stop mechanism; #X obj 172 87 inlet two; #X obj 171 161 r /ev/vid/\$1/dimen; #X msg 171 234 0; #X obj 171 181 t b; #X text 198 180 resets counter on load; #X msg 141 583 1; #X obj 158 448 sel 1; #X connect 0 0 10 0; #X connect 1 0 2 0; #X connect 2 0 4 0; #X connect 3 0 4 1; #X connect 4 0 3 0; #X connect 4 0 10 0; #X connect 6 0 7 0; #X connect 7 0 1 1; #X connect 8 0 0 0; #X connect 8 0 1 0; #X connect 8 1 4 1; #X connect 9 0 8 0; #X connect 16 0 18 1; #X connect 16 0 30 0; #X connect 17 0 6 0; #X connect 17 0 0 1; #X connect 18 0 19 0; #X connect 19 0 40 0; #X connect 21 0 22 0; #X connect 22 0 18 0; #X connect 22 0 29 0; #X connect 23 0 27 0; #X connect 24 0 41 0; #X connect 25 0 21 0; #X connect 26 0 28 1; #X connect 27 0 28 0; #X connect 28 0 21 0; #X connect 29 0 32 0; #X connect 30 0 31 0; #X connect 31 0 29 1; #X connect 33 0 8 2; #X connect 35 0 8 1; #X connect 36 0 38 0; #X connect 37 0 4 1; #X connect 38 0 37 0; #X connect 40 0 20 0; #X connect 41 0 25 0; #X restore 501 254 pd timebase; #X obj 501 301 s /ev/vid/\$1/filmframe; #N canvas 198 263 529 310 for_the_data_outlet 0; #X msg 398 103 end; #X msg 242 103 length \$1; #X msg 320 103 dimen \$2 \$3; #X msg 168 103 elapsed \$1; #X obj 166 222 t a; #X obj 310 57 t a; #X obj 11 37 r /ev/vid/\$1/fOut_start; #X msg 11 57 fOut; #X obj 11 77 r /ev/vid/\$1/fIn_end; #X msg 11 97 fIn; #X obj 11 117 r /ev/vid/\$1/fade_level; #X msg 11 137 fade; #X obj 168 36 r /ev/vid/\$1/filmframe; #X obj 311 36 r /ev/vid/\$1/dimen; #X obj 398 71 r /ev/vid/\$1/stop; #X obj 167 253 outlet; #X connect 0 0 4 0; #X connect 1 0 4 0; #X connect 2 0 4 0; #X connect 3 0 4 0; #X connect 4 0 15 0; #X connect 5 0 2 0; #X connect 5 0 1 0; #X connect 6 0 7 0; #X connect 7 0 4 0; #X connect 8 0 9 0; #X connect 9 0 4 0; #X connect 10 0 11 0; #X connect 11 0 4 0; #X connect 12 0 3 0; #X connect 13 0 5 0; #X connect 14 0 0 0; #X restore 25 47 pd for_the_data_outlet; #X obj 25 71 s /ev/vid/\$1/info; #X obj 417 563 outlet gemlist; #X obj 417 472 pix_flip; #N canvas 525 302 499 288 flip_logic 0; #X obj 93 109 t b f; #X msg 73 201 both; #X obj 244 237 outlet; #X obj 194 109 t b f; #X obj 174 131 <; #X obj 174 153 sel 1; #X msg 174 175 vertical; #X obj 264 109 t b f; #X obj 244 153 sel 1; #X obj 244 131 >; #X msg 244 175 horizontal; #X obj 73 131 +; #X obj 73 153 sel 2 0; #X msg 92 176 none; #X obj 73 47 r /ev/vid/\$1/flip/horizontal; #X obj 194 73 r /ev/vid/\$1/flip/vertical; #X connect 0 0 11 0; #X connect 0 1 11 1; #X connect 1 0 2 0; #X connect 3 0 4 0; #X connect 3 1 4 1; #X connect 4 0 5 0; #X connect 5 0 6 0; #X connect 6 0 2 0; #X connect 7 0 9 0; #X connect 7 1 9 1; #X connect 8 0 10 0; #X connect 9 0 8 0; #X connect 10 0 2 0; #X connect 11 0 12 0; #X connect 12 0 1 0; #X connect 12 1 13 0; #X connect 13 0 2 0; #X connect 14 0 11 0; #X connect 14 0 4 0; #X connect 14 0 9 0; #X connect 15 0 0 0; #X connect 15 0 3 0; #X connect 15 0 7 0; #X restore 496 442 pd flip_logic; #X obj 417 350 pix_separator; #N canvas 462 151 629 438 length_logic2 0; #X obj 13 16 inlet from_timebase_frames; #X obj 186 17 r /ev/vid/\$1/dimen; #X obj 186 36 unpack f f f; #X text 218 53 get length of movie; #X obj 13 376 outlet frame-number; #X obj 13 240 + 0; #X text 38 240 setframe offset to change start-time; #X obj 186 73 s /ev/vid/\$1/length; #X obj 374 17 cnv 15 200 150 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 424 175 s /ev/vid/\$1/start_time; #X obj 436 156 s /ev/vid/\$1/end_time; #X msg 424 128 range 0 \$1; #X obj 424 46 r /ev/vid/\$1/length; #X text 393 22 set range of faders and nbx; #X obj 424 66 f; #X msg 384 150 set 0; #X obj 281 375 outlet stopbang; #X obj 269 232 t f f; #X obj 234 101 r /ev/vid/\$1/end_time; #X obj 29 141 int; #X obj 234 148 int; #X obj 66 141 r /ev/vid/\$1/length; #X msg 66 193 0; #X msg 93 193 \$1; #X obj 66 172 t b f; #X obj 29 92 r /ev/vid/\$1/start_time; #X obj 230 286 moses 1; #X obj 139 376 s /ev/vid/\$1/elapsed; #X obj 269 255 + 1; #X obj 281 310 >=; #X obj 281 355 sel 1; #X obj 281 334 change; #X obj 389 235 s /ev/vid/\$1/lengthNEW; #N canvas 97 326 450 300 newtime 0; #X obj 190 24 inlet start; #X obj 108 24 inlet end; #X obj 138 199 outlet; #X obj 138 163 -; #X obj 190 56 t b f; #X obj 108 57 t f b; #X obj 108 100 f; #X obj 217 97 f; #X connect 0 0 4 0; #X connect 1 0 5 0; #X connect 3 0 2 0; #X connect 4 0 6 0; #X connect 4 1 7 0; #X connect 5 0 6 0; #X connect 5 1 7 0; #X connect 6 0 3 0; #X connect 7 0 3 1; #X restore 389 210 pd newtime; #X obj 29 114 route float; #X obj 424 88 t f f b; #X obj 473 313 r /ev/vid/\$1/end_time; #X obj 437 372 print slider; #X msg 495 129 set \$1; #X obj 234 123 route float set; #X connect 0 0 5 0; #X connect 0 0 27 0; #X connect 1 0 2 0; #X connect 2 0 7 0; #X connect 5 0 26 0; #X connect 5 0 4 0; #X connect 11 0 9 0; #X connect 11 0 10 0; #X connect 12 0 14 0; #X connect 14 0 35 0; #X connect 15 0 9 0; #X connect 17 0 28 0; #X connect 17 1 29 1; #X connect 18 0 39 0; #X connect 19 0 5 1; #X connect 19 0 33 1; #X connect 20 0 17 0; #X connect 20 0 33 0; #X connect 21 0 24 0; #X connect 22 0 5 1; #X connect 23 0 17 0; #X connect 24 0 22 0; #X connect 24 1 23 0; #X connect 25 0 34 0; #X connect 26 0 29 0; #X connect 28 0 26 1; #X connect 29 0 31 0; #X connect 30 0 16 0; #X connect 31 0 30 0; #X connect 33 0 32 0; #X connect 34 0 19 0; #X connect 35 0 38 0; #X connect 35 1 11 0; #X connect 35 2 15 0; #X connect 38 0 10 0; #X connect 39 0 20 0; #X connect 39 1 20 0; #X restore 501 278 pd length_logic2; #X msg 425 154 auto 0; #X obj 20 -107 cnv 15 740 18 empty empty EXTENDED_VIEW_VIDEO_PLAYBACK_MODULE 2 8 0 14 -99865 -262144 0; #X text 25 28 video properties & end signal; #X obj 390 62 t b a; #X obj 660 380 loadbang; #X text 613 350 <---Fade Logic; #X text 623 266 <---Length Logic; #X text 154 -8 Outlet 1: GEMlist; #X text 27 -63 1st: module ID \, needs to be unique \; 2nd: storage domain \, see [ev_storage-help] for details; #X obj 604 216 sel 0; #X obj 604 194 r /ev/vid/\$1/start; #X obj 390 -62 abs/ev_vid_osc \$1 \$2; #N canvas 483 246 589 450 storage 0; #X obj 93 18 ds_reg \$2 /ev/vid/\$1/state nomorph; #X obj 93 38 ds_reg \$2 /ev/vid/\$1/framerate nomorph; #X obj 93 58 ds_reg \$2 /ev/vid/\$1/start_time nomorph; #X obj 93 78 ds_reg \$2 /ev/vid/\$1/end_time nomorph; #X obj 93 98 ds_reg \$2 /ev/vid/\$1/fadeIn_time nomorph; #X obj 93 118 ds_reg \$2 /ev/vid/\$1/fadeOut_time nomorph; #X obj 93 138 ds_reg \$2 /ev/vid/\$1/timebase nomorph; #X obj 93 158 ds_reg \$2 /ev/vid/\$1/gain; #X obj 93 178 ds_reg \$2 /ev/vid/\$1/form nomorph; #X obj 93 198 ds_reg \$2 /ev/vid/\$1/weight nomorph; #X obj 93 218 ds_reg \$2 /ev/vid/\$1/loop nomorph; #X obj 93 238 ds_reg \$2 /ev/vid/\$1/start nomorph; #X obj 93 258 ds_reg \$2 /ev/vid/\$1/filename nomorph; #X restore 390 -84 pd storage; #X text 19 107 (c)2016 Peter Venus & Marian Weger \; /part of EXTENDED VIEW toolkit/ gpl v3; #X connect 0 0 1 1; #X connect 1 0 39 0; #X connect 5 0 34 0; #X connect 5 1 15 0; #X connect 5 2 27 0; #X connect 6 0 5 0; #X connect 7 0 5 0; #X connect 8 0 17 0; #X connect 9 0 11 0; #X connect 10 0 9 0; #X connect 17 0 7 0; #X connect 18 0 5 1; #X connect 19 0 23 1; #X connect 20 0 36 0; #X connect 21 0 1 0; #X connect 22 0 23 0; #X connect 23 0 32 0; #X connect 24 0 23 2; #X connect 25 0 23 3; #X connect 26 0 23 4; #X connect 27 0 35 0; #X connect 29 0 30 0; #X connect 32 0 31 0; #X connect 33 0 32 0; #X connect 34 0 22 0; #X connect 35 0 28 0; #X connect 35 1 16 0; #X connect 36 0 5 0; #X connect 39 0 27 1; #X connect 39 1 6 0; #X connect 40 0 26 0; #X connect 40 0 25 0; #X connect 40 0 24 0; #X connect 45 0 27 1; #X connect 46 0 45 0; #X coords 0 698 1 697 360 100 0;