aboutsummaryrefslogtreecommitdiff
path: root/pd/doc/3.audio.examples/H02.high-pass.pd
diff options
context:
space:
mode:
Diffstat (limited to 'pd/doc/3.audio.examples/H02.high-pass.pd')
-rw-r--r--pd/doc/3.audio.examples/H02.high-pass.pd59
1 files changed, 27 insertions, 32 deletions
diff --git a/pd/doc/3.audio.examples/H02.high-pass.pd b/pd/doc/3.audio.examples/H02.high-pass.pd
index 3342c64e..ddbca85c 100644
--- a/pd/doc/3.audio.examples/H02.high-pass.pd
+++ b/pd/doc/3.audio.examples/H02.high-pass.pd
@@ -1,11 +1,11 @@
-#N canvas 29 10 607 643 12;
-#X obj 38 563 output~;
-#X text 336 611 updated for Pd version 0.39;
-#X obj 126 544 metro 250;
-#X obj 126 524 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+#N canvas 29 10 595 573 12;
+#X obj 26 479 output~;
+#X text 324 527 updated for Pd version 0.39;
+#X obj 114 460 metro 250;
+#X obj 114 440 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
-#X text 144 521 graphing on/off;
-#N canvas 0 0 450 300 graph2 0;
+#X text 132 437 graphing on/off;
+#N canvas 0 0 450 300 (subpatch) 0;
#X array H02-graph 882 float 3;
#A 0 0.86084 0.876465 0.891113 0.904785 0.917725 0.929688 0.940918
0.950928 0.960205 0.968506 0.97583 0.982178 0.987793 0.992188 0.995605
@@ -125,8 +125,8 @@
-0.0324707 -0.0637207 -0.0949707 -0.125977 -0.157227 -0.187988 -0.21875
-0.249268 -0.279297 -0.309326 -0.339111 -0.368408;
#X coords 0 1 882 -1 200 140 1;
-#X restore 381 407 graph;
-#X text 405 549 --- 0.02 sec ---;
+#X restore 369 323 graph;
+#X text 393 465 --- 0.02 sec ---;
#X text 24 31 Many synthesis algorithms and transformations can have
outputs with a zero-freqency component (commonly called DC for "direct
current"). These are inaudible and sometimes cause distortion in audio
@@ -138,34 +138,29 @@ filter \, tuned to a low frequency such as 3 Hertz \, and to subtract
its output from the original. This difference is called a one-pole
\, one-zero high-pass filter \, and it is used so often that Pd provides
one in the "hip~" object.;
-#X obj 38 354 +~ 1;
-#X obj 37 491 hip~ 5;
-#X text 100 491 high-pass filter;
-#X floatatom 86 450 5 0 0 0 - - -;
-#X msg 86 380 0;
-#X text 122 329 sinusoidal test signal;
-#X text 83 354 add "DC";
-#X text 124 380 zero for no filtering;
-#X msg 86 403 3;
-#X text 121 404 3 (or so) to remove DC;
-#X text 126 427 higher freqencies affect;
-#X text 166 443 the audible part of;
-#X text 166 459 the signal as well.;
-#X obj 38 329 osc~ 220;
-#X msg 86 426 220;
-#X text 23 229 The simplest way to do this is to use a one-pole low-pass
-filter \, tuned to a low frequency such as 3 Hertz \, and to subtract
-its output from the original. This difference is computed by a one-pole
-\, one-zero high-pass filter. These are used so often that Pd provides
-one in the "hip~" object.;
+#X obj 26 270 +~ 1;
+#X obj 25 407 hip~ 5;
+#X text 88 407 high-pass filter;
+#X floatatom 74 366 5 0 0 0 - - -;
+#X msg 74 296 0;
+#X text 110 245 sinusoidal test signal;
+#X text 71 270 add "DC";
+#X text 112 296 zero for no filtering;
+#X msg 74 319 3;
+#X text 109 320 3 (or so) to remove DC;
+#X text 114 343 higher freqencies affect;
+#X text 154 359 the audible part of;
+#X text 154 375 the signal as well.;
+#X obj 26 245 osc~ 220;
+#X msg 74 342 220;
#X text 131 4 ONE-POLE \, ONE-ZERO HIGH-PASS FILTER;
-#X obj 126 569 tabwrite~ H02-graph;
-#X connect 2 0 26 0;
+#X obj 114 485 tabwrite~ H02-graph;
+#X connect 2 0 25 0;
#X connect 3 0 2 0;
#X connect 9 0 10 0;
#X connect 10 0 0 0;
#X connect 10 0 0 1;
-#X connect 10 0 26 0;
+#X connect 10 0 25 0;
#X connect 12 0 10 1;
#X connect 13 0 12 0;
#X connect 17 0 12 0;