diff options
author | Miller Puckette <millerpuckette@users.sourceforge.net> | 2006-09-08 23:45:31 +0000 |
---|---|---|
committer | Miller Puckette <millerpuckette@users.sourceforge.net> | 2006-09-08 23:45:31 +0000 |
commit | 026589c77ea733ae92c38b78fbd633bfbd0b8e94 (patch) | |
tree | cfee6b4dad7347415955e5fb8442ffbfca6256b6 /pd/doc/3.audio.examples | |
parent | 018a1061ed9e619398d7d26fa54c9876b3f26d31 (diff) |
Many bug fixes
svn path=/trunk/; revision=5906
Diffstat (limited to 'pd/doc/3.audio.examples')
-rw-r--r-- | pd/doc/3.audio.examples/E03.octave.divider.pd | 11 | ||||
-rw-r--r-- | pd/doc/3.audio.examples/H02.high-pass.pd | 59 |
2 files changed, 32 insertions, 38 deletions
diff --git a/pd/doc/3.audio.examples/E03.octave.divider.pd b/pd/doc/3.audio.examples/E03.octave.divider.pd index 251e4561..5fa88f46 100644 --- a/pd/doc/3.audio.examples/E03.octave.divider.pd +++ b/pd/doc/3.audio.examples/E03.octave.divider.pd @@ -1,4 +1,4 @@ -#N canvas 159 17 793 665 12; +#N canvas 51 52 793 665 12; #X obj 477 135 loadbang; #X obj 31 289 hip~ 5; #X obj 477 53 adc~ 1; @@ -17,7 +17,7 @@ #X msg 194 125 0.5; #X floatatom 194 154 3 0 0 0 - - -; #X msg 232 125 15; -#N canvas 0 0 446 202 /SUBPATCH/ 0; +#N canvas 0 0 446 202 (subpatch) 0; #X obj 261 30 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 ; #X obj 100 20 inlet~; @@ -29,7 +29,7 @@ #X connect 2 0 3 0; #X coords 0 0 100 100 40 18 1; #X restore 78 248 pd; -#N canvas 0 0 446 202 /SUBPATCH/ 0; +#N canvas 0 0 446 202 (subpatch) 0; #X obj 261 30 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 ; #X obj 100 20 inlet~; @@ -44,7 +44,7 @@ #X obj 78 222 *~ 2; #X obj 194 100 loadbang; #N canvas 414 195 613 302 looper 0; -#N canvas 0 0 450 300 graph1 0; +#N canvas 0 0 450 300 (subpatch) 0; #X array E03-table 44103 float 0; #X coords 0 1.02 44103 -1.02 200 130 1; #X restore 349 22 graph; @@ -132,10 +132,9 @@ intact but introduce funny formants.); #X connect 19 0 1 0; #X connect 20 0 18 0; #X connect 21 0 15 0; -#X connect 22 0 8 0; #X connect 22 0 25 0; +#X connect 22 0 8 0; #X connect 24 0 6 0; #X connect 25 0 19 0; #X connect 25 0 12 0; #X connect 34 0 3 0; -#X connect 35 0 25 0; 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; |