aboutsummaryrefslogtreecommitdiff
path: root/puremapping/exemple
diff options
context:
space:
mode:
Diffstat (limited to 'puremapping/exemple')
-rw-r--r--puremapping/exemple/pm_mapping_exemple.pd222
1 files changed, 222 insertions, 0 deletions
diff --git a/puremapping/exemple/pm_mapping_exemple.pd b/puremapping/exemple/pm_mapping_exemple.pd
new file mode 100644
index 0000000..9db68c6
--- /dev/null
+++ b/puremapping/exemple/pm_mapping_exemple.pd
@@ -0,0 +1,222 @@
+#N canvas 203 104 1128 552 10;
+#X obj 30 327 loadbang;
+#X obj 30 354 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
+1;
+#X obj 30 375 metro 10;
+#X obj 30 398 s metro;
+#X obj 787 -59 gcanvas 300 300;
+#X obj 32 -59 cnv 15 220 300 empty empty empty 20 12 0 14 -233017 -66577
+0;
+#N canvas 0 0 507 357 2dimentional_input_for_the_system_______ 0;
+#X obj 14 159 pack f f;
+#X obj 99 164 b;
+#X obj 129 194 delay 100;
+#X msg 99 218 1;
+#X msg 129 218 0;
+#X obj 99 246 f;
+#X obj 14 188 s position;
+#X obj 99 299 s grab;
+#X obj 307 23 inlet;
+#X obj 14 15 inlet;
+#X obj 14 103 min 1;
+#X obj 307 109 min 1;
+#X obj 99 270 change;
+#X text 162 256 this should be replace by a more robust detection of
+the mouses click;
+#X obj 14 38 / 150;
+#X obj 307 44 / 150;
+#X obj 307 70 - 1;
+#X obj 14 63 - 1;
+#X obj 14 126 max -1;
+#X obj 307 132 max -1;
+#X connect 0 0 6 0;
+#X connect 1 0 2 0;
+#X connect 1 0 3 0;
+#X connect 2 0 4 0;
+#X connect 3 0 5 0;
+#X connect 4 0 5 0;
+#X connect 5 0 12 0;
+#X connect 8 0 15 0;
+#X connect 9 0 14 0;
+#X connect 10 0 18 0;
+#X connect 11 0 19 0;
+#X connect 12 0 7 0;
+#X connect 14 0 17 0;
+#X connect 15 0 16 0;
+#X connect 16 0 11 0;
+#X connect 17 0 10 0;
+#X connect 18 0 1 0;
+#X connect 18 0 0 0;
+#X connect 19 0 0 1;
+#X restore 787 249 pd 2dimentional_input_for_the_system_______;
+#X obj 262 -59 cnv 15 325 400 empty empty empty 20 12 0 14 -233017
+-66577 0;
+#X obj 264 361 cnv 15 200 60 empty empty empty 20 12 0 14 -233017 -66577
+0;
+#X obj 596 -59 cnv 15 180 400 empty empty empty 20 12 0 14 -233017
+-66577 0;
+#X obj 601 84 unpack f f;
+#X obj 271 83 unpack f f;
+#X obj 271 131 abs;
+#X obj 427 131 abs;
+#X obj 272 399 dac~;
+#X obj 272 371 *~;
+#X obj 601 316 line~;
+#X obj 426 372 *~;
+#X obj 666 317 line~;
+#X obj 601 137 min 1;
+#X obj 666 139 min 1;
+#X obj 601 160 max 0;
+#X obj 666 162 max 0;
+#X obj 36 194 noise~;
+#X obj 44 70 unpack f f;
+#X obj 44 -29 t b b;
+#X obj 36 217 bp~;
+#X obj 145 193 noise~;
+#X obj 153 73 unpack f f;
+#X obj 145 216 bp~;
+#X obj 44 93 * 40;
+#X obj 44 139 mtof;
+#X obj 153 96 * 40;
+#X obj 153 142 mtof;
+#X obj 109 99 + 1;
+#X obj 218 96 + 1;
+#X obj 109 122 * 15;
+#X obj 218 119 * 15;
+#X obj 271 223 vd~ del1;
+#X obj 271 200 line~;
+#X msg 601 183 \$1 11;
+#X msg 666 185 \$1 11;
+#X msg 271 177 \$1 11;
+#X obj 427 200 line~;
+#X msg 427 177 \$1 11;
+#X obj 427 223 vd~ del2;
+#X obj 288 318 delwrite~ del2 1000;
+#X obj 444 318 delwrite~ del1 1000;
+#X obj 271 296 *~ -0.9;
+#X obj 44 -52 r metro;
+#X obj 271 -53 r metro;
+#X obj 54 -7 r position;
+#X obj 287 -29 r position;
+#X msg 287 -8 grab \$1 \$2;
+#X msg 306 36 grab_on \$1;
+#X obj 306 14 r grab;
+#X obj 601 -55 r metro;
+#X obj 617 -31 r position;
+#X msg 617 -8 grab \$1 \$2;
+#X msg 636 38 grab_on \$1;
+#X obj 636 15 r grab;
+#X text 32 -80 Audio input;
+#X text 264 -81 Karplus-Strong system;
+#X text 595 -81 Amplitude emvelope;
+#X text 789 -81 User input;
+#N canvas 0 0 214 277 1each2 0;
+#X obj 19 20 inlet;
+#X obj 50 65 f;
+#X obj 50 87 + 1;
+#X obj 19 238 outlet;
+#X obj 66 239 outlet;
+#X obj 66 216 spigot;
+#X obj 19 41 t a b;
+#X obj 19 215 spigot;
+#X obj 81 18 inlet;
+#X msg 81 42 0;
+#X obj 50 115 == 1;
+#X obj 90 115 == 2;
+#X connect 0 0 6 0;
+#X connect 1 0 2 0;
+#X connect 2 0 1 1;
+#X connect 2 0 10 0;
+#X connect 2 0 11 0;
+#X connect 5 0 4 0;
+#X connect 6 0 7 0;
+#X connect 6 0 5 0;
+#X connect 6 1 1 0;
+#X connect 7 0 3 0;
+#X connect 8 0 9 0;
+#X connect 9 0 1 1;
+#X connect 10 0 7 1;
+#X connect 11 0 5 1;
+#X restore 44 37 pd 1each2;
+#X obj 601 111 abs;
+#X obj 666 110 abs;
+#X obj 271 154 * 30;
+#X obj 427 155 * 30;
+#X obj 427 296 *~ -0.9;
+#X obj 44 116 + 70;
+#X obj 153 119 + 70;
+#X obj 44 14 pmcloud_2d 2 0.1 0.3;
+#X obj 270 61 pmrepulsor_2d 0.3 0.1;
+#X obj 601 62 pmattractor_2d 0.03 0.2;
+#X connect 0 0 1 0;
+#X connect 1 0 2 0;
+#X connect 2 0 3 0;
+#X connect 4 0 6 0;
+#X connect 4 1 6 1;
+#X connect 10 0 66 0;
+#X connect 10 1 67 0;
+#X connect 11 0 12 0;
+#X connect 11 1 13 0;
+#X connect 12 0 68 0;
+#X connect 13 0 69 0;
+#X connect 15 0 14 0;
+#X connect 16 0 15 1;
+#X connect 17 0 14 1;
+#X connect 18 0 17 1;
+#X connect 19 0 21 0;
+#X connect 20 0 22 0;
+#X connect 21 0 40 0;
+#X connect 22 0 41 0;
+#X connect 23 0 26 0;
+#X connect 24 0 30 0;
+#X connect 24 1 34 0;
+#X connect 25 0 73 0;
+#X connect 25 1 65 1;
+#X connect 26 0 48 0;
+#X connect 27 0 29 0;
+#X connect 28 0 32 0;
+#X connect 28 1 35 0;
+#X connect 29 0 70 0;
+#X connect 30 0 71 0;
+#X connect 31 0 26 1;
+#X connect 32 0 72 0;
+#X connect 33 0 29 1;
+#X connect 34 0 36 0;
+#X connect 35 0 37 0;
+#X connect 36 0 26 2;
+#X connect 37 0 29 2;
+#X connect 38 0 48 0;
+#X connect 39 0 38 0;
+#X connect 40 0 16 0;
+#X connect 41 0 18 0;
+#X connect 42 0 39 0;
+#X connect 43 0 45 0;
+#X connect 44 0 43 0;
+#X connect 45 0 70 0;
+#X connect 48 0 46 0;
+#X connect 48 0 15 0;
+#X connect 49 0 25 0;
+#X connect 50 0 74 0;
+#X connect 51 0 73 0;
+#X connect 52 0 53 0;
+#X connect 53 0 74 0;
+#X connect 54 0 74 0;
+#X connect 55 0 54 0;
+#X connect 56 0 75 0;
+#X connect 57 0 58 0;
+#X connect 58 0 75 0;
+#X connect 59 0 75 0;
+#X connect 60 0 59 0;
+#X connect 65 0 24 0;
+#X connect 65 1 28 0;
+#X connect 66 0 19 0;
+#X connect 67 0 20 0;
+#X connect 68 0 42 0;
+#X connect 69 0 44 0;
+#X connect 70 0 47 0;
+#X connect 70 0 17 0;
+#X connect 71 0 31 0;
+#X connect 72 0 33 0;
+#X connect 73 0 65 0;
+#X connect 74 0 11 0;
+#X connect 75 0 10 0;