diff projects/heavy/pd/midi-poly-fm/_main.pd @ 322:dde921ea256b Doxy prerelease

libpd and heavy examples added
author Robert Jack <robert.h.jack@gmail.com>
date Mon, 30 May 2016 12:47:17 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/projects/heavy/pd/midi-poly-fm/_main.pd	Mon May 30 12:47:17 2016 +0100
@@ -0,0 +1,175 @@
+#N canvas 4 23 1276 755 10;
+#X text 39 1 Hello world!;
+#X text 182 448 ---------------------------------;
+#X text 182 438 @krighxz / BELA / heavy / 12/2015;
+#X text 206 457 beaglert.cc / enzienaudio.com;
+#X obj 260 83 * 20;
+#X obj 261 112 + 200;
+#X text 673 121 [pgmin];
+#X obj 218 178 * 10;
+#X obj 200 200 + 50;
+#X obj 260 60 bela_ctlin 5 0;
+#X obj 220 151 bela_ctlin 6 0;
+#X text 537 58 [ctlin];
+#X text 332 27 [notein];
+#X text 349 59 <== the bela equivalent of ==>;
+#X text 483 121 <== the bela equivalent of ==>;
+#X obj 405 175 print pgmin;
+#X obj 408 121 bela_pgmin 0;
+#X obj 740 28 bela_notein 0;
+#X obj 740 57 pack 0 0;
+#X obj 740 106 pack 0 0 0;
+#X obj 873 240 unpack 0 0;
+#X obj 873 262 mtof;
+#X obj 873 284 phasor~;
+#X obj 873 361 *~;
+#X obj 923 284 / 127;
+#X obj 873 396 *~ 0.1;
+#X obj 593 507 dac~ 1 2;
+#X obj 963 240 unpack 0 0;
+#X obj 963 262 mtof;
+#X obj 963 284 phasor~;
+#X obj 1013 284 / 127;
+#X obj 1053 240 unpack 0 0;
+#X obj 1053 262 mtof;
+#X obj 1053 284 phasor~;
+#X obj 1103 284 / 127;
+#X obj 1143 240 unpack 0 0;
+#X obj 1143 262 mtof;
+#X obj 1143 284 phasor~;
+#X obj 1193 284 / 127;
+#X obj 888 338 line;
+#X obj 963 361 *~;
+#X obj 978 338 line;
+#X obj 1053 361 *~;
+#X obj 1068 338 line;
+#X obj 1143 361 *~;
+#X obj 1158 338 line;
+#X msg 888 312 \$1 200;
+#X msg 978 312 \$1 200;
+#X msg 1068 312 \$1 200;
+#X msg 1158 312 \$1 200;
+#X obj 740 84 poly 6 1;
+#X obj 740 128 route 1 2 3 4 5 6, f 36;
+#X obj 646 178 s voice-note-1;
+#X obj 736 178 s voice-note-2;
+#X obj 826 178 s voice-note-3;
+#X obj 916 178 s voice-note-4;
+#X obj 1006 178 s voice-note-5;
+#X obj 1096 178 s voice-note-6;
+#X obj 593 367 catch~ output;
+#X obj 593 389 *~ 0.166;
+#X obj 515 244 voice 1;
+#X obj 131 321 s~ harmRatio~;
+#X obj 131 294 adc~ 3;
+#X obj 894 436 adc~ 6;
+#X obj 593 439 *~ 1;
+#X obj 894 523 s Index-range;
+#X obj 814 523 s Index-min;
+#X obj 723 523 s Index-attack;
+#N canvas 0 22 178 130 snapshot 0;
+#X obj 24 20 inlet~;
+#X obj 24 62 snapshot~;
+#X obj 24 84 outlet;
+#X obj 86 29 r metro;
+#X connect 0 0 1 0;
+#X connect 1 0 2 0;
+#X connect 3 0 1 0;
+#X restore 894 458 pd snapshot;
+#X obj 1150 21 loadbang;
+#X obj 1150 43 metro 10;
+#X obj 1150 65 s metro;
+#N canvas 0 22 178 130 snapshot 0;
+#X obj 24 20 inlet~;
+#X obj 24 62 snapshot~;
+#X obj 24 84 outlet;
+#X obj 86 29 r metro;
+#X connect 0 0 1 0;
+#X connect 1 0 2 0;
+#X connect 3 0 1 0;
+#X restore 814 458 pd snapshot;
+#N canvas 0 22 178 130 snapshot 0;
+#X obj 24 20 inlet~;
+#X obj 24 62 snapshot~;
+#X obj 24 84 outlet;
+#X obj 86 29 r metro;
+#X connect 0 0 1 0;
+#X connect 1 0 2 0;
+#X connect 3 0 1 0;
+#X restore 722 458 pd snapshot;
+#X obj 722 436 adc~ 4;
+#X obj 814 436 adc~ 5;
+#X obj 722 480 * 1000;
+#X obj 814 480 * 3;
+#X obj 894 480 * 100;
+#X obj 515 264 voice 2;
+#X obj 515 284 voice 3;
+#X obj 515 304 voice 4;
+#X obj 515 324 voice 5;
+#X obj 515 344 voice 6;
+#X connect 4 0 5 0;
+#X connect 7 0 8 0;
+#X connect 9 0 4 0;
+#X connect 10 0 7 0;
+#X connect 16 0 15 0;
+#X connect 17 0 18 0;
+#X connect 17 1 18 1;
+#X connect 18 0 50 0;
+#X connect 19 0 51 0;
+#X connect 20 0 21 0;
+#X connect 20 1 24 0;
+#X connect 21 0 22 0;
+#X connect 22 0 23 0;
+#X connect 23 0 25 0;
+#X connect 24 0 46 0;
+#X connect 27 0 28 0;
+#X connect 27 1 30 0;
+#X connect 28 0 29 0;
+#X connect 29 0 40 0;
+#X connect 30 0 47 0;
+#X connect 31 0 32 0;
+#X connect 31 1 34 0;
+#X connect 32 0 33 0;
+#X connect 33 0 42 0;
+#X connect 34 0 48 0;
+#X connect 35 0 36 0;
+#X connect 35 1 38 0;
+#X connect 36 0 37 0;
+#X connect 37 0 44 0;
+#X connect 38 0 49 0;
+#X connect 39 0 23 1;
+#X connect 40 0 25 0;
+#X connect 41 0 40 1;
+#X connect 42 0 25 0;
+#X connect 43 0 42 1;
+#X connect 44 0 25 0;
+#X connect 45 0 44 1;
+#X connect 46 0 39 0;
+#X connect 47 0 41 0;
+#X connect 48 0 43 0;
+#X connect 49 0 45 0;
+#X connect 50 0 19 0;
+#X connect 50 1 19 1;
+#X connect 50 2 19 2;
+#X connect 51 0 52 0;
+#X connect 51 1 53 0;
+#X connect 51 2 54 0;
+#X connect 51 3 55 0;
+#X connect 51 4 56 0;
+#X connect 51 5 57 0;
+#X connect 58 0 59 0;
+#X connect 59 0 64 0;
+#X connect 62 0 61 0;
+#X connect 63 0 68 0;
+#X connect 64 0 26 0;
+#X connect 64 0 26 1;
+#X connect 68 0 78 0;
+#X connect 69 0 70 0;
+#X connect 70 0 71 0;
+#X connect 72 0 77 0;
+#X connect 73 0 76 0;
+#X connect 74 0 73 0;
+#X connect 75 0 72 0;
+#X connect 76 0 67 0;
+#X connect 77 0 66 0;
+#X connect 78 0 65 0;