aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--earplug~-help.pd88
1 files changed, 50 insertions, 38 deletions
diff --git a/earplug~-help.pd b/earplug~-help.pd
index 35d463b..591f6dc 100644
--- a/earplug~-help.pd
+++ b/earplug~-help.pd
@@ -1,10 +1,10 @@
-#N canvas 340 22 822 659 10;
-#X msg 644 355 \; pd dsp 1;
-#X msg 329 451 0 \, 360 5000;
-#X obj 122 592 earplug~ 270 -25;
-#X floatatom 327 287 5 0 0 0 - - -;
+#N canvas 0 26 822 649 10;
+#X msg 644 335 \; pd dsp 1;
+#X msg 329 431 0 \, 360 5000;
+#X obj 122 572 earplug~ 270 -25;
+#X floatatom 327 267 5 0 0 0 - - -;
#N canvas 0 22 385 256 (subpatch) 0;
-#X floatatom 261 193 0 0 0 0 cpu-meter - -;
+#X floatatom 260 197 0 0 0 0 cpu-meter - -;
#X obj 260 129 cputime;
#X obj 260 33 loadbang;
#X obj 260 80 metro 1000;
@@ -12,7 +12,6 @@
#X obj 260 108 t b b;
#X obj 260 170 * 0.1;
#X obj 260 150 int;
-#X text 331 203 comment;
#X connect 1 0 7 0;
#X connect 2 0 4 0;
#X connect 3 0 5 0;
@@ -21,9 +20,9 @@
#X connect 5 1 1 1;
#X connect 6 0 0 0;
#X connect 7 0 6 0;
-#X coords 0 1 100 -1 120 20 1;
-#X restore 531 31 graph;
-#X msg 723 355 \; pd dsp 0;
+#X coords 0 1 100 -1 120 20 1 200 195;
+#X restore 532 29 graph;
+#X msg 723 335 \; pd dsp 0;
#X text 24 18 earplug~ - convolution binaural filter;
#X text 23 49 This filter utilizes HRTF measurements (compact set)
of KEMAR Dummy-Head Microphone (http://sound.media.mit.edu/KEMAR.html)
@@ -32,17 +31,17 @@ of KEMAR Dummy-Head Microphone (http://sound.media.mit.edu/KEMAR.html)
#N canvas 0 22 450 300 (subpatch) 0;
#X array table 23376 float 0;
#X coords 0 1 23375 -1 100 60 1;
-#X restore 657 272 graph;
-#X obj 122 343 tabplay~ table;
-#X obj 327 329 line 0 1;
-#X obj 327 306 pack 0 50;
-#X floatatom 328 377 5 0 0 0 - - -;
-#X obj 328 419 line 0 1;
-#X obj 328 396 pack 0 50;
-#X msg 331 508 0 \, 360 5000;
-#X obj 331 533 line 0 1;
-#X obj 329 476 line 0 50;
-#X text 646 391 audio on;
+#X restore 657 252 graph;
+#X obj 122 323 tabplay~ table;
+#X obj 327 309 line 0 1;
+#X obj 327 286 pack 0 50;
+#X floatatom 328 357 5 0 0 0 - - -;
+#X obj 328 399 line 0 1;
+#X obj 328 376 pack 0 50;
+#X msg 331 488 0 \, 360 5000;
+#X obj 331 513 line 0 1;
+#X obj 329 456 line 0 50;
+#X text 646 371 audio on;
#X obj 120 206 tabplay~ table;
#X obj 120 236 dac~;
#X text 27 89 The impulse response data "earplug_data.txt" must be
@@ -50,34 +49,47 @@ in the same path as this external. Must use headphone to hear effective
filter effects. Fitler could be DSP intensive due to convolution.;
#X msg 164 181 stop;
#X text 11 237 original --->;
-#X obj 122 619 dac~ 1 2;
-#X text 24 590 filtered --->;
-#X msg 172 311 stop;
-#X msg 122 311 bang;
+#X obj 122 599 dac~ 1 2;
+#X text 24 570 filtered --->;
+#X msg 172 291 stop;
+#X msg 122 291 bang;
#X msg 117 181 bang;
-#X text 405 507 <---a better circle;
-#X text 404 451 <--- circle with noise;
-#X text 327 558 avoid zipper noise: uase small line grain;
-#X text 361 284 <--- azimuth: 0 - 360 (degrees);
-#X text 361 376 <--- elevation: -40 - 90 (degrees);
+#X text 405 487 <---a better circle;
+#X text 404 431 <--- circle with noise;
+#X text 327 538 avoid zipper noise: uase small line grain;
+#X text 361 264 <--- azimuth: 0 - 360 (degrees);
+#X text 361 356 <--- elevation: -40 - 90 (degrees);
#X text 115 162 start;
-#X text 120 292 start;
+#X text 120 272 start;
#X obj 532 103 openpanel;
#X obj 532 83 bng 15 250 50 0 empty empty empty 17 7 0 10 -204786 -1
-1;
#X text 553 82 <- open a soundfile;
-#X obj 218 295 noise~;
-#X obj 239 323 tgl 15 0 empty empty empty 17 7 0 10 -204786 -1 -1 0
+#X obj 218 275 noise~;
+#X obj 239 303 tgl 15 0 empty empty empty 17 7 0 10 -204786 -1 -1 0
1;
-#X text 226 273 for testing:;
-#X obj 218 343 *~ 0;
+#X text 226 253 for testing:;
+#X obj 218 323 *~ 0;
#X msg 532 124 read -resize \$1 table;
#X msg 541 163 read -resize ../../sound/voice.wav table;
-#X obj 330 267 hsl 128 15 0 360 0 0 empty empty empty -2 -8 0 10 -262130
--1 -1 12700 1;
-#X obj 331 359 hsl 128 15 -40 90 0 1 empty empty empty -2 -8 0 10 -262130
+#X obj 330 247 hsl 128 15 0 360 0 0 empty empty empty -2 -8 0 10 -262130
+-1 -1 0 1;
+#X obj 331 339 hsl 128 15 -40 90 0 1 empty empty empty -2 -8 0 10 -262130
-1 -1 11400 0;
#X obj 541 143 loadbang;
+#N canvas 306 231 494 344 META 0;
+#X text 12 185 HELP_PATCH_AUTHORS Jonathan Wilkes revised the patch
+to conform to the PDDP template for Pd version 0.42.;
+#X text 12 5 KEYWORDS signal filter;
+#X text 12 165 AUTHOR Pei Xiang;
+#X text 12 45 DESCRIPTION convolution binaural filter;
+#X text 12 25 LICENSE GPL v2;
+#X text 12 65 INLET_0 signal;
+#X text 12 85 INLET_1 float;
+#X text 12 105 INLET_2 float;
+#X text 12 125 OUTLET_0 signal;
+#X text 12 145 OUTLET_1 signal;
+#X restore 763 618 pd META;
#X connect 1 0 18 0;
#X connect 2 0 25 0;
#X connect 2 1 25 1;