#N canvas 586 79 416 260 10; #N canvas 999 99 747 460 score 0; #X restore 48 22 pd score; #X text 115 21 <- click to open; #N canvas 60 597 418 151 template 0; #X text 66 11 now with an array; #X obj 39 45 struct template float x float y array sequence template-element ; #X obj 38 83 plot sequence 339 50 10 100 10; #X restore 51 84 pd template; #N canvas 94 844 352 105 template-element 0; #X obj 48 27 struct template-element float y; #X restore 51 106 pd template-element; #N canvas 686 499 444 434 init 0; #X obj 94 18 inlet; #X msg 195 27 \; pd-score clear; #X obj 94 38 t b b b; #X obj 224 102 pointer; #X msg 224 82 traverse pd-score \, bang; #X msg 94 106 100 100; #X obj 94 128 append template x y; #X obj 94 154 t b b p; #X obj 125 239 setsize template sequence; #X obj 191 339 element template sequence; #X obj 63 312 unpack; #X msg 123 218 50; #X obj 63 365 set template-element y; #X msg 63 284 0 10 \, -10 15 \, -30 20 \, 50 30 \, 0 40 \, 10 45 \, 0 50; #X connect 0 0 2 0; #X connect 2 0 5 0; #X connect 2 1 4 0; #X connect 2 2 1 0; #X connect 3 0 6 2; #X connect 4 0 3 0; #X connect 5 0 6 0; #X connect 6 0 7 0; #X connect 7 0 13 0; #X connect 7 1 11 0; #X connect 7 2 8 1; #X connect 7 2 9 1; #X connect 9 0 12 1; #X connect 10 0 12 0; #X connect 10 1 9 0; #X connect 11 0 8 0; #X connect 13 0 10 0; #X restore 52 188 pd init; #X msg 52 162 bang; #N canvas 445 232 484 740 synth 0; #X obj 100 586 osc~; #X obj 272 323 pointer; #X msg 272 295 traverse pd-score \, next; #X obj 100 349 element template sequence; #X floatatom 115 404 5 0 0 0 - - -, f 5; #X obj 100 374 get template-element y; #X obj 272 269 loadbang; #X obj 131 125 + 1; #X obj 100 125 i; #X msg 142 175 0; #X floatatom 50 188 5 0 0 0 - - -, f 5; #X obj 142 154 sel 49; #X obj 100 36 inlet; #X obj 100 533 mtof; #X obj 99 673 dac~; #X obj 100 510 abs; #X obj 163 610 line~; #X obj 100 635 *~; #X msg 163 586 1 \, 0 100; #X obj 100 555 t b f; #X obj 160 37 inlet; #X obj 100 87 metro 200; #X connect 0 0 17 0; #X connect 1 0 3 1; #X connect 2 0 1 0; #X connect 3 0 5 0; #X connect 5 0 4 0; #X connect 5 0 15 0; #X connect 6 0 2 0; #X connect 7 0 8 1; #X connect 8 0 7 0; #X connect 8 0 10 0; #X connect 8 0 11 0; #X connect 8 0 3 0; #X connect 9 0 8 1; #X connect 11 0 9 0; #X connect 12 0 21 0; #X connect 13 0 19 0; #X connect 15 0 13 0; #X connect 16 0 17 1; #X connect 17 0 14 0; #X connect 17 0 14 1; #X connect 18 0 16 0; #X connect 19 0 18 0; #X connect 19 1 0 0; #X connect 20 0 21 1; #X connect 21 0 8 0; #X restore 269 187 pd synth; #X obj 269 158 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X floatatom 322 160 5 0 0 0 - - -, f 5; #X connect 5 0 4 0; #X connect 7 0 6 0; #X connect 8 0 6 1;