aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorN.N. <nimon@users.sourceforge.net>2014-02-25 14:07:18 +0000
committerN.N. <nimon@users.sourceforge.net>2014-02-25 14:07:18 +0000
commit4409d33522edb5f1dac3d1250aaaf5cf0dc91881 (patch)
tree592c12d3cbc97250980d6697e93d90750fb7135b
parent5cdb9439ea1817e4f1e33b7807d81d38d18400eb (diff)
pmpd : orthograph
svn path=/trunk/externals/pmpd/; revision=17271
-rw-r--r--examples/02_string.pd432
1 files changed, 218 insertions, 214 deletions
diff --git a/examples/02_string.pd b/examples/02_string.pd
index 531f322..8813e23 100644
--- a/examples/02_string.pd
+++ b/examples/02_string.pd
@@ -1,4 +1,5 @@
-#N canvas 41 93 1309 802 12;
+#N canvas -1562 97 1178 774 10;
+#X declare -path ../;
#X obj 379 253 vsl 15 128 0 127 0 0 empty empty empty 0 -8 0 8 -262144
-1 -1 0 1;
#X obj 397 253 vsl 15 128 0 127 0 0 empty empty empty 0 -8 0 8 -262144
@@ -13,276 +14,279 @@
-1 -1 0 1;
#X obj 361 253 vsl 15 128 0 127 0 0 empty empty empty 0 -8 0 8 -262144
-1 -1 0 1;
-#X obj 9 35 metro 10;
-#X obj 9 10 loadbang;
+#X obj 538 52 metro 10;
+#X obj 538 27 loadbang;
#X text 138 362 move the first slider ->;
#X text 570 368 <- or the last one;
-#X text 268 11 This is the first exemple of physical modeling;
-#X text 268 33 this is an elastic string;
#X obj 487 253 vsl 15 128 0 127 0 0 empty empty empty 0 -8 0 8 -262144
-1 -1 0 1;
#X obj 505 253 vsl 15 128 0 127 0 0 empty empty empty 0 -8 0 8 -262144
-1 -1 0 1;
-#X obj 9 62 t b b;
-#X obj 44 87 s \$0-link;
-#X obj 9 113 s \$0-mass;
-#X text 158 95 <- metronome send bangs to mass and link and gives the
-general computation speed;
-#X text 135 409 all the slider are "link" together with a link. slider
-got a mass so they have inertial.;
-#X obj 3 196 link \$0-link 0 1 1;
-#X obj 151 196 link \$0-link 0 1 1;
-#X obj 300 196 link \$0-link 0 1 1;
-#X obj 449 196 link \$0-link 0 1 1;
-#X obj 599 196 link \$0-link 0 1 1;
-#X obj 747 196 link \$0-link 0 1 1;
-#X obj 896 196 link \$0-link 0 1 1;
-#X obj 1045 196 link \$0-link 0 1 1;
+#X obj 538 79 t b b;
+#X obj 565 104 s \$0-link;
+#X obj 538 130 s \$0-mass;
+#X obj 14 196 link \$0-link 0 1 1;
+#X obj 145 196 link \$0-link 0 1 1;
+#X obj 284 196 link \$0-link 0 1 1;
+#X obj 424 195 link \$0-link 0 1 1;
+#X obj 565 194 link \$0-link 0 1 1;
+#X obj 703 194 link \$0-link 0 1 1;
+#X obj 844 193 link \$0-link 0 1 1;
+#X obj 981 194 link \$0-link 0 1 1;
#X obj 146 172 mass \$0-mass 30;
-#X obj 294 171 mass \$0-mass 30;
-#X obj 444 172 mass \$0-mass 30;
-#X obj 595 172 mass \$0-mass 30;
-#X obj 743 171 mass \$0-mass 30;
-#X obj 894 171 mass \$0-mass 30;
-#X obj 1041 171 mass \$0-mass 30;
-#X text 135 451 You can see the propagation of a wave \, and physical
-properties of a kind of elastic string.;
-#X text 160 132 masss and link has to be compute one after the other.
+#X obj 284 171 mass \$0-mass 30;
+#X obj 424 172 mass \$0-mass 30;
+#X obj 565 172 mass \$0-mass 30;
+#X obj 703 171 mass \$0-mass 30;
+#X obj 844 171 mass \$0-mass 30;
+#X obj 981 171 mass \$0-mass 30;
+#X obj 160 518 mtof;
+#X obj 160 567 line;
+#X msg 160 543 \$1 15;
+#X obj 160 592 osc~;
+#X obj 216 518 mtof;
+#X obj 216 567 line;
+#X msg 216 543 \$1 15;
+#X obj 216 592 osc~;
+#X obj 271 518 mtof;
+#X obj 271 567 line;
+#X msg 271 543 \$1 15;
+#X obj 271 592 osc~;
+#X obj 327 517 mtof;
+#X obj 327 566 line;
+#X msg 327 542 \$1 15;
+#X obj 327 591 osc~;
+#X obj 383 516 mtof;
+#X obj 383 565 line;
+#X msg 383 541 \$1 15;
+#X obj 383 590 osc~;
+#X obj 438 516 mtof;
+#X obj 438 565 line;
+#X msg 438 541 \$1 15;
+#X obj 438 590 osc~;
+#X obj 494 516 mtof;
+#X obj 494 565 line;
+#X msg 494 541 \$1 15;
+#X obj 494 590 osc~;
+#X obj 291 644 *~ 0.1;
+#X obj 344 644 *~ 0.1;
+#X obj 901 476 noise~;
+#X obj 811 724 dac~;
+#X obj 580 520 bp~ 80 5;
+#X obj 650 520 bp~ 160 5;
+#X obj 726 521 bp~ 380 5;
+#X obj 804 522 bp~ 760 5;
+#X obj 601 545 / 127;
+#X obj 601 595 *;
+#X obj 601 569 t f f;
+#X msg 601 621 \$1 10;
+#X obj 601 648 line~;
+#X obj 581 674 *~;
+#X obj 672 546 / 127;
+#X obj 672 596 *;
+#X obj 672 570 t f f;
+#X msg 672 622 \$1 10;
+#X obj 672 649 line~;
+#X obj 652 675 *~;
+#X obj 748 546 / 127;
+#X obj 748 596 *;
+#X obj 748 570 t f f;
+#X msg 748 622 \$1 10;
+#X obj 748 649 line~;
+#X obj 728 675 *~;
+#X obj 830 550 / 127;
+#X obj 830 600 *;
+#X obj 830 574 t f f;
+#X msg 830 626 \$1 10;
+#X obj 830 653 line~;
+#X obj 810 679 *~;
+#X obj 915 547 / 127;
+#X obj 915 597 *;
+#X obj 915 571 t f f;
+#X msg 915 623 \$1 10;
+#X obj 915 650 line~;
+#X obj 895 676 *~;
+#X obj 986 548 / 127;
+#X obj 986 598 *;
+#X obj 986 572 t f f;
+#X msg 986 624 \$1 10;
+#X obj 986 651 line~;
+#X obj 966 678 *~;
+#X obj 1062 548 / 127;
+#X obj 1062 598 *;
+#X obj 1062 572 t f f;
+#X msg 1062 624 \$1 10;
+#X obj 1062 651 line~;
+#X obj 1042 677 *~;
+#X obj 894 522 bp~ 1380 5;
+#X obj 956 524 bp~ 3160 5;
+#X obj 1040 523 bp~ 6380 5;
+#X obj 610 29 declare -path ../;
+#X text 22 29 This is the first example of physical modeling: it computes
+an elastic string;
+#X text 602 67 <- metronome send bangs to masses and links and gives
+the general computation speed;
+#X text 21 62 All the slider are "linked" together with a link. Slider
+got a mass so they have inertial.;
+#X text 21 94 You can see the propagation of a wave \, and physical
+properties close to an elastic string.;
+#X text 247 694 Sound synthesis engine 1;
+#X text 743 745 Sound synthesis engine 2;
+#X text 612 140 masses and links has to be computed one after the other.
;
-#X obj 749 384 mtof;
-#X obj 749 433 line;
-#X msg 749 409 \$1 15;
-#X obj 749 458 osc~;
-#X obj 805 384 mtof;
-#X obj 805 433 line;
-#X msg 805 409 \$1 15;
-#X obj 805 458 osc~;
-#X obj 860 384 mtof;
-#X obj 860 433 line;
-#X msg 860 409 \$1 15;
-#X obj 860 458 osc~;
-#X obj 916 383 mtof;
-#X obj 916 432 line;
-#X msg 916 408 \$1 15;
-#X obj 916 457 osc~;
-#X obj 972 382 mtof;
-#X obj 972 431 line;
-#X msg 972 407 \$1 15;
-#X obj 972 456 osc~;
-#X obj 1027 382 mtof;
-#X obj 1027 431 line;
-#X msg 1027 407 \$1 15;
-#X obj 1027 456 osc~;
-#X obj 1083 382 mtof;
-#X obj 1083 431 line;
-#X msg 1083 407 \$1 15;
-#X obj 1083 456 osc~;
-#X obj 880 510 *~ 0.1;
-#X obj 933 510 *~ 0.1;
-#X obj 1034 550 noise~;
-#X obj 944 798 dac~;
-#X obj 713 594 bp~ 80 5;
-#X obj 783 594 bp~ 160 5;
-#X obj 859 595 bp~ 380 5;
-#X obj 937 596 bp~ 760 5;
-#X obj 734 619 / 127;
-#X obj 734 669 *;
-#X obj 734 643 t f f;
-#X msg 734 695 \$1 10;
-#X obj 734 722 line~;
-#X obj 714 748 *~;
-#X obj 805 620 / 127;
-#X obj 805 670 *;
-#X obj 805 644 t f f;
-#X msg 805 696 \$1 10;
-#X obj 805 723 line~;
-#X obj 785 749 *~;
-#X obj 881 620 / 127;
-#X obj 881 670 *;
-#X obj 881 644 t f f;
-#X msg 881 696 \$1 10;
-#X obj 881 723 line~;
-#X obj 861 749 *~;
-#X obj 963 624 / 127;
-#X obj 963 674 *;
-#X obj 963 648 t f f;
-#X msg 963 700 \$1 10;
-#X obj 963 727 line~;
-#X obj 943 753 *~;
-#X obj 1048 621 / 127;
-#X obj 1048 671 *;
-#X obj 1048 645 t f f;
-#X msg 1048 697 \$1 10;
-#X obj 1048 724 line~;
-#X obj 1028 750 *~;
-#X obj 1119 622 / 127;
-#X obj 1119 672 *;
-#X obj 1119 646 t f f;
-#X msg 1119 698 \$1 10;
-#X obj 1119 725 line~;
-#X obj 1099 752 *~;
-#X obj 1195 622 / 127;
-#X obj 1195 672 *;
-#X obj 1195 646 t f f;
-#X msg 1195 698 \$1 10;
-#X obj 1195 725 line~;
-#X obj 1175 751 *~;
-#X obj 1027 596 bp~ 1380 5;
-#X obj 1089 598 bp~ 3160 5;
-#X obj 1173 597 bp~ 6380 5;
-#X connect 0 0 37 0;
-#X connect 0 0 73 0;
-#X connect 1 0 41 0;
-#X connect 1 0 79 0;
-#X connect 2 0 45 0;
-#X connect 2 0 85 0;
-#X connect 3 0 49 0;
-#X connect 3 0 91 0;
-#X connect 4 0 53 0;
-#X connect 4 0 97 0;
-#X connect 5 0 57 0;
-#X connect 5 0 103 0;
-#X connect 6 0 20 0;
-#X connect 7 0 15 0;
+#X connect 0 0 31 0;
+#X connect 0 0 67 0;
+#X connect 1 0 35 0;
+#X connect 1 0 73 0;
+#X connect 2 0 39 0;
+#X connect 2 0 79 0;
+#X connect 3 0 43 0;
+#X connect 3 0 85 0;
+#X connect 4 0 47 0;
+#X connect 4 0 91 0;
+#X connect 5 0 51 0;
+#X connect 5 0 97 0;
+#X connect 6 0 16 0;
+#X connect 7 0 13 0;
#X connect 8 0 7 0;
-#X connect 13 0 61 0;
-#X connect 13 0 109 0;
-#X connect 14 0 27 1;
-#X connect 15 0 17 0;
-#X connect 15 1 16 0;
+#X connect 11 0 55 0;
+#X connect 11 0 103 0;
+#X connect 12 0 23 1;
+#X connect 13 0 15 0;
+#X connect 13 1 14 0;
+#X connect 16 1 24 0;
+#X connect 17 0 24 0;
+#X connect 17 1 25 0;
+#X connect 18 0 25 0;
+#X connect 18 1 26 0;
+#X connect 19 0 26 0;
+#X connect 19 1 27 0;
+#X connect 20 0 27 0;
#X connect 20 1 28 0;
#X connect 21 0 28 0;
#X connect 21 1 29 0;
#X connect 22 0 29 0;
#X connect 22 1 30 0;
#X connect 23 0 30 0;
-#X connect 23 1 31 0;
-#X connect 24 0 31 0;
-#X connect 24 1 32 0;
-#X connect 25 0 32 0;
-#X connect 25 1 33 0;
-#X connect 26 0 33 0;
-#X connect 26 1 34 0;
-#X connect 27 0 34 0;
-#X connect 28 0 0 0;
+#X connect 24 0 0 0;
+#X connect 24 0 16 1;
+#X connect 24 0 17 0;
+#X connect 25 0 1 0;
+#X connect 25 0 17 1;
+#X connect 25 0 18 0;
+#X connect 26 0 2 0;
+#X connect 26 0 18 1;
+#X connect 26 0 19 0;
+#X connect 27 0 3 0;
+#X connect 27 0 19 1;
+#X connect 27 0 20 0;
+#X connect 28 0 4 0;
#X connect 28 0 20 1;
#X connect 28 0 21 0;
-#X connect 29 0 1 0;
+#X connect 29 0 5 0;
#X connect 29 0 21 1;
#X connect 29 0 22 0;
-#X connect 30 0 2 0;
+#X connect 30 0 11 0;
#X connect 30 0 22 1;
#X connect 30 0 23 0;
-#X connect 31 0 3 0;
-#X connect 31 0 23 1;
-#X connect 31 0 24 0;
-#X connect 32 0 4 0;
-#X connect 32 0 24 1;
-#X connect 32 0 25 0;
-#X connect 33 0 5 0;
-#X connect 33 0 25 1;
-#X connect 33 0 26 0;
-#X connect 34 0 13 0;
-#X connect 34 0 26 1;
-#X connect 34 0 27 0;
-#X connect 37 0 39 0;
-#X connect 38 0 40 0;
-#X connect 39 0 38 0;
-#X connect 40 0 65 0;
-#X connect 41 0 43 0;
-#X connect 42 0 44 0;
-#X connect 43 0 42 0;
-#X connect 44 0 65 0;
-#X connect 45 0 47 0;
-#X connect 46 0 48 0;
-#X connect 47 0 46 0;
-#X connect 48 0 65 0;
-#X connect 48 0 66 0;
-#X connect 49 0 51 0;
-#X connect 50 0 52 0;
-#X connect 51 0 50 0;
-#X connect 52 0 65 0;
-#X connect 52 0 66 0;
-#X connect 53 0 55 0;
-#X connect 54 0 56 0;
-#X connect 55 0 54 0;
-#X connect 56 0 65 0;
-#X connect 56 0 66 0;
-#X connect 57 0 59 0;
+#X connect 31 0 33 0;
+#X connect 32 0 34 0;
+#X connect 33 0 32 0;
+#X connect 34 0 59 0;
+#X connect 35 0 37 0;
+#X connect 36 0 38 0;
+#X connect 37 0 36 0;
+#X connect 38 0 59 0;
+#X connect 39 0 41 0;
+#X connect 40 0 42 0;
+#X connect 41 0 40 0;
+#X connect 42 0 59 0;
+#X connect 42 0 60 0;
+#X connect 43 0 45 0;
+#X connect 44 0 46 0;
+#X connect 45 0 44 0;
+#X connect 46 0 59 0;
+#X connect 46 0 60 0;
+#X connect 47 0 49 0;
+#X connect 48 0 50 0;
+#X connect 49 0 48 0;
+#X connect 50 0 59 0;
+#X connect 50 0 60 0;
+#X connect 51 0 53 0;
+#X connect 52 0 54 0;
+#X connect 53 0 52 0;
+#X connect 54 0 60 0;
+#X connect 55 0 57 0;
+#X connect 56 0 58 0;
+#X connect 57 0 56 0;
#X connect 58 0 60 0;
-#X connect 59 0 58 0;
-#X connect 60 0 66 0;
#X connect 61 0 63 0;
-#X connect 62 0 64 0;
-#X connect 63 0 62 0;
-#X connect 64 0 66 0;
+#X connect 61 0 64 0;
+#X connect 61 0 65 0;
+#X connect 61 0 66 0;
+#X connect 61 0 109 0;
+#X connect 61 0 110 0;
+#X connect 61 0 111 0;
+#X connect 63 0 72 0;
+#X connect 64 0 78 0;
+#X connect 65 0 84 0;
+#X connect 66 0 90 0;
#X connect 67 0 69 0;
-#X connect 67 0 70 0;
-#X connect 67 0 71 0;
-#X connect 67 0 72 0;
-#X connect 67 0 115 0;
-#X connect 67 0 116 0;
-#X connect 67 0 117 0;
-#X connect 69 0 78 0;
-#X connect 70 0 84 0;
-#X connect 71 0 90 0;
-#X connect 72 0 96 0;
+#X connect 68 0 70 0;
+#X connect 69 0 68 0;
+#X connect 69 1 68 1;
+#X connect 70 0 71 0;
+#X connect 71 0 72 1;
+#X connect 72 0 62 0;
+#X connect 72 0 62 1;
#X connect 73 0 75 0;
#X connect 74 0 76 0;
#X connect 75 0 74 0;
#X connect 75 1 74 1;
#X connect 76 0 77 0;
#X connect 77 0 78 1;
-#X connect 78 0 68 0;
-#X connect 78 0 68 1;
+#X connect 78 0 62 0;
+#X connect 78 0 62 1;
#X connect 79 0 81 0;
#X connect 80 0 82 0;
#X connect 81 0 80 0;
#X connect 81 1 80 1;
#X connect 82 0 83 0;
#X connect 83 0 84 1;
-#X connect 84 0 68 0;
-#X connect 84 0 68 1;
+#X connect 84 0 62 1;
+#X connect 84 0 62 0;
#X connect 85 0 87 0;
#X connect 86 0 88 0;
#X connect 87 0 86 0;
#X connect 87 1 86 1;
#X connect 88 0 89 0;
#X connect 89 0 90 1;
-#X connect 90 0 68 1;
-#X connect 90 0 68 0;
+#X connect 90 0 62 1;
+#X connect 90 0 62 0;
#X connect 91 0 93 0;
#X connect 92 0 94 0;
#X connect 93 0 92 0;
#X connect 93 1 92 1;
#X connect 94 0 95 0;
#X connect 95 0 96 1;
-#X connect 96 0 68 1;
-#X connect 96 0 68 0;
+#X connect 96 0 62 0;
+#X connect 96 0 62 1;
#X connect 97 0 99 0;
#X connect 98 0 100 0;
#X connect 99 0 98 0;
#X connect 99 1 98 1;
#X connect 100 0 101 0;
#X connect 101 0 102 1;
-#X connect 102 0 68 0;
-#X connect 102 0 68 1;
+#X connect 102 0 62 1;
+#X connect 102 0 62 0;
#X connect 103 0 105 0;
#X connect 104 0 106 0;
#X connect 105 0 104 0;
#X connect 105 1 104 1;
#X connect 106 0 107 0;
#X connect 107 0 108 1;
-#X connect 108 0 68 1;
-#X connect 108 0 68 0;
-#X connect 109 0 111 0;
-#X connect 110 0 112 0;
-#X connect 111 0 110 0;
-#X connect 111 1 110 1;
-#X connect 112 0 113 0;
-#X connect 113 0 114 1;
-#X connect 114 0 68 1;
-#X connect 114 0 68 0;
-#X connect 115 0 102 0;
-#X connect 116 0 108 0;
-#X connect 117 0 114 0;
+#X connect 108 0 62 1;
+#X connect 108 0 62 0;
+#X connect 109 0 96 0;
+#X connect 110 0 102 0;
+#X connect 111 0 108 0;