Commit 3748ebe1 authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

*updated docs for the new data structure [group] object.

parent 6015fc89
......@@ -2,7 +2,7 @@
template-pitch array amp template-amp;
#N struct template-pitch float x float y float w;
#N struct template-amp float x float y float w;
#N canvas 424 19 448 576 10;
#N canvas 710 51 448 576 10;
#N canvas 95 388 428 166 template-toplevel 0;
#X obj 25 106 plot pitch voiceno 3 10 0;
#X obj 25 133 plot amp 0 3 10 0;
......@@ -95,12 +95,23 @@ array pitch template-pitch array amp template-amp;
#X msg 22 435 start;
#X msg 73 435 stop;
#N canvas 386 74 426 367 data 1;
#X scalar template-toplevel 3 86 0 \; 0 0 0 \; \; 0 0 0 \; \;;
#X scalar template-toplevel 14 80 0 \; 0 0 0 \; \; 0 0 0 \; \;;
#X scalar template-toplevel 38 43.25 0 \; 0 0 0 \; \; 0 0 0 \; \;;
#X scalar template-toplevel 64 80 0 \; 0 0 0 \; \; 0 0 0 \; \;;
#X scalar template-toplevel 142 105 0 \; 0 0 0 \; \; 0 0 0 \; \;;
#X scalar template-toplevel 319 63.5 0 \; 0 0 0 \; \; 0 0 0 \; \;;
#X scalar template-toplevel 22 86 900 \; 0 0 12 \; 10 0 12 \; \; 0
0 0 \; 10 0 2.5 \; 11 0 0 \; \;;
#X scalar template-toplevel 33 80 990 \; 0 0 12 \; 10 0 12 \; \; 0
0 2.5 \; 10 0 2.5 \; 11 0 0 \; \;;
#X scalar template-toplevel 57 43.25 90 \; 0 65 12 \; 100 10 0 \; 100
10 12 \; 230 50 0 \; 230 10 3 \; 240 60 0 \; 240 25 10 \; 250 60 0
\; 250 37 10 \; 260 65 0.5 \; 285 65 0.5 \; \; 1 0 2 \; 103 0 1 \;
195 0 2 \; 220 0 0.75 \; 225 0 1.25 \; 248 0 2.5 \; 251 0 2.25 \; 255
0 0 \; 256 0 1.5 \; 260 0 0 \; 261 0 2 \; 265 0 0 \; 266 0 2.5 \; 270
0 0 \; 271 0 3 \; 275 0 0 \; \;;
#X scalar template-toplevel 83 80 900 \; 0 5 0.25 \; 60 5 0.25 \; \;
0 0 0 \; 28 -0.25 3.5 \; 58 -0.25 0 \; \;;
#X scalar template-toplevel 161 105 900 \; 0 0 12 \; 70 -20 12 \; \;
0 0 0 \; 10 0 2.5 \; 20 0 0 \; 30 0 0 \; 40 0 2.5 \; 50 0 0 \; 60 0
2.5 \; 70 0 0 \; \;;
#X scalar template-toplevel 338 63.5 909 \; 0 0 12 \; 50 0 12 \; \;
0 0 4 \; 10 0 2.5 \; 50 0 0 \; \;;
#X coords 0 91.75 1 91.5 0 0 0;
#X restore 22 318 pd data;
#X obj 176 318 r tempo;
......
......@@ -10,7 +10,7 @@
#X obj 504 611 struct australia float x float y;
#X scalar australia 50 43 \;;
#X obj 21 291 vradio 22 1 0 8 empty empty empty 0 -8 0 10 -262144 -1
-1 7;
-1 0;
#X text 52 319 Northern Territory;
#X text 52 341 Queensland;
#X text 52 385 New South Wales;
......@@ -975,7 +975,7 @@ l -1.705 -2.129 l -1.276 1.491 l 0.853 0.212 V 224.637 z;
#X scalar ausql 50 20 \;;
#X scalar aust 50 20 \;;
#X text 52 449 Reset;
#N canvas 159 139 578 421 sfx 1;
#N canvas 159 139 578 421 sfx 0;
#X obj 435 118 noise~;
#X obj 313 76 line~;
#X obj 365 168 -~;
......
#N struct bulb float x float y float r float g float b float a float
s;
#N canvas 0 19 650 529 10;
#N canvas 808 20 538 662 bulb 0;
#X obj 87 137 loadbang;
#X obj 87 177 draw path M 100 100 m -43.3013 21.6987 a 50 50 0 1 1
#N canvas -9 19 650 529 10;
#N canvas 644 19 538 195 bulb 0;
#X obj 87 87 loadbang;
#X msg 87 107 transform scale 0.5;
#X obj 87 57 outlet;
#X obj 87 21 struct bulb float x float y float r float g float b float
a float s;
#N canvas 342 361 450 300 (subpatch) 0;
#X obj 34 79 loadbang;
#X obj 34 119 draw path M 100 100 m -43.3013 21.6987 a 50 50 0 1 1
86.6025 0 c -6 12 -23.3013 18.3013 -23.3013 33.3013 a 50 50 0 0 1 -40
0 c 0 -15 -17.3013 -21.3013 -23.3013 -33.3013 z;
#X obj 87 223 loadbang;
#X msg 87 243;
#X obj 87 263 draw path M 100 100 m -20 82 a 50 50 0 0 0 40 -2 l 0
#X obj 34 165 loadbang;
#X msg 34 185;
#X obj 34 205 draw path M 100 100 m -20 82 a 50 50 0 0 0 40 -2 l 0
3 -10 8 -20 0 -10 -8 z;
#X obj 87 296 loadbang;
#X msg 87 316;
#X obj 87 336 draw path M 100 100 m -20 55 a 50 50 0 0 0 40 -2 l 0
#X obj 34 238 loadbang;
#X msg 34 258;
#X obj 34 278 draw path M 100 100 m -20 55 a 50 50 0 0 0 40 -2 l 0
27 a -50 50 0 0 1 -40 2 z;
#X obj 87 369 loadbang;
#X msg 87 389;
#X obj 87 409 draw path M 100 100 m -20 53 a 50 50 0 0 0 40 0;
#X obj 87 429 loadbang;
#X msg 87 449;
#X obj 87 469 draw path M 100 100 m -20 82 a 50 50 0 0 0 40 0;
#X obj 87 489 loadbang;
#X msg 87 509;
#X obj 87 529 draw path M 100 100 m -20 61.75 a 50 50 0 0 0 40 -2;
#X obj 87 549 loadbang;
#X msg 87 569;
#X obj 87 589 draw path M 100 100 m -20 70.75 a 50 50 0 0 0 40 -2;
#X obj 87 1355;
#X obj 87 609 loadbang;
#X msg 87 629;
#X obj 87 649 draw path M 100 100 m -20 79.75 a 50 50 0 0 0 40 -2;
#X obj 87 669 loadbang;
#X msg 87 689;
#X obj 87 709 draw path M 100 100 m -20 55 a 50 50 0 0 0 40 -2;
#X obj 87 729 loadbang;
#X msg 87 749;
#X obj 87 769 draw path M 100 100 m -20 64 a 50 50 0 0 0 40 -2;
#X obj 87 789 loadbang;
#X msg 87 809;
#X obj 87 829 draw path M 100 100 m -20 73 a 50 50 0 0 0 40 -2;
#X obj 87 849 loadbang;
#X msg 87 869;
#X obj 87 889 draw path M 100 100 m -20 82 a 50 50 0 0 0 40 -2;
#X obj 87 909 loadbang;
#X msg 87 929;
#X obj 87 949 draw path M 100 100 m -20 57.25 a 50 50 0 0 0 40 -2;
#X obj 87 969 loadbang;
#X msg 87 989;
#X obj 87 1009 draw path M 100 100 m -20 66.25 a 50 50 0 0 0 40 -2
;
#X obj 87 1029 loadbang;
#X msg 87 1049;
#X obj 87 1069 draw path M 100 100 m -20 75.25 a 50 50 0 0 0 40 -2
#X obj 34 311 loadbang;
#X msg 34 331;
#X obj 34 351 draw path M 100 100 m -20 53 a 50 50 0 0 0 40 0;
#X obj 34 371 loadbang;
#X msg 34 391;
#X obj 34 411 draw path M 100 100 m -20 82 a 50 50 0 0 0 40 0;
#X obj 34 431 loadbang;
#X msg 34 451;
#X obj 34 471 draw path M 100 100 m -20 61.75 a 50 50 0 0 0 40 -2;
#X obj 34 491 loadbang;
#X msg 34 511;
#X obj 34 531 draw path M 100 100 m -20 70.75 a 50 50 0 0 0 40 -2;
#X obj 34 551 loadbang;
#X msg 34 571;
#X obj 34 591 draw path M 100 100 m -20 79.75 a 50 50 0 0 0 40 -2;
#X obj 34 611 loadbang;
#X msg 34 631;
#X obj 34 651 draw path M 100 100 m -20 55 a 50 50 0 0 0 40 -2;
#X obj 34 671 loadbang;
#X msg 34 691;
#X obj 34 711 draw path M 100 100 m -20 64 a 50 50 0 0 0 40 -2;
#X obj 34 731 loadbang;
#X msg 34 751;
#X obj 34 771 draw path M 100 100 m -20 73 a 50 50 0 0 0 40 -2;
#X obj 34 791 loadbang;
#X msg 34 811;
#X obj 34 831 draw path M 100 100 m -20 82 a 50 50 0 0 0 40 -2;
#X obj 34 851 loadbang;
#X msg 34 871;
#X obj 34 891 draw path M 100 100 m -20 57.25 a 50 50 0 0 0 40 -2;
#X obj 34 911 loadbang;
#X msg 34 931;
#X obj 34 951 draw path M 100 100 m -20 66.25 a 50 50 0 0 0 40 -2;
#X obj 34 971 loadbang;
#X msg 34 991;
#X obj 34 1011 draw path M 100 100 m -20 75.25 a 50 50 0 0 0 40 -2
;
#X obj 87 1089 loadbang;
#X msg 87 1109;
#X obj 87 1129 draw path M 100 100 m -20 59.5 a 50 50 0 0 0 40 -2;
#X obj 87 1149 loadbang;
#X msg 87 1169;
#X obj 87 1189 draw path M 100 100 m -20 68.5 a 50 50 0 0 0 40 -2;
#X obj 87 1209 loadbang;
#X msg 87 1229;
#X obj 87 1249 draw path M 100 100 m -20 77.5 a 50 50 0 0 0 40 -2;
#X obj 87 1269 loadbang;
#X msg 87 1289;
#X obj 87 1309 draw path M 100 100 m -43.3013 21.6987 a 50 50 0 1 1
#X obj 34 1031 loadbang;
#X msg 34 1051;
#X obj 34 1071 draw path M 100 100 m -20 59.5 a 50 50 0 0 0 40 -2;
#X obj 34 1091 loadbang;
#X msg 34 1111;
#X obj 34 1131 draw path M 100 100 m -20 68.5 a 50 50 0 0 0 40 -2;
#X obj 34 1151 loadbang;
#X msg 34 1171;
#X obj 34 1191 draw path M 100 100 m -20 77.5 a 50 50 0 0 0 40 -2;
#X obj 34 1211 loadbang;
#X msg 34 1231;
#X obj 34 1251 draw path M 100 100 m -43.3013 21.6987 a 50 50 0 1 1
86.6025 0 c -6 12 -23.3013 18.3013 -23.3013 33.3013 l 0 28 -10 8 -20
0 -10 -8 0 -28 c 0 -15 -17.3013 -21.3013 -23.3013 -33.3013 z;
#X obj 87 77 loadbang;
#X obj 87 117 draw group;
#X msg 87 97 transform scale 0.5;
#X obj 120 47 outlet;
#X obj 120 11 struct bulb float x float y float r float g float b float
a float s;
#X msg 87 157 fill r g b a \, stroke-width s \, stroke r g b;
#X connect 0 0 62 0;
#X msg 34 99 fill r g b a \, stroke-width s \, stroke r g b;
#X connect 0 0 56 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 5 0 6 0;
......@@ -87,34 +85,35 @@ a float s;
#X connect 15 0 16 0;
#X connect 17 0 18 0;
#X connect 18 0 19 0;
#X connect 20 0 21 0;
#X connect 21 0 22 0;
#X connect 22 0 23 0;
#X connect 23 0 24 0;
#X connect 24 0 25 0;
#X connect 25 0 26 0;
#X connect 26 0 27 0;
#X connect 27 0 28 0;
#X connect 28 0 29 0;
#X connect 29 0 30 0;
#X connect 30 0 31 0;
#X connect 31 0 32 0;
#X connect 32 0 33 0;
#X connect 33 0 34 0;
#X connect 34 0 35 0;
#X connect 35 0 36 0;
#X connect 36 0 37 0;
#X connect 37 0 38 0;
#X connect 38 0 39 0;
#X connect 39 0 40 0;
#X connect 40 0 41 0;
#X connect 41 0 42 0;
#X connect 42 0 43 0;
#X connect 43 0 44 0;
#X connect 44 0 45 0;
#X connect 45 0 46 0;
#X connect 46 0 47 0;
#X connect 47 0 48 0;
#X connect 48 0 49 0;
#X connect 49 0 50 0;
#X connect 50 0 51 0;
#X connect 51 0 52 0;
#X connect 52 0 53 0;
#X connect 53 0 54 0;
#X connect 54 0 55 0;
#X connect 55 0 56 0;
#X connect 57 0 59 0;
#X connect 59 0 58 0;
#X connect 61 0 60 0;
#X connect 62 0 1 0;
#X connect 56 0 1 0;
#X restore 87 128 group;
#X connect 0 0 1 0;
#X connect 1 0 4 0;
#X connect 3 0 2 0;
#X restore 350 42 pd bulb;
#X obj 350 66 route enter leave;
#X obj 350 170 random 255;
......@@ -123,21 +122,21 @@ a float s;
#X obj 350 134 trigger bang bang bang anything;
#X obj 564 168 t a;
#X obj 350 240 set bulb r g b a s;
#X scalar bulb 37 89 179 90 251 1 2 \;;
#X scalar bulb 207 89 106 151 55 1 2 \;;
#X scalar bulb 117 89 99 80 19 1 2 \;;
#X scalar bulb 37 189 217 29 78 1 2 \;;
#X scalar bulb 204 187 16 187 75 1 2 \;;
#X scalar bulb 117 189 240 80 48 1 2 \;;
#X scalar bulb 37 289 117 137 164 1 2 \;;
#X scalar bulb 207 289 26 137 146 1 2 \;;
#X scalar bulb 117 289 163 185 245 1 2 \;;
#X scalar bulb 287 289 237 164 142 1 2 \;;
#X scalar bulb 467 289 4 106 176 1 2 \;;
#X scalar bulb 377 289 244 154 225 1 2 \;;
#X scalar bulb 37 -11 199 4 205 1 2 \;;
#X scalar bulb 37 89 185 249 86 1 2 \;;
#X scalar bulb 207 89 152 43 161 1 2 \;;
#X scalar bulb 117 89 247 79 102 1 2 \;;
#X scalar bulb 37 189 184 112 128 1 2 \;;
#X scalar bulb 204 187 247 50 138 1 2 \;;
#X scalar bulb 117 189 116 180 26 1 2 \;;
#X scalar bulb 37 289 230 65 224 1 2 \;;
#X scalar bulb 207 289 144 9 157 1 2 \;;
#X scalar bulb 117 289 146 49 216 0.3 5 \;;
#X scalar bulb 287 289 163 141 80 1 2 \;;
#X scalar bulb 467 289 104 210 156 1 2 \;;
#X scalar bulb 377 289 70 140 69 1 2 \;;
#X scalar bulb 37 -11 184 112 128 1 2 \;;
#X scalar bulb 207 -11 234 160 144 1 2 \;;
#X scalar bulb 117 -11 90 74 151 1 2 \;;
#X scalar bulb 117 -11 76 203 161 1 2 \;;
#X obj 399 112 set bulb s a;
#X obj 350 211 pack f f f 0.3 5;
#X msg 399 91 2 1 \$1;
......
......@@ -15,7 +15,7 @@
#X msg 391 82 stroke-width 4 \, stroke-linecap 1;
#X obj 401 381 loadbang;
#X msg 401 400 stroke "" \, fill gray50;
#X obj 487 228 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
#X obj 487 228 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 488 294 f;
#X obj 538 294 + 1;
......
#N struct curvebbox float x float y;
#N canvas -9 19 619 300 10;
#X obj 151 34 struct curvebbox float x float y;
#X floatatom 189 84 5 0 0 0 - - -, f 5;
#X obj 189 128 draw path M 20 120 C 20 30 40 50 60 70;
#X msg 189 105 transform rotate \$1;
#X floatatom 441 110 5 0 0 0 - - -, f 5;
#X msg 441 131 transform rotate \$1;
#X obj 441 152 draw group;
#X scalar curvebbox 47 43 \;;
#X text 197 181 Short demo showing that Pd should find the correct
bounding box for a transformed scalar in edit-mode.;
#X text 197 221 Unfortunately it doesn't quite get it right for curves.
You can see with rotation at some angles it doesn't include part of
the curve.;
#X connect 1 0 3 0;
#X connect 3 0 2 0;
#X connect 4 0 5 0;
#N canvas 433 184 450 300 (subpatch) 0;
#X floatatom 163 116 5 0 0 0 - - -, f 5;
#X obj 163 160 draw path M 20 120 C 20 30 40 50 60 70;
#X msg 163 137 transform rotate \$1;
#X connect 0 0 2 0;
#X connect 2 0 1 0;
#X restore 417 94 group;
#X floatatom 408 21 5 0 0 0 - - -, f 5;
#X msg 408 42 transform translate \$1 0;
#X connect 5 0 6 0;
#X connect 6 0 4 0;
#N struct mm float x float y float a;
#N canvas 0 19 844 666 10;
#X obj 180 590 cnv 15 317 17 empty empty empty 20 12 0 14 -204786 -66577
#N canvas -9 19 844 666 10;
#X obj -11 119 cnv 15 317 17 empty empty empty 20 12 0 14 -204786 -66577
0;
#X obj 0 24 drawsprite ./megaman 0 0 a;
#X scalar mm 73 495.272 3 \;;
#X scalar mm 301 434.322 3 \;;
#X obj 333 -2 key;
#X obj 510 348 pointer;
#X obj 333 21 select 115;
......@@ -20,22 +19,24 @@
#X msg 258 42 0;
#X obj 453 300 t a b;
#X obj 333 62 metro 90;
#X obj 481 417 + 5;
#X obj 481 427 + 5;
#X obj 525 270 t a b;
#X obj 569 269 t a b;
#X msg 561 378 4;
#X msg 617 373 6;
#X text 181 590 Click the "s" key to make megaman run to the right!
#X text -10 119 Click the "s" key to make megaman run to the right!
;
#X msg 510 327 traverse pd-megaman.pd \, next;
#X obj 0 0 struct mm float x float y float a;
#X obj 481 378 get mm x;
#X obj 453 446 set mm a x;
#X obj 453 456 set mm a x;
#X obj 226 295 canvasinfo;
#X msg 226 152 traverse pd-megaman.pd \, next;
#X obj 226 173 pointer;
#X obj 226 194 get mm x y;
#X obj 292 221 + 20;
#X obj 98 192 cnv 15 40 60 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 226 253 pack;
#X msg 226 274 hitbox \$1 \$2;
#X obj 226 316 route bang;
......@@ -44,6 +45,14 @@
#X obj 224 380 t b b b;
#X obj 52 318 t b b;
#X obj 52 360 line;
#X obj 138 192 cnv 15 40 60 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 178 172 cnv 15 40 60 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 28 212 cnv 15 40 60 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 68 212 cnv 15 40 60 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 385 93 spigot 1;
#X msg 430 46 0;
#X msg 460 67 1;
......@@ -96,78 +105,85 @@
#X connect 12 0 3 0;
#X connect 12 0 10 0;
#X restore 260 94 pd stand-and-blink;
#X text 527 443 ---------- 2014 Jonathan Wilkes ----------;
#X connect 3 0 5 0;
#X connect 4 0 27 0;
#X connect 4 0 28 2;
#X connect 5 0 18 0;
#X obj -12 232 cnv 15 40 60 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 487 147 ---------- 2014 Jonathan Wilkes ----------;
#X obj 26 73 draw sprite ./megaman 0 0 a;
#X msg 26 51 index a;
#X obj 26 29 loadbang;
#X connect 2 0 4 0;
#X connect 3 0 26 0;
#X connect 3 0 27 2;
#X connect 4 0 17 0;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 7 0 5 1;
#X connect 7 0 8 0;
#X connect 8 0 6 1;
#X connect 8 0 9 0;
#X connect 9 0 10 0;
#X connect 9 1 11 0;
#X connect 9 2 12 0;
#X connect 9 3 13 0;
#X connect 10 0 17 0;
#X connect 11 0 17 0;
#X connect 8 1 10 0;
#X connect 8 2 11 0;
#X connect 8 3 12 0;
#X connect 9 0 16 0;
#X connect 10 0 16 0;
#X connect 11 0 19 0;
#X connect 12 0 20 0;
#X connect 13 0 21 0;
#X connect 13 0 14 0;
#X connect 14 0 15 0;
#X connect 15 0 16 0;
#X connect 16 0 18 0;
#X connect 17 0 28 0;
#X connect 17 1 25 0;
#X connect 18 0 42 0;
#X connect 18 0 63 0;
#X connect 19 0 28 1;
#X connect 20 0 17 0;
#X connect 15 0 17 0;
#X connect 16 0 27 0;
#X connect 16 1 24 0;
#X connect 17 0 46 0;
#X connect 17 0 67 0;
#X connect 18 0 27 1;
#X connect 19 0 16 0;
#X connect 19 1 21 0;
#X connect 20 0 16 0;
#X connect 20 1 22 0;
#X connect 21 0 17 0;
#X connect 21 1 23 0;
#X connect 22 0 19 1;
#X connect 23 0 19 1;
#X connect 25 0 4 0;
#X connect 27 0 19 0;
#X connect 29 0 36 0;
#X connect 21 0 18 1;
#X connect 22 0 18 1;
#X connect 24 0 3 0;
#X connect 26 0 18 0;
#X connect 28 0 36 0;
#X connect 29 0 30 0;
#X connect 30 0 31 0;
#X connect 31 0 32 0;
#X connect 32 0 58 0;
#X connect 32 1 33 0;
#X connect 33 0 34 1;
#X connect 31 0 62 0;
#X connect 31 1 32 0;
#X connect 32 0 34 1;
#X connect 34 0 35 0;
#X connect 35 0 29 0;
#X connect 36 1 45 0;
#X connect 35 0 28 0;
#X connect 36 1 49 0;
#X connect 37 0 38 0;
#X connect 38 0 52 0;
#X connect 38 0 62 3;
#X connect 38 0 56 0;
#X connect 38 0 66 3;
#X connect 39 0 40 0;
#X connect 39 1 53 0;
#X connect 39 1 57 0;
#X connect 39 2 37 0;
#X connect 40 0 55 0;
#X connect 41 0 47 0;
#X connect 42 0 54 0;
#X connect 43 0 42 1;
#X connect 44 0 42 1;
#X connect 45 0 39 0;
#X connect 45 1 46 0;
#X connect 45 1 57 0;
#X connect 46 0 43 0;
#X connect 46 0 56 0;
#X connect 47 0 59 0;
#X connect 47 1 50 0;
#X connect 48 0 49 0;
#X connect 49 0 60 0;
#X connect 50 0 48 0;
#X connect 51 0 62 0;
#X connect 52 0 51 1;
#X connect 52 1 61 1;
#X connect 53 0 62 2;
#X connect 54 0 30 0;
#X connect 54 1 6 0;
#X connect 55 0 41 0;
#X connect 56 0 44 0;
#X connect 58 0 34 0;
#X connect 59 0 51 0;
#X connect 60 0 61 0;
#X connect 61 0 62 1;
#X connect 40 0 59 0;
#X connect 41 0 51 0;
#X connect 46 0 58 0;
#X connect 47 0 46 1;
#X connect 48 0 46 1;
#X connect 49 0 39 0;
#X connect 49 1 50 0;
#X connect 49 1 61 0;
#X connect 50 0 47 0;
#X connect 50 0 60 0;
#X connect 51 0 63 0;
#X connect 51 1 54 0;
#X connect 52 0 53 0;
#X connect 53 0 64 0;
#X connect 54 0 52 0;
#X connect 55 0 66 0;
#X connect 56 0 55 1;
#X connect 56 1 65 1;
#X connect 57 0 66 2;
#X connect 58 0 29 0;
#X connect 58 1 5 0;
#X connect 59 0 41 0;
#X connect 60 0 48 0;
#X connect 62 0 34 0;
#X connect 63 0 55 0;
#X connect 64 0 65 0;
#X connect 65 0 66 1;
#X connect 71 0 70 0;
#X connect 72 0 71 0;
#N struct staff float x float y;
#N canvas -7 0 681 643 10;
#X scalar staff 280 153 \;;
#N canvas 631 56 682 517 notes 0;
#X obj 1914 -324 struct staff float x float y;
#X obj 1902 -292 loadbang;
#X obj 2554 70 loadbang;
#X obj 2052 173 draw path M 220 138 c 56 0 109 -29 109 -91 c 0 -72
-56 -121 -103 -149 c -36 -21 -76 -36 -117 -36 c -56 0 -109 29 -109
91 c 0 72 56 121 103 149 c 36 21 76 36 117 36 z;
#X obj 2052 114 loadbang;
#X obj 2052 229 loadbang;
#X obj 2052 343 loadbang;
#X obj 2052 451 loadbang;
#X obj 1686 -169 draw group;
#X obj 2554 126 draw path M 359 27 c -49 0 -75 42 -75 75 c 0 38 27
#N canvas 407 19 712 643 10;
#X scalar staff 277 186 \;;
#X msg 194 372 0;
#X msg 234 372 2;
#X obj 194 413 + 69;
#X obj 360 322 keyup;
#X obj 195 491 osc~ 0;
#X obj 195 562 *~;
#X msg 243 486 1;
#X msg 325 486 0;
#X msg 243 507 \$1 100;
#X obj 243 528 line~;
#X obj 194 435 mtof;
#X obj 193 338 route 99 100 101 102;
#X obj 194 456 t a b;
#X obj 191 317 key;
#X msg 274 372 4;
#X msg 314 372 5;
#X text 336 594 Engraved by Lilypond :);
#X floatatom 447 379 5 0 0 1 Zoom(%) - -, f 5;
#X obj 447 330 loadbang;
#X msg 447 351 100;
#X text 187 52 Click a note name on the computer keyboard (in lower
case) to play one of the four notes shown:;
#X text 187 242 The notation software Lilypond can output svg files.
Pd can't automatically import such a file at the moment. Here I ported
the path instructions by hand.;
#X obj 195 583 output~;
#N canvas 864 140 450 300 (subpatch) 0;
#X obj 374 -494 loadbang;
#X obj 1026 -132 loadbang;
#X obj 524 -29 draw path M 220 138 c 56 0 109 -29 109 -91 c 0 -72 -56
-121 -103 -149 c -36 -21 -76 -36 -117 -36 c -56 0 -109 29 -109 91 c
0 72 56 121 103 149 c 36 21 76 36 117 36 z;
#X obj 524 -88 loadbang;
#X obj 524 27 loadbang;
#X obj 524 141 loadbang;
#X obj 524 249 loadbang;
#X obj 1026 -76 draw path M 359 27 c -49 0 -75 42 -75 75 c 0 38 27
77 72 77 c 4 0 9 0 14 -1 c -28 37 -72 59 -120 59 c -106 0 -113 -73
-113 -186 v -51 v -51 c 0 -113 7 -187 113 -187 c 80 0 139 70 158 151
c 2 7 7 10 12 10 c 6 0 13 -4 13 -12 c 0 -94 -105 -174 -183 -174 c -68
0 -137 21 -184 70 c -49 51 -66 122 -66 193 s 17 142 66 193 c 47 49
116 69 184 69 c 87 0 160 -64 175 -150 c 1 -5 1 -9 1 -13 c 0 -40 -30
-72 -67 -72 z;
#X obj 1902 -235 draw path M 335 -262 c -188 0 -333 172 -333 374 c
0 181 132 314 251 452 c -22 70 -40 142 -49 215 c -6 55 -8 109 -8 165
#X obj 374 -437 draw path M 335 -262 c -188 0 -333 172 -333 374 c 0
181 132 314 251 452 c -22 70 -40 142 -49 215 c -6 55 -8 109 -8 165
c 0 119 55 230 150 302 c 3 2 7 4 10 4 c 4 0 7 -1 10 -4 c 77 -89 145
-263 145 -384 c 0 -149 -90 -265 -188 -379 c 23 -73 44 -147 63 -221
c 1 0 2 1 3 1 c 155 0 256 -128 256 -261 c 0 -76 -33 -154 -107 -210
......@@ -37,196 +61,170 @@ c 5 -5 7 -10 7 -15 c 0 -11 -10 -22 -22 -22 c -3 0 -6 1 -9 2 c -80 43
-109 -125 -218 -250 -218 -415 c 0 -136 130 -249 266 -249 z M 406 1103
c -100 -53 -163 -157 -163 -270 c 0 -87 22 -158 43 -230 c 84 102 155
209 155 341 c 0 70 -7 98 -35 159 z;
#X msg 1902 -271 transform translate 15.0264 8.8453 scale 0.004 -0.004
#X msg 374 -473 transform translate 15.0264 8.8453 scale 0.004 -0.004
\, fill black;
#X msg 2554 92 transform translate 19.2264 7.8453 scale 0.004 -0.004
#X msg 1026 -110 transform translate 19.2264 7.8453 scale 0.004 -0.004
\, fill black;
#X msg 2052 135 transform translate 22.9264 10.8453 scale 0.004 -0.004
#X msg 524 -67 transform translate 22.9264 10.8453 scale 0.004 -0.004
\, fill black;
#X msg 2052 250 transform translate 25.9406 10.3453 scale 0.004 -0.004
#X msg 524 48 transform translate 25.9406 10.3453 scale 0.004 -0.004
\, fill black;
#X msg 2052 364 transform translate 28.9548 9.8453 scale 0.004 -0.004
#X msg 524 162 transform translate 28.9548 9.8453 scale 0.004 -0.004
\, fill black;