diff projects/heavy/pd/envelopeTrigger/_main.pd @ 164:40badaff5729 heavy-updated

- added more pd/heavy examples - removed heavy-specific flags from Makefile - added air-harp cpp example project
author chnrx <chris.heinrichs@gmail.com>
date Thu, 03 Dec 2015 16:19:33 +0000
parents c3e8226a5651
children
line wrap: on
line diff
--- a/projects/heavy/pd/envelopeTrigger/_main.pd	Thu Nov 12 15:55:30 2015 +0000
+++ b/projects/heavy/pd/envelopeTrigger/_main.pd	Thu Dec 03 16:19:33 2015 +0000
@@ -1,4 +1,4 @@
-#N canvas 146 218 359 287 10;
+#N canvas 646 209 359 287 10;
 #X obj 28 207 dac~;
 #N canvas 324 380 556 621 env 0;
 #N canvas 886 1001 131 207 >~ 0;
@@ -47,11 +47,11 @@
 #X connect 8 0 7 0;
 #X restore 199 192 pd <~;
 #X text 237 193 (x != x);
-#X obj 23 447 *~;
+#X obj 23 467 *~;
 #X obj 199 150 *~ -1;
 #X obj 23 331 *~ 512;
 #X obj 23 229 clip~ 0 1;
-#X obj 23 390 tabread4~ env1;
+#X obj 23 352 tabread4~ env1;
 #X obj 23 310 *~;
 #X obj 199 64 abs~;
 #X obj 199 43 hip~ 1;
@@ -60,13 +60,12 @@
 #X obj 218 292 /~;
 #X obj 226 86 inlet~ threshold;
 #X obj 262 229 inlet~ envDuration;
-#X obj 178 430 osc~ 220;
-#X obj 178 348 tabread4~ env1;
-#X obj 178 410 +~ 50;
-#X obj 178 370 *~;
-#X obj 178 390 *~ 1000;
+#X obj 38 445 osc~ 220;
+#X obj 38 425 +~ 50;
+#X obj 38 385 *~;
+#X obj 38 405 *~ 1000;
 #X obj 262 269 clip~ 1e-05 100000;
-#X obj 23 467 outlet~;
+#X obj 23 487 outlet~;
 #N canvas 0 22 450 278 (subpatch) 0;
 #X array env1 512 float 3;
 #A 0 0 0.0625 0.0883883 0.108253 0.125 0.139754 0.153093 0.165359 0.176777
@@ -135,7 +134,7 @@
 0.00186082 0.00153787 0.00124567 0.000984237 0.000753556 0.000553633
 0.000384467 0.000246059 0.000138408 6.15148e-05 1.53787e-05 0;
 #X coords 0 1 512 0 512 64 1 0 0;
-#X restore 24 516 graph;
+#X restore 24 536 graph;
 #X text 244 55 centre signal around zero and take abs value;
 #X text 243 107 if greater than threshold output 1;
 #X text 313 129 differentiator;
@@ -143,9 +142,10 @@
 #X text 67 210 signal-rate counter;
 #X text 296 193 -> resets counter by briefly setting;
 #X text 314 204 rpole~ coeff to 0;
-#X text 246 391 kickdrum 101 :P;
-#X text 400 494 pre-generated envelope;
+#X text 96 416 kickdrum 101 :P;
+#X text 400 514 pre-generated envelope;
 #X obj 262 249 *~;
+#X text 127 352 << use envelope value for volume and frequency;
 #X connect 0 0 4 0;
 #X connect 1 0 5 0;
 #X connect 2 0 1 1;
@@ -155,12 +155,13 @@
 #X connect 6 0 1 0;
 #X connect 7 0 8 1;
 #X connect 8 0 5 1;
-#X connect 10 0 29 0;
+#X connect 10 0 28 0;
 #X connect 11 0 8 0;
 #X connect 12 0 14 0;
-#X connect 12 0 24 0;
 #X connect 13 0 15 0;
 #X connect 14 0 10 0;
+#X connect 14 0 25 0;
+#X connect 14 0 25 1;
 #X connect 15 0 12 0;
 #X connect 16 0 0 0;
 #X connect 17 0 16 0;
@@ -168,28 +169,28 @@
 #X connect 19 0 20 0;
 #X connect 20 0 15 1;
 #X connect 21 0 0 1;
-#X connect 22 0 40 0;
-#X connect 22 0 40 1;
+#X connect 22 0 39 0;
+#X connect 22 0 39 1;
 #X connect 23 0 10 1;
-#X connect 24 0 26 0;
-#X connect 24 0 26 1;
-#X connect 25 0 23 0;
-#X connect 26 0 27 0;
-#X connect 27 0 25 0;
-#X connect 28 0 20 1;
-#X connect 40 0 28 0;
+#X connect 24 0 23 0;
+#X connect 25 0 26 0;
+#X connect 26 0 24 0;
+#X connect 27 0 20 1;
+#X connect 39 0 27 0;
 #X restore 28 174 pd env;
 #X obj 79 110 adc~ 9;
 #X obj 129 130 adc~ 10;
-#X obj 28 90 adc~ 8;
 #X text 72 90 piezo input for excitation;
 #X text 123 110 fader 1 sets threshold;
 #X text 183 130 fader 2 sets duration;
 #X text 29 17 SAMPLE-ACCURATE ENVELOPE TRIGGER;
 #X text 29 27 ================================;
-#X text 142 259 @krighxz / BELA / heavy / 11/2015;
+#X obj 28 90 adc~ 8;
+#X text 141 236 ---------------------------------;
+#X text 141 226 @krighxz / BELA / heavy / 12/2015;
+#X text 165 245 beaglert.cc / enzienaudio.com;
 #X connect 1 0 0 0;
 #X connect 1 0 0 1;
 #X connect 2 0 1 1;
 #X connect 3 0 1 2;
-#X connect 4 0 1 0;
+#X connect 9 0 1 0;