Commit 28465815 authored by J Reso's avatar J Reso
Browse files

debug synth-drum/hat

parent fe7e9247
......@@ -4,7 +4,7 @@
-path abstractions -path abstractions/brutbox;
#X declare -path abstractions/seq;
#X declare -path ../../abstractions/seq;
#X obj 12 202 cnv 10 10 10 empty \$0-cnv-obj OBJECTS 0 5 1 12 -262144
#X obj 12 202 cnv 10 10 10 empty \$0-cnv-obj OBJETS 0 5 1 12 -262144
-128992 0;
#X obj 36 53 image medias/logo/logo.gif;
#X obj 67 40 cnv 10 10 10 empty empty LA 0 5 1 10 -262144 -260097 0
......@@ -36,8 +36,8 @@
0;
#X obj 233 57 cnv 4 5 5 empty empty FILE 0 0 1 8 -241339 -128992 0
;
#X obj 100 102 cnv 12 122 17 empty \$0-rec-cnv RECORDING 5 10 1 10
-262144 -66577 0;
#X obj 100 102 cnv 12 122 17 empty \$0-rec-cnv ENREGISTREMENT 5 10
1 10 -262144 -66577 0;
#X obj 204 104 tgl 12 0 \$0-rec \$0-rec-in empty 17 7 0 10 -262144
-262144 -262144 0 1;
#X msg 322 148 color \$1 \$1 \$1;
......@@ -167,7 +167,7 @@ empty 0 -8 0 10 -208051 -208051 -262144 0;
#X obj 73 372 video-master;
#X obj 12 545 arduino-master;
#X obj 124 342 tgl 10 0 M-LEVEL M-LEVEL-IN empty 17 7 0 10 -262144
-1 -1 1 1;
-1 -1 0 1;
#X obj 116 258 mhelp seq;
#X obj 116 237 mhelp numbers;
#X obj 116 279 mhelp audio;
......@@ -366,7 +366,7 @@ empty 0 -8 0 10 -208051 -208051 -262144 0;
#X restore 2 617 pd open;
#X restore 53 252 pd BIG_SLIDERS;
#X text 47 56 Main :;
#X obj 54 23 cnv 1 1 1 empty \$0-CNV-CPU CPU:1% 0 5 0 10 -262144 -166441
#X obj 54 23 cnv 1 1 1 empty \$0-CNV-CPU CPU:4% 0 5 0 10 -262144 -166441
0;
#N canvas 624 233 723 458 ADD_OBJECTS 0;
#X text 284 369 \; example-file obj x y abstraction;
......
#N canvas 220 201 653 469 10;
#N canvas 218 200 653 469 10;
#X obj 244 155 +~;
#X obj 249 240 bng 15 100 50 0 empty empty empty 17 7 1 9 -187776 -33289
-33289;
......@@ -40,7 +40,7 @@
#X obj 174 45 phasor~ 675;
#X obj 159 23 phasor~ 424;
#X obj 245 108 osc~ 930;
#X obj 260 128 osc~ 1080;
#X obj 259 132 osc~ 1080;
#X obj 292 322 vcf~ 10;
#X obj 158 96 *~ 0.1;
#X obj 245 181 *~ 0.4;
......@@ -50,17 +50,16 @@
#X obj 311 274 + 10;
#X obj 388 143 s \$0-attackinput;
#X obj 430 169 s \$0-decayinput;
#X obj 473 195 s \$0-cutoffinput;
#X obj 499 143 s \$0-cutoffinput;
#X obj 400 88 inlet control;
#X obj 388 116 route attack decay cutoff vol;
#X obj 516 226 s \$0-vol;
#X obj 53 40 hsl 40 10 0 1 0 0 \$0-decay \$0-decayinput decay 1 6 1
9 -187776 -33289 -33289 390 1;
#X obj 53 30 hsl 40 10 0 1 0 0 \$0-attack \$0-attackinput attack 1
6 1 9 -187776 -33289 -33289 0 1;
#X obj 53 50 hsl 40 10 0 1 0 0 \$0-cutoff \$0-cutoffinput cutoff 1
6 1 9 -187776 -33289 -33289 3900 1;
#X obj 53 60 hsl 40 10 0 1 0 0 \$0-volu \$0-vol vol 1 6 1 9 -187776
#X obj 53 60 hsl 40 10 0 1 0 0 \$0-vol \$0-vol-in vol 1 6 1 9 -187776
-33289 -33289 3900 1;
#X obj 388 36 initbang;
#X obj 376 315 r \$0-vol;
......@@ -68,6 +67,7 @@
#X msg 376 337 \$1 10;
#X obj 293 377 *~;
#X obj 311 298 sig~;
#X obj 537 169 s \$0-vol-in;
#X connect 0 0 15 0;
#X connect 1 0 8 0;
#X connect 2 0 13 0;
......@@ -80,22 +80,22 @@
#X connect 10 0 5 0;
#X connect 11 0 0 0;
#X connect 12 0 0 1;
#X connect 13 0 34 0;
#X connect 13 0 33 0;
#X connect 14 0 6 0;
#X connect 15 0 6 0;
#X connect 16 0 1 0;
#X connect 17 0 24 0;
#X connect 18 0 19 0;
#X connect 19 0 35 0;
#X connect 19 0 34 0;
#X connect 23 0 24 0;
#X connect 24 0 20 0;
#X connect 24 1 21 0;
#X connect 24 2 22 0;
#X connect 24 3 25 0;
#X connect 30 0 17 0;
#X connect 31 0 33 0;
#X connect 32 0 34 1;
#X connect 33 0 32 0;
#X connect 34 0 7 0;
#X connect 35 0 13 1;
#X connect 24 3 35 0;
#X connect 29 0 17 0;
#X connect 30 0 32 0;
#X connect 31 0 33 1;
#X connect 32 0 31 0;
#X connect 33 0 7 0;
#X connect 34 0 13 1;
#X coords 0 -1 1 1 45 40 2 50 30;
#N canvas 346 227 496 334 10;
#N canvas 344 226 496 334 10;
#X obj 100 167 cnv 15 179 21 empty empty empty 20 12 1 9 -187776 -33289
0;
#X obj 295 159 route kick snare hat crash;
......
#N canvas 342 84 541 565 10;
#N canvas 340 83 541 565 10;
#X declare -path ../numbers;
#X declare -path ../numbers;
#X declare -path ../numbers;
......@@ -8,18 +8,18 @@
-path ../../abstractions/numbers -path ../../abstractions/video -path
../../abstractions/audio -path ../../abstractions/core -path ../../abstractions/brutbox
;
#X declare -path ../../abstractions/seq/;
#X declare -path ../../abstractions/seq;
#X declare -path ../numbers;
#X declare -path ../numbers;
#X declare -path ../numbers;
#N canvas 623 87 484 656 _EXAMPLE_FM_ 0;
#N canvas 621 86 484 656 _EXAMPLE_FM_ 1;
#X obj 185 552 oscilloscope~;
#X obj 194 241 hradio 15 1 0 15 empty empty empty 0 -8 0 10 -262144
-1 -1 0;
-1 -1 7;
#X floatatom 101 196 5 0 0 0 - - -;
#X obj 102 567 output~;
#X obj 215 432 hradio 15 1 0 15 empty empty empty 0 -8 0 10 -262144
-1 -1 0;
-1 -1 2;
#X msg 131 166 64;
#X msg 163 165 57;
#X msg 101 166 52;
......@@ -127,10 +127,10 @@
#X obj 234 150 +~ 1;
#X obj 234 171 *~ 2;
#X obj 236 317 hsl 95 15 0 1 0 0 empty empty empty -2 -8 0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 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
;
#N canvas 323 104 427 553 10;
#N canvas 321 103 427 553 10;
#X declare -path ../numbers;
#X declare -path ../numbers;
#X declare -path ../../abstractions/in -path ../../abstractions/out
-path ../../abstractions/numbers -path ../../abstractions/video -path
../../abstractions/audio -path ../../abstractions/core -path ../../abstractions/brutbox
;
#X declare -path ../../abstractions/seq/;
#X declare -path ../../abstractions/seq;
#X floatatom 64 218 5 0 0 0 - - -;
#X floatatom 64 432 5 0 0 3 length - -;
#X obj 64 410 route length list;
......
#N canvas 125 207 659 306 10;
#X obj 338 105 inlet;
#X obj 237 268 outlet;
#X obj 338 131 route list;
#X obj 101 101 cnv 8 77 8 empty empty empty 2 0 1 9 -237178 -1 0;
#X obj 167 100 bng 10 50 50 0 \$0-ok \$0-ok-in W 3 5 1 9 -237178 -66577
-1;
#X obj 111 100 nbx 2 10 0 99 0 0 \$0-read \$0-read-in R -8 6 1 9 -237178
-66577 -1 0 256;
#X obj 145 100 nbx 2 10 0 99 0 0 \$0-write \$0-write-in W -8 6 1 9
-237178 -66577 -1 0 256;
#X obj 119 196 r \$0-read;
#X obj 237 148 list;
#X obj 252 75 r \$0-write;
#X obj 237 98 f;
#X obj 237 50 r \$0-ok;
#X obj 237 171 list prepend;
#X obj 237 121 t b b f;
#X obj 425 102 inlet;
#X obj 425 128 route float;
#X obj 425 151 s \$0-read-in;
#X obj 237 204 coll presets/seq16-mem.txt;
#C restore;
#X msg 78 170 write presets/seq16-mem.txt;
#X connect 0 0 2 0;
#X connect 2 0 8 1;
#X connect 5 0 6 0;
#X connect 7 0 17 0;
#X connect 8 0 12 0;
#X connect 9 0 10 1;
#X connect 10 0 13 0;
#X connect 11 0 10 0;
#X connect 12 0 17 0;
#X connect 13 0 18 0;
#X connect 13 1 8 0;
#X connect 13 2 12 1;
#X connect 14 0 15 0;
#X connect 15 0 16 0;
#X connect 17 0 1 0;
#X connect 18 0 17 0;
#N canvas 623 285 659 306 10;
#X obj 101 101 cnv 8 75 9 empty empty empty 2 0 1 9 -237178 -33289
0;
#X obj 167 100 bng 10 50 50 0 \$0-write \$0-write-in w 3 5 1 7 -258699
-1 -258699;
#X obj 111 100 nbx 2 10 0 1 0 0 \$0-read \$0-read-in R -8 6 1 9 -237178
-258699 -258699 0 256;
#X obj 145 100 nbx 2 10 0 1 0 0 \$0-id \$0-id-in W -10 6 1 9 -237178
-33289 -33289 0 256;
#X obj 289 186 inlet;
#X obj 112 181 inlet;
#X obj 112 278 outlet;
#X obj 200 128 bng 10 100 50 0 \$0-clear \$0-clear-in c 3 5 1 9 -237178
-33289 -33289;
#X obj 154 182 r \$0-write;
#X msg 154 203 write;
#X obj 112 234 ../core/_mem \$0 mem16.txt \$2 1;
#X connect 4 0 10 1;
#X connect 5 0 10 0;
#X connect 8 0 9 0;
#X connect 9 0 10 0;
#X connect 10 0 6 0;
#X coords 0 -1 1 1 77 10 2 100 100;
#N canvas 390 77 767 525 10;
#N canvas 388 77 767 525 10;
#X obj 101 118 cnv 10 98 10 empty empty empty 20 12 1 9 -262110 -1
0;
#X obj 165 272 pix_video;
#X obj 165 474 outlet;
#X obj 566 20 initbang;
#X obj 180 118 tgl 10 0 \$0-debug \$0-debug-in D 2 6 1 9 -262110 -1
-1 1 1;
-1 0 1;
#X obj 272 385 spigot;
#X obj 272 405 pix_texture;
#X msg 89 255 device \$1;
......
#N canvas 149 119 540 458 10;
#N canvas 127 108 540 384 10;
#X declare -path ../core;
#X obj 100 116 cnv 15 139 21 empty empty empty 20 12 1 9 -262110 -1
0;
......@@ -9,7 +9,7 @@
#X obj 103 136 hsl 135 10 0 1 0 0 \$0-end \$0-end-in end 5 6 1 9 -262110
-1 -1 13400 1;
#X obj 175 116 nbx 4 10 -5000 5000 0 0 \$0-ms \$0-ms-in ms -14 5 1
9 -262110 -1 -1 50 256;
9 -262110 -1 -1 42 256;
#X obj 103 146 hsl 135 10 0 1 0 0 \$0-pos \$0-pos-in frame:0/100 5
6 1 9 -262110 -1 -1 0 1;
#X obj 211 116 tgl 10 0 \$0-loop \$0-loop-in L 2 6 1 9 -262110 -1 -1
......@@ -17,7 +17,7 @@
#X obj 230 116 bng 10 250 50 0 \$0-reset \$0-reset-in r 4 5 1 9 -262110
-1 -1;
#X text 325 77 COMMANDS \; ---------------------;
#N canvas 456 431 1101 508 \$0-COMMANDS 0;
#N canvas 145 167 1097 437 \$0-COMMANDS 0;
#X obj 70 57 inlet;
#X obj 248 259 s \$0-loop-in;
#X obj 328 238 symbol;
......@@ -270,7 +270,7 @@
#X connect 8 1 2 1;
#X connect 9 0 0 0;
#X restore 329 178 pd \$0-LABEL;
#N canvas 316 86 595 531 \$0-SNAP 0;
#N canvas 3 166 595 531 \$0-SNAP 0;
#X obj 200 292 f;
#X obj 238 291 + 1;
#X msg 248 253 0;
......@@ -280,67 +280,113 @@
#X msg 407 424 resize \$1;
#X obj 65 347 pix_buffer_write \$0-tmp;
#X obj 221 137 r \$0-write;
#X obj 238 316 mod;
#X obj 200 22 r \$0-mode;
#X obj 200 44 == 2;
#X obj 200 96 metro 50;
#X obj 245 48 r \$0-ms;
#X obj 407 404 r \$0-size;
#X obj 267 289 r \$0-size;
#X obj 65 423 spigot;
#X obj 98 379 r \$0-mode;
#X obj 98 401 == 2;
#X text 408 380 // Buffer;
#X obj 271 291 r \$0-size;
#X obj 98 374 r \$0-mode;
#X text 407 381 // Buffer;
#X text 67 255 // Record;
#X text 73 451 view video while recording;
#X obj 221 344 s \$0-frames;
#X obj 263 362 s \$0-frames;
#X obj 245 72 i;
#X obj 302 102 r \$0-mode;
#X obj 275 4 r \$0-mode;
#X obj 302 124 sel 2;
#X obj 221 167 t b b;
#X msg 302 170 clear;
#X obj 302 146 t b b;
#X obj 248 199 oneshot;
#X obj 65 428 spigot;
#X obj 183 386 initbang;
#X obj 183 408 del 1000;
#X msg 183 428 1;
#X obj 98 398 == 2;
#X obj 136 416 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X floatatom 259 91 5 0 0 0 - - -;
#X obj 169 80 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X floatatom 161 296 5 0 0 0 - - -;
#X obj 424 150 metro 50;
#X obj 424 122 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 424 203 f;
#X obj 457 202 + 1;
#X msg 449 170 0;
#X obj 453 245 sel 30;
#X obj 423 225 t f f;
#X msg 453 272 0;
#X obj 238 316 mod 30;
#X obj 200 96 metro 50;
#X obj 407 444 pix_buffer \$0-tmp 2;
#X obj 275 28 t f f;
#X obj 347 350 print REC;
#X obj 426 67 == 2;
#X obj 501 27 r \$0-mode;
#X obj 528 147 sel 2;
#X obj 501 51 t f f;
#X floatatom 379 287 5 0 0 0 - - -;
#X connect 0 0 1 0;
#X connect 0 0 7 1;
#X connect 0 0 22 0;
#X connect 1 0 9 0;
#X connect 0 0 17 0;
#X connect 0 0 33 0;
#X connect 1 0 42 0;
#X connect 2 0 0 1;
#X connect 4 0 7 0;
#X connect 5 0 2 0;
#X connect 6 0 30 0;
#X connect 7 0 16 0;
#X connect 8 0 26 0;
#X connect 9 0 0 1;
#X connect 10 0 11 0;
#X connect 11 0 12 0;
#X connect 12 0 0 0;
#X connect 13 0 23 0;
#X connect 14 0 6 0;
#X connect 15 0 9 1;
#X connect 16 0 3 0;
#X connect 17 0 18 0;
#X connect 18 0 16 1;
#X connect 23 0 12 1;
#X connect 24 0 25 0;
#X connect 25 0 28 0;
#X connect 26 0 0 0;
#X connect 26 1 29 0;
#X connect 27 0 29 0;
#X connect 28 0 27 0;
#X connect 28 1 2 0;
#X connect 29 0 2 0;
#X connect 6 0 44 0;
#X connect 7 0 25 0;
#X connect 8 0 21 0;
#X connect 9 0 43 0;
#X connect 10 0 18 0;
#X connect 11 0 6 0;
#X connect 12 0 42 1;
#X connect 13 0 29 0;
#X connect 18 0 31 0;
#X connect 18 0 43 1;
#X connect 19 0 45 0;
#X connect 20 0 23 0;
#X connect 21 0 0 0;
#X connect 21 1 24 0;
#X connect 22 0 24 0;
#X connect 23 0 22 0;
#X connect 23 1 2 0;
#X connect 24 0 2 0;
#X connect 25 0 3 0;
#X connect 26 0 27 0;
#X connect 27 0 28 0;
#X connect 28 0 25 1;
#X connect 29 0 25 1;
#X connect 30 0 25 1;
#X connect 32 0 43 0;
#X connect 34 0 36 0;
#X connect 35 0 34 0;
#X connect 36 0 37 0;
#X connect 36 0 40 0;
#X connect 37 0 36 1;
#X connect 38 0 36 1;
#X connect 39 0 41 0;
#X connect 40 0 51 0;
#X connect 40 1 39 0;
#X connect 42 0 0 1;
#X connect 43 0 0 0;
#X connect 45 0 9 0;
#X connect 45 1 20 0;
#X connect 47 0 35 0;
#X connect 48 0 50 0;
#X connect 49 0 39 0;
#X connect 50 0 47 0;
#X connect 50 1 49 0;
#X restore 99 255 pd \$0-SNAP;
#N canvas 270 81 537 620 \$0-PLAY 0;
#N canvas 485 77 537 620 \$0-PLAY 0;
#X obj 49 560 outlet;
#X obj 49 275 gemhead;
#X obj 49 315 gemhead;
#X obj 66 455 unpack 0 0 0;
#X msg 64 397 open \$1;
#X obj 64 374 symbol;
#X obj 64 304 r \$0-file;
#X msg 64 385 open \$1;
#X obj 64 362 symbol;
#X obj 64 342 r \$0-file;
#X obj 386 97 r \$0-loop;
#X obj 49 424 pix_movie;
#X obj 49 412 pix_movie;
#X obj 361 165 s \$0-mode-in;
#X msg 361 143 0;
#X obj 361 98 f;
......@@ -348,7 +394,7 @@
#X obj 361 72 r \$0-bg-end;
#X obj 194 478 gemhead;
#X obj 194 499 pix_buffer_read \$0-tmp;
#N canvas 458 80 765 656 \$0-METRO 0;
#N canvas 812 322 765 656 \$0-METRO 0;
#X obj 289 36 r \$0-ms;
#X obj 87 107 r \$0-pos;
#X obj 87 183 i;
......@@ -399,8 +445,14 @@
#X obj 102 132 r \$0-frames;
#X obj 253 518 r \$0-frames;
#X obj 204 476 t f f f f;
#X obj 204 114 metro 200;
#X obj 231 382 mod 10;
#X floatatom 221 416 5 0 0 0 - - -;
#X floatatom 169 411 5 0 0 0 - - -;
#X floatatom 276 156 5 0 0 0 - - -;
#X floatatom 241 263 5 0 0 0 - - -;
#X obj 250 245 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 204 114 metro 50;
#X connect 0 0 13 0;
#X connect 0 0 12 0;
#X connect 1 0 10 0;
......@@ -408,13 +460,14 @@
#X connect 3 0 4 0;
#X connect 3 0 29 0;
#X connect 3 0 9 0;
#X connect 4 0 50 0;
#X connect 5 0 49 0;
#X connect 3 0 51 0;
#X connect 4 0 49 0;
#X connect 5 0 55 0;
#X connect 6 0 7 0;
#X connect 7 0 8 0;
#X connect 9 0 40 0;
#X connect 10 0 2 0;
#X connect 11 0 49 1;
#X connect 11 0 55 1;
#X connect 12 0 17 0;
#X connect 13 0 11 0;
#X connect 14 0 15 0;
......@@ -452,7 +505,7 @@
#X connect 41 0 31 0;
#X connect 41 1 28 1;
#X connect 41 1 31 1;
#X connect 42 0 50 1;
#X connect 42 0 49 1;
#X connect 43 0 5 0;
#X connect 45 0 41 0;
#X connect 46 0 10 1;
......@@ -460,35 +513,57 @@
#X connect 48 0 18 0;
#X connect 48 2 6 0;
#X connect 48 3 44 0;
#X connect 49 0 3 0;
#X connect 50 0 3 1;
#X connect 49 0 3 1;
#X connect 49 0 50 0;
#X connect 52 0 55 1;
#X connect 53 0 3 1;
#X connect 54 0 53 0;
#X connect 55 0 3 0;
#X restore 323 373 pd \$0-METRO;
#X obj 66 478 s \$0-frames;
#X text 356 46 // Loop;
#X text 189 523 // Play buffer;
#X text 56 504 // Play movie;
#X text 189 521 // Play buffer;
#X text 62 501 // Play movie;
#X obj 290 395 gate 2;
#X obj 53 74 r \$0-file;
#X obj 53 96 b;
#X obj 117 74 r \$0-mode;
#X obj 49 234 r \$0-mode-play;
#X obj 49 274 r \$0-mode-play;
#X obj 290 296 r \$0-mode-play;
#X obj 194 423 r \$0-mode-play;
#X obj 194 435 r \$0-mode-play;
#X obj 53 145 s \$0-mode-play;
#X obj 323 330 r \$0-mode;
#X obj 323 351 == 1;
#X obj 192 101 r \$0-write;
#X obj 117 95 sel 2;
#X text 53 42 // Switch play modes;
#X obj 87 258 r \$0-gemhead;
#X obj 87 298 r \$0-gemhead;
#X obj 235 461 r \$0-gemhead;
#X obj 49 254 == 1;
#X obj 194 444 == 2;
#X obj 49 294 == 1;
#X obj 194 456 == 2;
#X msg 53 117 1;
#X msg 117 118 2;
#X obj 416 482 inlet;
#X obj 200 143 r \$0-video-outside;
#X obj 200 165 sel 1;
#X obj 173 132 r \$0-video-outside;
#X obj 173 154 sel 1;
#X obj 161 487 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 385 350 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X floatatom 384 411 5 0 0 0 - - -;
#X obj 442 266 metro 50;
#X obj 442 238 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 442 359 f;
#X obj 475 358 + 1;
#X msg 480 307 0;
#X obj 441 381 t f f;
#X msg 471 428 0;
#X obj 471 401 sel 29;
#X obj 413 555 s \$0-frames;
#X msg 422 525 29;
#X obj 424 447 print;
#X obj 150 549 spigot 1;
#X connect 1 0 7 0;
#X connect 2 0 16 0;
#X connect 3 0 7 0;
......@@ -502,6 +577,7 @@
#X connect 11 0 9 0;
#X connect 12 0 10 0;
#X connect 13 0 14 0;
#X connect 14 0 56 0;
#X connect 14 0 0 0;
#X connect 15 0 20 1;
#X connect 20 0 7 1;
......@@ -525,6 +601,22 @@
#X connect 39 0 14 0;
#X connect 40 0 41 0;
#X connect 41 0 38 0;
#X connect 42 0 13 0;
#X connect 42 0 56 1;
#X connect 43 0 15 0;
#X connect 44 0 14 1;
#X connect 45 0 47 0;
#X connect 46 0 45 0;
#X connect 47 0 48 0;
#X connect 47 0 50 0;
#X connect 48 0 47 1;
#X connect 49 0 47 1;
#X connect 50 0 44 0;
#X connect 50 1 52 0;
#X connect 51 0 46 0;
#X connect 52 0 51 0;
#X connect 52 0 49 0;
#X connect 54 0 53 0;
#X restore 114 297 pd \$0-PLAY;
#N canvas 326 108 972 495 \$0-ARGS 0;
#X obj 469 341 outlet;
......@@ -570,7 +662,7 @@
#X connect 17 0 0 0;
#X connect 18 0 0 0;
#X restore 392 111 pd \$0-ARGS;
#N canvas 306 430 725 300 \$0-BANK 0;
#N canvas 163 229 725 300 \$0-BANK 0;