diff options
author | Guenter Geiger <ggeiger@users.sourceforge.net> | 2004-02-02 12:18:59 +0000 |
---|---|---|
committer | Guenter Geiger <ggeiger@users.sourceforge.net> | 2004-02-02 12:18:59 +0000 |
commit | 2e416ee0095f1bf608f849f156d564e0f45fb8ab (patch) | |
tree | 9e4881e81953b434b91dbd35218d78f05b27e82e /pd/doc/3.audio.examples | |
parent | ae6b5d89ea93b95c2990895077cf5e8f0bba9ad9 (diff) |
merged in version_0_37_1test6
svn path=/trunk/; revision=1305
Diffstat (limited to 'pd/doc/3.audio.examples')
-rw-r--r-- | pd/doc/3.audio.examples/D11.sampler.poly.pd | 120 | ||||
-rw-r--r-- | pd/doc/3.audio.examples/D12.sampler.bis.pd | 40 | ||||
-rw-r--r-- | pd/doc/3.audio.examples/E03.octave.divider.pd | 12 | ||||
-rw-r--r-- | pd/doc/3.audio.examples/G01.delays.pd | 225 | ||||
-rw-r--r-- | pd/doc/3.audio.examples/G04.delay.pitchshift.pd | 226 | ||||
-rw-r--r-- | pd/doc/3.audio.examples/G05.delay.reverb.pd | 316 | ||||
-rw-r--r-- | pd/doc/3.audio.examples/J07.execution.order.pd | 127 | ||||
-rw-r--r-- | pd/doc/3.audio.examples/J08.control.blocksize.pd | 111 | ||||
-rw-r--r-- | pd/doc/3.audio.examples/reverb-echo.pd | 12 | ||||
-rw-r--r-- | pd/doc/3.audio.examples/sampvoice.pd | 112 |
10 files changed, 153 insertions, 1148 deletions
diff --git a/pd/doc/3.audio.examples/D11.sampler.poly.pd b/pd/doc/3.audio.examples/D11.sampler.poly.pd index 60aa7377..a0863964 100644 --- a/pd/doc/3.audio.examples/D11.sampler.poly.pd +++ b/pd/doc/3.audio.examples/D11.sampler.poly.pd @@ -1,4 +1,4 @@ -#N canvas 66 253 1119 674 12; +#N canvas 91 72 1119 674 12; #N canvas 0 0 600 392 samples 0; #N canvas 0 0 450 300 graph1 0; #X array sample1 176403 float 0; @@ -20,7 +20,6 @@ #X obj 302 169 del 3990; #X msg 279 204 0 10; #X obj 174 282 tabwrite~ sample1; -#X obj 26 88 makefilename sample%1; #X msg 26 117 set \$1 \, bang; #X msg 348 140 stop; #X msg 302 140 bang; @@ -35,7 +34,8 @@ sample2; #X msg 514 140 read \$1 sample1; #X obj 514 167 soundfiler; -#X connect 0 0 13 0; +#X obj 26 88 makefilename sample%d; +#X connect 0 0 12 0; #X connect 1 0 2 0; #X connect 2 0 4 0; #X connect 3 0 4 1; @@ -43,22 +43,22 @@ sample2; #X connect 5 0 3 0; #X connect 6 0 7 0; #X connect 7 0 3 0; -#X connect 9 0 10 0; -#X connect 10 0 8 0; +#X connect 9 0 8 0; +#X connect 10 0 6 0; #X connect 11 0 6 0; -#X connect 12 0 6 0; -#X connect 13 0 9 0; -#X connect 13 0 12 0; -#X connect 13 0 5 0; -#X connect 13 1 7 0; -#X connect 13 1 11 0; -#X connect 13 2 20 0; -#X connect 13 3 16 0; +#X connect 12 0 11 0; +#X connect 12 0 5 0; +#X connect 12 0 22 0; +#X connect 12 1 7 0; +#X connect 12 1 10 0; +#X connect 12 2 19 0; +#X connect 12 3 15 0; +#X connect 13 0 19 0; #X connect 14 0 20 0; -#X connect 15 0 21 0; -#X connect 16 0 15 0; -#X connect 20 0 19 0; -#X connect 21 0 22 0; +#X connect 15 0 14 0; +#X connect 19 0 18 0; +#X connect 20 0 21 0; +#X connect 22 0 9 0; #X restore 931 284 pd recorder; #X msg 931 146 record 1; #X msg 931 202 stop; @@ -74,13 +74,6 @@ sample2; #X msg 931 229 reload; #X msg 931 257 browse; #X text 47 10 POLYPHONIC SAMPLER; -#X obj 547 522 sampvoice; -#X obj 547 494 sampvoice; -#X obj 547 467 sampvoice; -#X obj 547 439 sampvoice; -#X obj 547 412 sampvoice; -#X obj 547 384 sampvoice; -#X obj 547 356 sampvoice; #X obj 547 329 sampvoice; #X obj 631 17 r note; #X obj 631 44 unpack 0 0 0 0 0 0 0; @@ -129,47 +122,54 @@ voice number we just scored.; #X text 276 127 (acts like a MIDI pitch to; #X text 277 146 identify the note to "poly"); #X text 258 175 supply delayed note-off message; +#X obj 547 522 sampvoice; +#X obj 547 494 sampvoice; +#X obj 547 467 sampvoice; +#X obj 547 439 sampvoice; +#X obj 547 412 sampvoice; +#X obj 547 384 sampvoice; +#X obj 547 356 sampvoice; #X connect 2 0 1 0; #X connect 3 0 1 0; #X connect 4 0 1 0; #X connect 13 0 1 0; #X connect 14 0 1 0; -#X connect 16 0 48 0; -#X connect 16 0 48 1; -#X connect 17 0 16 0; -#X connect 18 0 17 0; -#X connect 19 0 18 0; -#X connect 20 0 19 0; -#X connect 21 0 20 0; -#X connect 22 0 21 0; -#X connect 23 0 22 0; +#X connect 16 0 52 0; +#X connect 17 0 18 0; +#X connect 18 0 19 0; +#X connect 18 1 26 2; +#X connect 18 2 23 2; +#X connect 18 2 26 3; +#X connect 18 3 26 4; +#X connect 18 4 26 5; +#X connect 18 5 26 6; +#X connect 18 6 26 7; +#X connect 19 0 20 0; +#X connect 19 1 26 1; +#X connect 20 0 21 0; +#X connect 20 0 23 0; +#X connect 21 0 22 0; +#X connect 22 0 20 1; +#X connect 23 0 24 0; +#X connect 23 1 24 1; #X connect 24 0 25 0; +#X connect 24 2 25 1; #X connect 25 0 26 0; -#X connect 25 1 33 2; -#X connect 25 2 30 2; -#X connect 25 2 33 3; -#X connect 25 3 33 4; -#X connect 25 4 33 5; -#X connect 25 5 33 6; -#X connect 25 6 33 7; #X connect 26 0 27 0; -#X connect 26 1 33 1; -#X connect 27 0 28 0; -#X connect 27 0 30 0; -#X connect 28 0 29 0; -#X connect 29 0 27 1; -#X connect 30 0 31 0; -#X connect 30 1 31 1; -#X connect 31 0 32 0; -#X connect 31 2 32 1; -#X connect 32 0 33 0; -#X connect 33 0 34 0; -#X connect 34 0 23 1; -#X connect 34 1 22 1; -#X connect 34 2 21 1; -#X connect 34 3 20 1; -#X connect 34 4 19 1; -#X connect 34 5 18 1; -#X connect 34 6 17 1; -#X connect 34 7 16 1; -#X connect 47 0 38 0; +#X connect 27 0 16 1; +#X connect 27 1 52 1; +#X connect 27 2 51 1; +#X connect 27 3 50 1; +#X connect 27 4 49 1; +#X connect 27 5 48 1; +#X connect 27 6 47 1; +#X connect 27 7 46 1; +#X connect 40 0 31 0; +#X connect 46 0 41 0; +#X connect 46 0 41 1; +#X connect 47 0 46 0; +#X connect 48 0 47 0; +#X connect 49 0 48 0; +#X connect 50 0 49 0; +#X connect 51 0 50 0; +#X connect 52 0 51 0; diff --git a/pd/doc/3.audio.examples/D12.sampler.bis.pd b/pd/doc/3.audio.examples/D12.sampler.bis.pd index cad81484..f0fa13fd 100644 --- a/pd/doc/3.audio.examples/D12.sampler.bis.pd +++ b/pd/doc/3.audio.examples/D12.sampler.bis.pd @@ -19,7 +19,6 @@ #X obj 302 299 del 3990; #X msg 279 334 0 10; #X obj 174 412 tabwrite~ sample1; -#X obj 26 218 makefilename sample%1; #X msg 26 247 set \$1 \, bang; #X msg 348 270 stop; #X msg 302 270 bang; @@ -40,6 +39,7 @@ sample2; #X msg 220 124 reload; #X msg 220 152 browse; #X text 218 19 record \, etc.; +#X obj 26 218 makefilename sample%d; #X connect 0 0 1 0; #X connect 1 0 3 0; #X connect 2 0 3 1; @@ -47,27 +47,27 @@ sample2; #X connect 4 0 2 0; #X connect 5 0 6 0; #X connect 6 0 2 0; -#X connect 8 0 9 0; -#X connect 9 0 7 0; +#X connect 8 0 7 0; +#X connect 9 0 5 0; #X connect 10 0 5 0; -#X connect 11 0 5 0; -#X connect 12 0 8 0; -#X connect 12 0 11 0; -#X connect 12 0 4 0; -#X connect 12 1 6 0; -#X connect 12 1 10 0; -#X connect 12 2 19 0; -#X connect 12 3 15 0; +#X connect 11 0 10 0; +#X connect 11 0 4 0; +#X connect 11 0 27 0; +#X connect 11 1 6 0; +#X connect 11 1 9 0; +#X connect 11 2 18 0; +#X connect 11 3 14 0; +#X connect 12 0 18 0; #X connect 13 0 19 0; -#X connect 14 0 20 0; -#X connect 15 0 14 0; -#X connect 19 0 18 0; -#X connect 20 0 21 0; -#X connect 22 0 12 0; -#X connect 23 0 12 0; -#X connect 24 0 12 0; -#X connect 25 0 12 0; -#X connect 26 0 12 0; +#X connect 14 0 13 0; +#X connect 18 0 17 0; +#X connect 19 0 20 0; +#X connect 21 0 11 0; +#X connect 22 0 11 0; +#X connect 23 0 11 0; +#X connect 24 0 11 0; +#X connect 25 0 11 0; +#X connect 27 0 8 0; #X restore 785 586 pd recorder; #X text 782 458 sample number; #X obj 619 96 unpack 0 0 0 0 0 0 0; diff --git a/pd/doc/3.audio.examples/E03.octave.divider.pd b/pd/doc/3.audio.examples/E03.octave.divider.pd index a0f77844..251e4561 100644 --- a/pd/doc/3.audio.examples/E03.octave.divider.pd +++ b/pd/doc/3.audio.examples/E03.octave.divider.pd @@ -1,9 +1,9 @@ -#N canvas 129 17 793 665 12; +#N canvas 159 17 793 665 12; #X obj 477 135 loadbang; -#X obj 32 286 hip~ 5; +#X obj 31 289 hip~ 5; #X obj 477 53 adc~ 1; #X obj 477 190 soundfiler; -#X obj 32 313 output~; +#X obj 32 322 output~; #X text 544 646 updated for Pd version 0.37; #X obj 478 100 tabwrite~ E03-table; #X msg 477 162 read ../sound/voice.wav E03-table; @@ -60,7 +60,7 @@ with an adc~ if you want to go live.; #X connect 3 0 4 0; #X connect 4 0 2 0; #X connect 5 0 6 0; -#X restore 31 30 pd looper; +#X restore 118 18 pd looper; #X text 561 141 re-read original sample; #X obj 489 77 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; @@ -111,6 +111,8 @@ we'd rather stick with the most recent good one). This is converted from MIDI to Hertz \, and multiplied by 1/2 to control the modulation oscillator. (You can also try large-ish integers which leave the pitch intact but introduce funny formants.); +#X msg 406 237 read ../../saucisse.wav E03-table; +#X obj 25 16 adc~ 1; #X connect 0 0 7 0; #X connect 1 0 4 0; #X connect 1 0 4 1; @@ -135,3 +137,5 @@ intact but introduce funny formants.); #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/G01.delays.pd b/pd/doc/3.audio.examples/G01.delays.pd deleted file mode 100644 index 5c4f20de..00000000 --- a/pd/doc/3.audio.examples/G01.delays.pd +++ /dev/null @@ -1,225 +0,0 @@ -#N canvas 22 1 729 584 12; -#X floatatom 62 506 0 0 0; -#N canvas 159 26 495 266 output 0; -#X obj 338 160 t b; -#X obj 338 110 f; -#X obj 338 60 inlet; -#X text 344 29 mute; -#X obj 338 185 f; -#X msg 425 178 0; -#X msg 338 85 bang; -#X obj 338 135 moses 1; -#X obj 425 153 t b f; -#X obj 397 117 moses 1; -#X obj 83 148 dbtorms; -#X obj 397 92 r master-lvl; -#X obj 83 42 r master-lvl; -#X obj 338 210 s master-lvl; -#X obj 22 181 inlet~; -#X obj 199 41 inlet; -#X text 199 18 level; -#X obj 199 100 s master-lvl; -#X msg 96 65 set \$1; -#X obj 96 89 outlet; -#X msg 214 64 \; pd dsp 1; -#X obj 83 194 line~; -#X obj 22 212 *~; -#X obj 22 241 dac~; -#X obj 83 171 pack 0 50; -#X text 20 158 audio; -#X text 93 110 show level; -#X connect 0 0 4 0; -#X connect 1 0 7 0; -#X connect 2 0 6 0; -#X connect 4 0 13 0; -#X connect 5 0 13 0; -#X connect 6 0 1 0; -#X connect 7 0 0 0; -#X connect 7 1 8 0; -#X connect 8 0 5 0; -#X connect 9 1 4 1; -#X connect 10 0 24 0; -#X connect 11 0 1 1; -#X connect 11 0 9 0; -#X connect 12 0 10 0; -#X connect 12 0 18 0; -#X connect 14 0 22 0; -#X connect 15 0 17 0; -#X connect 15 0 20 0; -#X connect 18 0 19 0; -#X connect 21 0 22 1; -#X connect 22 0 23 0; -#X connect 22 0 23 1; -#X connect 24 0 21 0; -#X restore 33 534 pd output; -#X msg 91 506 MUTE; -#X text 130 505 <-- output amplitude; -#X obj 33 482 hip~ 5; -#X text 92 12 DELAYS; -#X obj 33 341 -~; -#X obj 30 241 tabread4~ mtof; -#X obj 33 317 *~ 3; -#X obj 69 318 *~ 2; -#X obj 49 266 phasor~; -#X floatatom 81 215 0 0 0; -#X obj 33 293 clip~ 0 0.667; -#X obj 30 190 line~; -#X obj 30 165 pack 0 1000; -#X obj 28 64 metro 1000; -#X obj 28 88 random 200; -#X obj 29 114 - 100; -#X obj 30 141 * 0.001; -#X obj 33 453 +~; -#X obj 44 374 delwrite~ delay1 2000; -#X floatatom 49 401 0 0 0; -#X obj 49 426 delread~ delay1 1000; -#X obj 27 41 loadbang; -#X text 210 37 You can delay a signal using the delwrite~ and delread~ -objects. In this example \, the pitch of the oscillator is varying -slightly so that the delayed signal is different from the straight -signal.; -#X text 212 99 delread always delays the signal an integer number of -samples and does no interpolation.; -#X text 211 137 The delwrite~ object creates the delay line \; you -give it a name and a size in milliseconds. Each delwrite~ should have -a different name.; -#X text 209 184 Delread~'s arguments are the name of a delwrite (of -which there should be exactly one) and a delay time in milliseconds -between 0 and the length of the delay line. Each delwrite~ may have -as many delread~s as you wish \, which function as multiple delay taps. -; -#X obj 30 215 +~ 60; -#X text 112 215 <-- pitch; -#X text 83 401 <-- delay time; -#X text 60 341 asymmetric triangle wave; -#X text 236 372 write to delay line; -#X text 232 425 read from delay line; -#X text 59 454 add the original and the delayed signal; -#N canvas 0 0 600 392 conversion-tables 0; -#N canvas 0 0 450 300 graph1 0; -#X array dbtorms 123 float 1; -#A 0 0 0 1.25893e-05 1.41254e-05 1.58489e-05 1.77828e-05 1.99526e-05 -2.23872e-05 2.51189e-05 2.81838e-05 3.16228e-05 3.54813e-05 3.98107e-05 -4.46684e-05 5.01187e-05 5.62341e-05 6.30957e-05 7.07946e-05 7.94328e-05 -8.91251e-05 1e-04 0.000112202 0.000125893 0.000141254 0.000158489 0.000177828 -0.000199526 0.000223872 0.000251189 0.000281838 0.000316228 0.000354813 -0.000398107 0.000446684 0.000501187 0.000562341 0.000630957 0.000707946 -0.000794328 0.000891251 0.001 0.00112202 0.00125893 0.00141254 0.00158489 -0.00177828 0.00199526 0.00223872 0.00251189 0.00281838 0.00316228 0.00354813 -0.00398107 0.00446684 0.00501187 0.00562341 0.00630957 0.00707946 0.00794328 -0.00891251 0.01 0.0112202 0.0125893 0.0141254 0.0158489 0.0177828 0.0199526 -0.0223872 0.0251189 0.0281838 0.0316228 0.0354813 0.0398107 0.0446684 -0.0501187 0.0562341 0.0630957 0.0707946 0.0794328 0.0891251 0.1 0.112202 -0.125893 0.141254 0.158489 0.177828 0.199526 0.223872 0.251189 0.281838 -0.316228 0.354813 0.398107 0.446684 0.501187 0.562341 0.630957 0.707946 -0.794328 0.891251 1 1.12202 1.25893 1.41254 1.58489 1.77828 1.99526 -2.23872 2.51189 2.81838 3.16228 3.54813 3.98107 4.46684 5.01187 5.62341 -6.30957 7.07946 7.94328 8.91251 10 11.2202 12.5893; -#X coords 0 10 123 0 200 100 1; -#X restore 70 45 graph; -#X text 272 138 0; -#X text 274 38 10; -#X text 89 148 ------ 123 samples ------; -#N canvas 0 0 450 300 graph2 0; -#X array mtof 130 float 1; -#A 0 8.1758 8.66196 9.17702 9.72272 10.3009 10.9134 11.5623 12.2499 -12.9783 13.75 14.5676 15.4339 16.3516 17.3239 18.354 19.4454 20.6017 -21.8268 23.1247 24.4997 25.9565 27.5 29.1352 30.8677 32.7032 34.6478 -36.7081 38.8909 41.2034 43.6535 46.2493 48.9994 51.9131 55 58.2705 -61.7354 65.4064 69.2957 73.4162 77.7817 82.4069 87.3071 92.4986 97.9989 -103.826 110 116.541 123.471 130.813 138.591 146.832 155.563 164.814 -174.614 184.997 195.998 207.652 220 233.082 246.942 261.626 277.183 -293.665 311.127 329.628 349.228 369.994 391.995 415.305 440 466.164 -493.883 523.251 554.365 587.33 622.254 659.255 698.456 739.989 783.991 -830.609 880 932.328 987.767 1046.5 1108.73 1174.66 1244.51 1318.51 -1396.91 1479.98 1567.98 1661.22 1760 1864.66 1975.53 2093 2217.46 2349.32 -2489.02 2637.02 2793.83 2959.96 3135.96 3322.44 3520 3729.31 3951.07 -4186.01 4434.92 4698.64 4978.03 5274.04 5587.65 5919.91 6271.93 6644.88 -7040 7458.62 7902.13 8372.02 8869.84 9397.27 9956.06 10548.1 11175.3 -11839.8 12543.9 13289.8 14080; -#X coords 0 12000 130 0 200 100 1; -#X restore 77 222 graph; -#X text 87 330 ------ 130 samples ------; -#X text 286 315 0; -#X text 288 215 12000; -#N canvas 244 212 672 338 regenerate-tables 0; -#X msg 415 84 bang; -#X obj 415 113 t b b; -#X obj 474 177 f; -#X obj 512 177 + 1; -#X msg 483 147 0; -#X obj 415 142 until; -#X obj 474 211 t f f; -#X obj 414 238 mtof; -#X obj 405 202 sel 129; -#X obj 413 264 tabwrite mtof; -#X obj 35 227 moses 2; -#X msg 19 76 bang; -#X obj 19 105 t b b; -#X obj 90 166 f; -#X obj 128 166 + 1; -#X msg 112 138 0; -#X obj 19 134 until; -#X obj 11 194 sel 122; -#X msg 35 258 0; -#X obj 79 259 dbtorms; -#X obj 90 194 t f f; -#X obj 35 291 tabwrite dbtorms; -#X text 18 49 bang to recalculate dbtorms table; -#X text 356 50 bang to recalculate the mtof table; -#X connect 0 0 1 0; -#X connect 1 0 5 0; -#X connect 1 1 4 0; -#X connect 2 0 3 0; -#X connect 2 0 6 0; -#X connect 2 0 8 0; -#X connect 3 0 2 1; -#X connect 4 0 2 1; -#X connect 5 0 2 0; -#X connect 6 0 7 0; -#X connect 6 1 9 1; -#X connect 7 0 9 0; -#X connect 8 0 5 1; -#X connect 10 0 18 0; -#X connect 10 1 19 0; -#X connect 11 0 12 0; -#X connect 12 0 16 0; -#X connect 12 1 15 0; -#X connect 13 0 14 0; -#X connect 13 0 17 0; -#X connect 13 0 20 0; -#X connect 14 0 13 1; -#X connect 15 0 13 1; -#X connect 16 0 13 0; -#X connect 17 0 16 1; -#X connect 18 0 21 0; -#X connect 19 0 21 0; -#X connect 20 0 10 0; -#X connect 20 1 21 1; -#X restore 375 76 pd regenerate-tables; -#X restore 449 418 pd conversion-tables; -#X text 427 536 updated for Pd version 0.35; -#X connect 0 0 1 1; -#X connect 1 0 0 0; -#X connect 2 0 1 2; -#X connect 4 0 1 0; -#X connect 6 0 19 0; -#X connect 6 0 20 0; -#X connect 7 0 10 0; -#X connect 8 0 6 0; -#X connect 9 0 6 1; -#X connect 10 0 9 0; -#X connect 10 0 12 0; -#X connect 11 0 28 1; -#X connect 12 0 8 0; -#X connect 13 0 28 0; -#X connect 14 0 13 0; -#X connect 15 0 16 0; -#X connect 16 0 17 0; -#X connect 17 0 18 0; -#X connect 18 0 14 0; -#X connect 19 0 4 0; -#X connect 21 0 22 0; -#X connect 22 0 19 1; -#X connect 23 0 15 0; -#X connect 28 0 7 0; diff --git a/pd/doc/3.audio.examples/G04.delay.pitchshift.pd b/pd/doc/3.audio.examples/G04.delay.pitchshift.pd deleted file mode 100644 index feb56e2f..00000000 --- a/pd/doc/3.audio.examples/G04.delay.pitchshift.pd +++ /dev/null @@ -1,226 +0,0 @@ -#N canvas 93 36 1005 580 12; -#X obj 19 493 hip~ 5; -#X floatatom 19 87 0 0 0; -#X obj 84 359 *~; -#X obj 192 290 line~; -#X floatatom 265 114 0 0 0; -#X text 68 9 PITCH SHIFTER; -#X obj 192 264 pack 0 200; -#X obj 266 141 moses 1; -#X msg 227 141 1; -#X obj 266 88 r window; -#X obj 19 61 r transpose; -#X obj 19 143 exp; -#X floatatom 19 169 0 0 0; -#X obj 19 259 /; -#X obj 146 189 * 0.001; -#X obj 314 366 line~; -#X obj 315 338 pack 0 200; -#X floatatom 315 258 0 0 0; -#X text 314 202 delay (msec); -#X obj 315 232 r delay; -#X obj 84 385 +~; -#X msg 315 311 1; -#X obj 315 285 moses 1.5; -#X obj 84 411 vd~ delay1; -#X obj 19 410 cos~; -#X obj 19 437 *~; -#X obj 19 466 +~; -#X obj 106 317 wrap~; -#X obj 251 360 *~; -#X obj 251 393 +~; -#X obj 251 422 vd~ delay1; -#X obj 188 420 cos~; -#X obj 188 447 *~; -#X msg 492 56 \; transpose 0 \; window 100 \; delay 0; -#X obj 492 30 loadbang; -#X obj 264 42 delwrite~ delay1 5000; -#X obj 146 216 t b f; -#X floatatom 19 285 0 0 0; -#X obj 19 312 phasor~ 0; -#X floatatom 51 526 0 0 0; -#N canvas 159 26 495 266 output 0; -#X obj 372 176 t b; -#X obj 372 121 f; -#X obj 372 66 inlet; -#X text 378 32 mute; -#X obj 372 204 f; -#X msg 468 196 0; -#X msg 372 94 bang; -#X obj 372 149 moses 1; -#X obj 468 168 t b f; -#X obj 437 129 moses 1; -#X obj 91 163 dbtorms; -#X obj 437 101 r master-lvl; -#X obj 91 46 r master-lvl; -#X obj 372 231 s master-lvl; -#X obj 24 199 inlet~; -#X obj 219 45 inlet; -#X text 219 20 level; -#X obj 219 110 s master-lvl; -#X msg 106 72 set \$1; -#X obj 106 98 outlet; -#X msg 235 70 \; pd dsp 1; -#X obj 91 213 line~; -#X obj 24 233 *~; -#X obj 24 265 dac~; -#X obj 91 188 pack 0 50; -#X text 22 174 audio; -#X text 102 121 show level; -#X connect 0 0 4 0; -#X connect 1 0 7 0; -#X connect 2 0 6 0; -#X connect 4 0 13 0; -#X connect 5 0 13 0; -#X connect 6 0 1 0; -#X connect 7 0 0 0; -#X connect 7 1 8 0; -#X connect 8 0 5 0; -#X connect 9 1 4 1; -#X connect 10 0 24 0; -#X connect 11 0 1 1; -#X connect 11 0 9 0; -#X connect 12 0 10 0; -#X connect 12 0 18 0; -#X connect 14 0 22 0; -#X connect 15 0 17 0; -#X connect 15 0 20 0; -#X connect 18 0 19 0; -#X connect 21 0 22 1; -#X connect 22 0 23 0; -#X connect 22 0 23 1; -#X connect 24 0 21 0; -#X restore 19 557 pd output; -#X msg 83 526 MUTE; -#X text 125 525 <-- output amplitude; -#X obj 106 290 +~ 0.5; -#X obj 19 358 -~ 0.5; -#X obj 19 384 *~ 0.5; -#X obj 188 359 -~ 0.5; -#X obj 188 392 *~ 0.5; -#X floatatom 227 167 0 0 0; -#X obj 19 196 - 1; -#X obj 19 117 * 0.05776; -#X obj 19 222 * -1; -#X text 53 86 <-- transposition; -#X text 96 99 (halftones); -#X text 86 177 speed; -#X text 85 191 change; -#X text 310 113 <--window (msec); -#X text 54 252 tape head; -#X text 55 265 rotation speed; -#N canvas 0 0 612 637 test-input 0; -#X graph graph1 0 -1 155947 1 150 291 350 141; -#X array array1 155948 float 0; -#X pop; -#X obj 139 518 tabread4~ array1; -#X obj 139 333 r totsamps; -#X obj 139 413 /; -#X obj 139 465 *~ 0; -#X obj 139 439 phasor~ 0; -#X obj 139 492 +~ 1; -#X msg 139 386 44100; -#X obj 139 360 t b f; -#X obj 182 469 r totsamps; -#X text 153 538 sample loop for; -#X text 153 555 test signal; -#X obj 162 30 loadbang; -#X obj 139 590 outlet~; -#X obj 393 169 r readfile; -#X obj 393 199 symbol; -#X msg 392 228 read -resize \$1 array1; -#X obj 392 256 soundfiler; -#X obj 392 284 s totsamps; -#X msg 161 64 \; readfile ../sound/bell.aiff; -#X connect 1 0 13 0; -#X connect 2 0 8 0; -#X connect 3 0 5 0; -#X connect 4 0 6 0; -#X connect 5 0 4 0; -#X connect 6 0 1 0; -#X connect 7 0 3 0; -#X connect 8 0 7 0; -#X connect 8 1 3 1; -#X connect 9 0 4 1; -#X connect 12 0 19 0; -#X connect 14 0 15 0; -#X connect 15 0 16 0; -#X connect 16 0 17 0; -#X connect 17 0 18 0; -#X restore 264 11 pd test-input; -#X text 439 161 This is a classic rotating-tape-head style pitch shifter -using the vd~ variable delay object. Ther are two moving tape heads -\, each of which is loudest at the middle of its trajectory \, and -enveloped out at the moment it has to jump back (or forward) to start -another scratch. Most of the brain work is in computing how fast the -tape heads have to move to get the desired transposition.; -#X text 439 280 The "window size" is the total trajectory of the read -points in the delay line \, in milliseconds. The delay times are controlled -by a phasor~ object. The second delay time \, 180 degrees out of phase -from the first one \, is computed using the "wrap" object.; -#X text 437 370 The "window size" is the total trajectory of the read -points in the delay line \, in milliseconds. The delay times are controlled -by a phasor~ object. The second delay time \, 180 degrees out of phase -from the first one \, is computed using the "wrap" object.; -#X text 436 462 The cos~ objects compute the fadein and fadeout of -the two delay line outputs. They each traverse the positive half of -the cosine waveform (phase -0.25 to +0.25) over the time the phase -goes from one end to the other.; -#X text 757 557 updated for Pd version 0.33; -#X connect 0 0 40 0; -#X connect 1 0 50 0; -#X connect 2 0 20 0; -#X connect 3 0 2 1; -#X connect 3 0 28 1; -#X connect 4 0 7 0; -#X connect 6 0 3 0; -#X connect 7 0 8 0; -#X connect 7 1 48 0; -#X connect 8 0 48 0; -#X connect 9 0 4 0; -#X connect 10 0 1 0; -#X connect 11 0 12 0; -#X connect 12 0 49 0; -#X connect 13 0 37 0; -#X connect 14 0 36 0; -#X connect 15 0 20 1; -#X connect 15 0 29 1; -#X connect 16 0 15 0; -#X connect 17 0 22 0; -#X connect 19 0 17 0; -#X connect 20 0 23 0; -#X connect 21 0 16 0; -#X connect 22 0 21 0; -#X connect 22 1 16 0; -#X connect 23 0 25 1; -#X connect 24 0 25 0; -#X connect 25 0 26 0; -#X connect 26 0 0 0; -#X connect 27 0 28 0; -#X connect 27 0 46 0; -#X connect 28 0 29 0; -#X connect 29 0 30 0; -#X connect 30 0 32 1; -#X connect 31 0 32 0; -#X connect 32 0 26 1; -#X connect 34 0 33 0; -#X connect 36 0 13 0; -#X connect 36 1 13 1; -#X connect 37 0 38 0; -#X connect 38 0 2 0; -#X connect 38 0 44 0; -#X connect 38 0 43 0; -#X connect 39 0 40 1; -#X connect 40 0 39 0; -#X connect 41 0 40 2; -#X connect 43 0 27 0; -#X connect 44 0 45 0; -#X connect 45 0 24 0; -#X connect 46 0 47 0; -#X connect 47 0 31 0; -#X connect 48 0 6 0; -#X connect 48 0 14 0; -#X connect 49 0 51 0; -#X connect 50 0 11 0; -#X connect 51 0 13 0; -#X connect 59 0 35 0; diff --git a/pd/doc/3.audio.examples/G05.delay.reverb.pd b/pd/doc/3.audio.examples/G05.delay.reverb.pd deleted file mode 100644 index 0f5827f9..00000000 --- a/pd/doc/3.audio.examples/G05.delay.reverb.pd +++ /dev/null @@ -1,316 +0,0 @@ -#N canvas 127 171 643 406 12; -#N canvas 0 0 499 321 test-input 0; -#X obj 75 253 outlet~; -#X obj 74 201 -~; -#X obj 74 177 *~ 3; -#X obj 111 183 *~ 2; -#X floatatom 74 81 0 0 0 0 - - -; -#X obj 74 153 clip~ 0 0.667; -#X text 124 80 <-- pitch; -#X obj 74 105 mtof; -#X msg 195 142 1; -#X obj 74 225 *~; -#X obj 74 129 phasor~ 0; -#X obj 195 190 tabread4~ dbtorms; -#X obj 195 166 adsr 100 100 2000 0 2000; -#X obj 73 54 inlet; -#N canvas 0 0 600 392 conversion-tables 0; -#N canvas 0 0 450 300 graph1 0; -#X array dbtorms 123 float 1; -#A 0 0 0 1.25893e-05 1.41254e-05 1.58489e-05 1.77828e-05 1.99526e-05 -2.23872e-05 2.51189e-05 2.81838e-05 3.16228e-05 3.54813e-05 3.98107e-05 -4.46684e-05 5.01187e-05 5.62341e-05 6.30957e-05 7.07946e-05 7.94328e-05 -8.91251e-05 1e-04 0.000112202 0.000125893 0.000141254 0.000158489 0.000177828 -0.000199526 0.000223872 0.000251189 0.000281838 0.000316228 0.000354813 -0.000398107 0.000446684 0.000501187 0.000562341 0.000630957 0.000707946 -0.000794328 0.000891251 0.001 0.00112202 0.00125893 0.00141254 0.00158489 -0.00177828 0.00199526 0.00223872 0.00251189 0.00281838 0.00316228 0.00354813 -0.00398107 0.00446684 0.00501187 0.00562341 0.00630957 0.00707946 0.00794328 -0.00891251 0.01 0.0112202 0.0125893 0.0141254 0.0158489 0.0177828 0.0199526 -0.0223872 0.0251189 0.0281838 0.0316228 0.0354813 0.0398107 0.0446684 -0.0501187 0.0562341 0.0630957 0.0707946 0.0794328 0.0891251 0.1 0.112202 -0.125893 0.141254 0.158489 0.177828 0.199526 0.223872 0.251189 0.281838 -0.316228 0.354813 0.398107 0.446684 0.501187 0.562341 0.630957 0.707946 -0.794328 0.891251 1 1.12202 1.25893 1.41254 1.58489 1.77828 1.99526 -2.23872 2.51189 2.81838 3.16228 3.54813 3.98107 4.46684 5.01187 5.62341 -6.30957 7.07946 7.94328 8.91251 10 11.2202 12.5893; -#X coords 0 10 123 0 200 100 1; -#X restore 70 45 graph; -#X text 272 138 0; -#X text 274 38 10; -#X text 89 148 ------ 123 samples ------; -#N canvas 0 0 450 300 graph2 0; -#X array mtof 130 float 1; -#A 0 8.1758 8.66196 9.17702 9.72272 10.3009 10.9134 11.5623 12.2499 -12.9783 13.75 14.5676 15.4339 16.3516 17.3239 18.354 19.4454 20.6017 -21.8268 23.1247 24.4997 25.9565 27.5 29.1352 30.8677 32.7032 34.6478 -36.7081 38.8909 41.2034 43.6535 46.2493 48.9994 51.9131 55 58.2705 -61.7354 65.4064 69.2957 73.4162 77.7817 82.4069 87.3071 92.4986 97.9989 -103.826 110 116.541 123.471 130.813 138.591 146.832 155.563 164.814 -174.614 184.997 195.998 207.652 220 233.082 246.942 261.626 277.183 -293.665 311.127 329.628 349.228 369.994 391.995 415.305 440 466.164 -493.883 523.251 554.365 587.33 622.254 659.255 698.456 739.989 783.991 -830.609 880 932.328 987.767 1046.5 1108.73 1174.66 1244.51 1318.51 -1396.91 1479.98 1567.98 1661.22 1760 1864.66 1975.53 2093 2217.46 2349.32 -2489.02 2637.02 2793.83 2959.96 3135.96 3322.44 3520 3729.31 3951.07 -4186.01 4434.92 4698.64 4978.03 5274.04 5587.65 5919.91 6271.93 6644.88 -7040 7458.62 7902.13 8372.02 8869.84 9397.27 9956.06 10548.1 11175.3 -11839.8 12543.9 13289.8 14080; -#X coords 0 12000 130 0 200 100 1; -#X restore 77 222 graph; -#X text 87 330 ------ 130 samples ------; -#X text 286 315 0; -#X text 288 215 12000; -#N canvas 244 212 672 338 regenerate-tables 0; -#X msg 415 84 bang; -#X obj 415 113 t b b; -#X obj 474 177 f; -#X obj 512 177 + 1; -#X msg 483 147 0; -#X obj 415 142 until; -#X obj 474 211 t f f; -#X obj 414 238 mtof; -#X obj 405 202 sel 129; -#X obj 413 264 tabwrite mtof; -#X obj 35 227 moses 2; -#X msg 19 76 bang; -#X obj 19 105 t b b; -#X obj 90 166 f; -#X obj 128 166 + 1; -#X msg 112 138 0; -#X obj 19 134 until; -#X obj 11 194 sel 122; -#X msg 35 258 0; -#X obj 79 259 dbtorms; -#X obj 90 194 t f f; -#X obj 35 291 tabwrite dbtorms; -#X text 18 49 bang to recalculate dbtorms table; -#X text 356 50 bang to recalculate the mtof table; -#X connect 0 0 1 0; -#X connect 1 0 5 0; -#X connect 1 1 4 0; -#X connect 2 0 3 0; -#X connect 2 0 6 0; -#X connect 2 0 8 0; -#X connect 3 0 2 1; -#X connect 4 0 2 1; -#X connect 5 0 2 0; -#X connect 6 0 7 0; -#X connect 6 1 9 1; -#X connect 7 0 9 0; -#X connect 8 0 5 1; -#X connect 10 0 18 0; -#X connect 10 1 19 0; -#X connect 11 0 12 0; -#X connect 12 0 16 0; -#X connect 12 1 15 0; -#X connect 13 0 14 0; -#X connect 13 0 17 0; -#X connect 13 0 20 0; -#X connect 14 0 13 1; -#X connect 15 0 13 1; -#X connect 16 0 13 0; -#X connect 17 0 16 1; -#X connect 18 0 21 0; -#X connect 19 0 21 0; -#X connect 20 0 10 0; -#X connect 20 1 21 1; -#X restore 375 76 pd regenerate-tables; -#X restore 260 101 pd conversion-tables; -#X connect 1 0 9 0; -#X connect 2 0 1 0; -#X connect 3 0 1 1; -#X connect 4 0 7 0; -#X connect 4 0 8 0; -#X connect 5 0 2 0; -#X connect 7 0 10 0; -#X connect 8 0 12 0; -#X connect 9 0 0 0; -#X connect 10 0 3 0; -#X connect 10 0 5 0; -#X connect 11 0 9 1; -#X connect 12 0 11 0; -#X connect 13 0 4 0; -#X restore 75 129 pd test-input; -#X text 328 322 updated for Pd version 0.26; -#X text 62 8 REVERBERATOR; -#X floatatom 75 100 0 0 0 0 - - -; -#X text 126 105 <-- pitch; -#X floatatom 137 219 0 0 0 0 - - -; -#N canvas 159 26 618 379 output 0; -#X obj 393 156 t b; -#X obj 393 106 f; -#X obj 393 56 inlet; -#X text 399 25 mute; -#X obj 393 181 f; -#X msg 480 174 0; -#X msg 393 81 bang; -#X obj 393 131 moses 1; -#X obj 480 149 t b f; -#X obj 452 113 moses 1; -#X obj 138 144 dbtorms; -#X obj 452 88 r master-lvl; -#X obj 138 38 r master-lvl; -#X obj 393 206 s master-lvl; -#X obj 22 140 inlet~; -#X obj 254 37 inlet; -#X text 254 14 level; -#X obj 254 96 s master-lvl; -#X msg 151 61 set \$1; -#X obj 151 85 outlet; -#X msg 269 60 \; pd dsp 1; -#X obj 138 190 line~; -#X obj 22 231 *~; -#X obj 138 167 pack 0 50; -#X text 34 118 audio; -#X text 148 106 show level; -#X obj 73 140 inlet~; -#X obj 73 232 *~; -#X obj 22 260 dac~ 1; -#X obj 73 260 dac~ 2; -#X obj 22 182 hip~ 5; -#X obj 73 181 hip~ 5; -#X connect 0 0 4 0; -#X connect 1 0 7 0; -#X connect 2 0 6 0; -#X connect 4 0 13 0; -#X connect 5 0 13 0; -#X connect 6 0 1 0; -#X connect 7 0 0 0; -#X connect 7 1 8 0; -#X connect 8 0 5 0; -#X connect 9 1 4 1; -#X connect 10 0 23 0; -#X connect 11 0 1 1; -#X connect 11 0 9 0; -#X connect 12 0 10 0; -#X connect 12 0 18 0; -#X connect 14 0 30 0; -#X connect 15 0 17 0; -#X connect 15 0 20 0; -#X connect 18 0 19 0; -#X connect 21 0 22 1; -#X connect 21 0 27 1; -#X connect 22 0 28 0; -#X connect 23 0 21 0; -#X connect 26 0 31 0; -#X connect 27 0 29 0; -#X connect 30 0 22 0; -#X connect 31 0 27 0; -#X restore 75 247 pd output; -#X msg 166 219 MUTE; -#X text 184 217 <-- output amplitude; -#N canvas 42 106 1114 602 reverb 1; -#X obj 13 19 inlet~; -#X obj 13 43 reverb-echo echo-del1 5.43216; -#X obj 124 547 delwrite~ loop-del1 70; -#X obj 303 154 delread~ loop-del1 70; -#X obj 441 177 delread~ loop-del2 81.9345; -#X obj 326 547 delwrite~ loop-del2 81.9345; -#X obj 727 163 delread~ loop-del3 94.7545; -#X obj 788 186 delread~ loop-del4 115.945; -#X obj 572 547 delwrite~ loop-del3 94.7545; -#X obj 820 545 delwrite~ loop-del4 115.945; -#X obj 282 215 +~; -#X obj 443 215 +~; -#X obj 187 251 outlet~; -#X obj 364 244 outlet~; -#X obj 251 337 +~; -#X obj 619 328 +~; -#X obj 408 334 -~; -#X obj 791 327 -~; -#X obj 251 391 +~; -#X obj 411 397 +~; -#X obj 615 407 -~; -#X obj 785 388 -~; -#X obj 570 476 *~ 0; -#X obj 570 513 lop~ 5000; -#X obj 325 474 *~ 0; -#X obj 325 512 lop~ 5000; -#X obj 117 477 *~ 0; -#X obj 117 515 lop~ 5000; -#X obj 821 472 *~ 0; -#X obj 821 506 lop~ 5000; -#X obj 924 254 inlet; -#X obj 924 278 moses 100; -#X obj 926 325 moses -100; -#X msg 979 303 100; -#X msg 930 349 -100; -#X obj 934 386 / 200; -#X obj 13 67 reverb-echo echo-del2 8.45346; -#X obj 13 91 reverb-echo echo-del3 13.4367; -#X obj 13 115 reverb-echo echo-del4 21.5463; -#X obj 13 139 reverb-echo echo-del5 34.3876; -#X obj 13 163 reverb-echo echo-del6 55.5437; -#X connect 0 0 1 0; -#X connect 1 0 36 0; -#X connect 1 1 36 1; -#X connect 3 0 10 1; -#X connect 4 0 11 1; -#X connect 6 0 14 1; -#X connect 6 0 16 1; -#X connect 7 0 15 1; -#X connect 7 0 17 1; -#X connect 10 0 12 0; -#X connect 10 0 14 0; -#X connect 10 0 16 0; -#X connect 11 0 13 0; -#X connect 11 0 15 0; -#X connect 11 0 17 0; -#X connect 14 0 18 0; -#X connect 14 0 20 0; -#X connect 15 0 20 1; -#X connect 15 0 18 1; -#X connect 16 0 19 0; -#X connect 16 0 21 0; -#X connect 17 0 19 1; -#X connect 17 0 21 1; -#X connect 18 0 22 0; -#X connect 19 0 24 0; -#X connect 20 0 26 0; -#X connect 21 0 28 0; -#X connect 22 0 23 0; -#X connect 23 0 8 0; -#X connect 24 0 25 0; -#X connect 25 0 5 0; -#X connect 26 0 27 0; -#X connect 27 0 2 0; -#X connect 28 0 29 0; -#X connect 29 0 9 0; -#X connect 30 0 31 0; -#X connect 31 0 32 0; -#X connect 31 1 33 0; -#X connect 32 0 34 0; -#X connect 32 1 35 0; -#X connect 33 0 32 0; -#X connect 34 0 35 0; -#X connect 35 0 28 1; -#X connect 35 0 26 1; -#X connect 35 0 24 1; -#X connect 35 0 22 1; -#X connect 36 0 37 0; -#X connect 36 1 37 1; -#X connect 37 0 38 0; -#X connect 37 1 38 1; -#X connect 38 0 39 0; -#X connect 38 1 39 1; -#X connect 39 0 40 0; -#X connect 39 1 40 1; -#X connect 40 0 10 0; -#X connect 40 1 11 0; -#X restore 50 193 pd reverb; -#X floatatom 108 163 0 0 0 0 - - -; -#X text 143 163 <-- feedback (100 maximum); -#X text 32 41 Here is a simple recirculating reverberator. "Feedback" -should be between -100 and 100; -#X text 37 285 You can spend a lifetime tweaking reverberators... we'll -just leave it at that for now.; -#X connect 0 0 9 0; -#X connect 0 0 6 0; -#X connect 3 0 0 0; -#X connect 5 0 6 2; -#X connect 6 0 5 0; -#X connect 7 0 6 3; -#X connect 9 0 6 0; -#X connect 9 1 6 1; -#X connect 10 0 9 1; diff --git a/pd/doc/3.audio.examples/J07.execution.order.pd b/pd/doc/3.audio.examples/J07.execution.order.pd deleted file mode 100644 index 2bea8e92..00000000 --- a/pd/doc/3.audio.examples/J07.execution.order.pd +++ /dev/null @@ -1,127 +0,0 @@ -#N canvas 100 17 724 631 12; -#X floatatom 448 290 0 0 0; -#X obj 70 432 +~; -#X obj 91 401 vd~ delay1; -#X floatatom 108 559 0 0 0; -#N canvas 159 26 495 266 output 0; -#X obj 338 160 t b; -#X obj 338 110 f; -#X obj 338 60 inlet; -#X text 344 29 mute; -#X obj 338 185 f; -#X msg 425 178 0; -#X msg 338 85 bang; -#X obj 338 135 moses 1; -#X obj 397 110 moses 1; -#X obj 83 148 dbtorms; -#X obj 397 85 r master-lvl; -#X obj 83 42 r master-lvl; -#X obj 338 210 s master-lvl; -#X obj 18 152 inlet~; -#X obj 199 41 inlet; -#X text 199 18 level; -#X obj 197 104 s master-lvl; -#X msg 96 65 set \$1; -#X obj 96 89 outlet; -#X msg 214 64 \; pd dsp 1; -#X obj 83 194 line~; -#X obj 22 212 *~; -#X obj 22 241 dac~; -#X obj 83 171 pack 0 50; -#X text 16 129 audio; -#X text 93 110 show level; -#X obj 18 179 hip~ 5; -#X connect 0 0 4 0; -#X connect 1 0 7 0; -#X connect 2 0 6 0; -#X connect 4 0 12 0; -#X connect 5 0 12 0; -#X connect 6 0 1 0; -#X connect 7 0 0 0; -#X connect 7 1 5 0; -#X connect 8 1 4 1; -#X connect 9 0 23 0; -#X connect 10 0 1 1; -#X connect 10 0 8 0; -#X connect 11 0 9 0; -#X connect 11 0 17 0; -#X connect 13 0 26 0; -#X connect 14 0 16 0; -#X connect 14 0 19 0; -#X connect 17 0 18 0; -#X connect 20 0 21 1; -#X connect 21 0 22 0; -#X connect 21 0 22 1; -#X connect 23 0 20 0; -#X connect 26 0 21 0; -#X restore 70 585 pd output; -#X msg 145 559 MUTE; -#X text 184 558 <-- output amplitude; -#X text 86 9 ORDER OF EXECUTION OF DELWRITE~ AND DELREAD~/VD~; -#X text 43 35 If you're writing to and reading from a delay line \, -you have to get the write sorted before the read or else you'll never -get less than a block's delay. This patch compares a "wrong" flanger -with a "right" one:; -#X obj 69 299 noise~; -#X obj 91 375 line~; -#X obj 448 344 pack 0 100; -#X text 518 292 <-- delay in samples; -#X obj 92 505 *~; -#X obj 92 481 -~; -#X floatatom 175 505 1 0 0; -#X obj 293 297 noise~; -#X obj 423 398 line~; -#N canvas 0 0 600 400 delay-writer 0; -#X obj 96 107 inlet~; -#X obj 96 180 outlet~; -#X obj 116 144 delwrite~ delay2 1000; -#X connect 0 0 1 0; -#X connect 0 0 2 0; -#X restore 293 325 pd delay-writer; -#N canvas 0 0 280 330 delay-reader 0; -#X obj 96 107 inlet~; -#X obj 89 267 outlet~; -#X obj 112 163 inlet~; -#X obj 112 198 vd~ delay2; -#X obj 89 237 +~; -#X connect 0 0 4 0; -#X connect 2 0 3 0; -#X connect 3 0 4 1; -#X connect 4 0 1 0; -#X restore 293 427 pd delay-reader; -#X obj 70 533 +~; -#X text 194 505 <-- 0 to hear left-hand side \, 1 to hear right hand -side.; -#X text 46 105 All it took was to put the delread~ and vd~ objects -in subpatches. The audio connections between the subpatches force the -"reader" to be sorted after the "writer". DSP sorting in Pd follows -the hierarchy of windows.; -#X obj 447 318 / 44.1; -#X obj 82 329 delwrite~ delay1 1000; -#X text 450 596 updated for Pd version 0.34; -#X text 43 173 To hear the difference scroll the delay time between -0 and 100 samples. The patch at left doesn't let you get below 64 samples. -; -#X text 43 228 You can use the same strategy to avoid picking up 64-sample -delays in send~/receive~ and throw~/catch~ pairs.; -#X connect 0 0 23 0; -#X connect 1 0 14 1; -#X connect 1 0 20 0; -#X connect 2 0 1 1; -#X connect 3 0 4 1; -#X connect 4 0 3 0; -#X connect 5 0 4 2; -#X connect 9 0 1 0; -#X connect 9 0 24 0; -#X connect 10 0 2 0; -#X connect 11 0 10 0; -#X connect 11 0 17 0; -#X connect 13 0 20 1; -#X connect 14 0 13 0; -#X connect 15 0 13 1; -#X connect 16 0 18 0; -#X connect 17 0 19 1; -#X connect 18 0 19 0; -#X connect 19 0 14 0; -#X connect 20 0 4 0; -#X connect 23 0 11 0; diff --git a/pd/doc/3.audio.examples/J08.control.blocksize.pd b/pd/doc/3.audio.examples/J08.control.blocksize.pd deleted file mode 100644 index 05bad0d2..00000000 --- a/pd/doc/3.audio.examples/J08.control.blocksize.pd +++ /dev/null @@ -1,111 +0,0 @@ -#N canvas 100 17 662 466 12; -#X floatatom 130 389 0 0 0; -#N canvas 159 26 495 266 output 0; -#X obj 338 160 t b; -#X obj 338 110 f; -#X obj 338 60 inlet; -#X text 344 29 mute; -#X obj 338 185 f; -#X msg 425 178 0; -#X msg 338 85 bang; -#X obj 338 135 moses 1; -#X obj 397 110 moses 1; -#X obj 83 148 dbtorms; -#X obj 397 85 r master-lvl; -#X obj 83 42 r master-lvl; -#X obj 338 210 s master-lvl; -#X obj 18 152 inlet~; -#X obj 199 41 inlet; -#X text 199 18 level; -#X obj 197 104 s master-lvl; -#X msg 96 65 set \$1; -#X obj 96 89 outlet; -#X msg 214 64 \; pd dsp 1; -#X obj 83 194 line~; -#X obj 22 212 *~; -#X obj 22 241 dac~; -#X obj 83 171 pack 0 50; -#X text 16 129 audio; -#X text 93 110 show level; -#X obj 18 179 hip~ 5; -#X connect 0 0 4 0; -#X connect 1 0 7 0; -#X connect 2 0 6 0; -#X connect 4 0 12 0; -#X connect 5 0 12 0; -#X connect 6 0 1 0; -#X connect 7 0 0 0; -#X connect 7 1 5 0; -#X connect 8 1 4 1; -#X connect 9 0 23 0; -#X connect 10 0 1 1; -#X connect 10 0 8 0; -#X connect 11 0 9 0; -#X connect 11 0 17 0; -#X connect 13 0 26 0; -#X connect 14 0 16 0; -#X connect 14 0 19 0; -#X connect 17 0 18 0; -#X connect 20 0 21 1; -#X connect 21 0 22 0; -#X connect 21 0 22 1; -#X connect 23 0 20 0; -#X connect 26 0 21 0; -#X restore 92 415 pd output; -#X msg 167 389 MUTE; -#X text 206 388 <-- output amplitude; -#X obj 51 203 noise~; -#N canvas 0 0 760 350 delay-writer 0; -#X obj 75 100 inlet~; -#X obj 79 250 outlet~; -#X obj 90 194 delwrite~ delay3 1000; -#X obj 379 97 block~ 1; -#X obj 145 131 delread~ delay3; -#X obj 144 159 *~ 0.99; -#X obj 79 164 +~; -#X obj 146 100 inlet; -#X text 84 22 Because of the feedback \, the delwrite~ has to go after -the delread~. So we set the blocksize to 1 to minimize the resulting -delay.; -#X connect 0 0 6 0; -#X connect 4 0 5 0; -#X connect 5 0 6 1; -#X connect 6 0 2 0; -#X connect 6 0 1 0; -#X connect 7 0 4 0; -#X restore 91 328 pd delay-writer; -#X text 401 435 updated for Pd version 0.34; -#X obj 77 285 *~; -#X obj 273 275 expr 1000/$f1; -#X obj 273 249 mtof; -#X msg 176 220 1; -#X msg 176 282 0; -#X obj 177 164 metro 500; -#X obj 273 195 random 60; -#X obj 177 135 loadbang; -#X obj 216 217 del 2; -#X obj 273 221 + 30; -#X obj 51 228 lop~ 1000; -#X text 86 9 CONTROLLING DELAY WITH BLOCK~; -#X text 75 52 In situations where a delay read feeds pack to a delay -write \, you can shorten the minimum delay by changing the block size. -Do this in a subpatch...; -#X text 238 328 <-- here is the delay loop; -#X connect 0 0 1 1; -#X connect 1 0 0 0; -#X connect 2 0 1 2; -#X connect 4 0 17 0; -#X connect 5 0 1 0; -#X connect 7 0 5 0; -#X connect 8 0 5 1; -#X connect 9 0 8 0; -#X connect 10 0 7 1; -#X connect 11 0 7 1; -#X connect 12 0 10 0; -#X connect 12 0 13 0; -#X connect 12 0 15 0; -#X connect 13 0 16 0; -#X connect 14 0 12 0; -#X connect 15 0 11 0; -#X connect 16 0 9 0; -#X connect 17 0 7 0; diff --git a/pd/doc/3.audio.examples/reverb-echo.pd b/pd/doc/3.audio.examples/reverb-echo.pd index e627e9fc..81c96131 100644 --- a/pd/doc/3.audio.examples/reverb-echo.pd +++ b/pd/doc/3.audio.examples/reverb-echo.pd @@ -1,14 +1,20 @@ -#N canvas 0 0 600 492 12; +#N canvas 118 224 600 492 12; #X obj 66 95 inlet~; #X obj 130 96 inlet~; -#X obj 69 216 outlet~; +#X obj 68 216 outlet~; #X obj 141 215 outlet~; #X obj 67 143 +~; #X obj 140 141 -~; #X obj 141 165 delwrite~ \$1 \$2; #X obj 140 191 delread~ \$1 \$2; -#X text 68 24 This appears as an abstraction in patch G05.reverb.pd +#X text 48 14 This appears as an abstraction in patch G08.reverb.pd ; +#X text 27 267 This network makes two copies of the (stereo) input +\, one in phase \, the other out of phase and delayed. The total frequency +response is flat. The total signal power out is exactly twice that +of the input \, no matter what freqiencies the input contains. This +is used to increase echo density \, by stacking several of these units +with different delay times. Each stage doubles the echo density.; #X connect 0 0 4 0; #X connect 0 0 5 0; #X connect 1 0 4 1; diff --git a/pd/doc/3.audio.examples/sampvoice.pd b/pd/doc/3.audio.examples/sampvoice.pd index ee9c19b4..b277d345 100644 --- a/pd/doc/3.audio.examples/sampvoice.pd +++ b/pd/doc/3.audio.examples/sampvoice.pd @@ -5,13 +5,12 @@ #X msg 104 419 set \$1; #X obj 104 442 tabread4~ sample1; #X obj 360 419 dbtorms; -#X obj 360 396 unpack; +#X obj 381 395 unpack; #X obj 360 442 sqrt; #X obj 360 465 sqrt; -#X obj 360 488 line~; #X obj 338 559 *~; -#X obj 360 511 *~; -#X obj 360 534 *~; +#X obj 406 513 *~; +#X obj 406 536 *~; #X msg 201 42 bang; #X obj 201 72 delay 5; #X obj 289 95 unpack 0 0 0 0 0 0 0; @@ -51,64 +50,65 @@ #X text 505 233 decay time (msec); #X obj 45 396 vline~; #X obj 301 396 vline~; -#X connect 0 0 10 0; +#X obj 406 490 vline~; +#X connect 0 0 9 0; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 4 0 0 0; #X connect 5 0 7 0; #X connect 6 0 5 0; -#X connect 6 1 9 1; +#X connect 6 1 50 1; #X connect 7 0 8 0; -#X connect 8 0 9 0; -#X connect 9 0 11 0; -#X connect 9 0 11 1; -#X connect 10 0 39 1; -#X connect 11 0 12 0; -#X connect 11 0 12 1; -#X connect 12 0 10 1; -#X connect 13 0 14 0; -#X connect 13 0 31 0; -#X connect 14 0 28 0; -#X connect 15 0 21 1; -#X connect 15 0 13 0; -#X connect 15 1 20 1; -#X connect 15 2 26 1; -#X connect 15 3 19 1; -#X connect 15 4 18 1; -#X connect 15 5 17 1; -#X connect 15 6 16 1; -#X connect 16 0 36 0; -#X connect 17 0 27 1; -#X connect 18 0 30 0; -#X connect 19 0 27 4; -#X connect 20 0 27 0; +#X connect 8 0 50 0; +#X connect 9 0 38 1; +#X connect 10 0 11 0; +#X connect 10 0 11 1; +#X connect 11 0 9 1; +#X connect 12 0 13 0; +#X connect 12 0 30 0; +#X connect 13 0 27 0; +#X connect 14 0 20 1; +#X connect 14 0 12 0; +#X connect 14 1 19 1; +#X connect 14 2 25 1; +#X connect 14 3 18 1; +#X connect 14 4 17 1; +#X connect 14 5 16 1; +#X connect 14 6 15 1; +#X connect 15 0 35 0; +#X connect 16 0 26 1; +#X connect 17 0 29 0; +#X connect 18 0 26 4; +#X connect 19 0 26 0; +#X connect 20 0 21 0; #X connect 21 0 22 0; #X connect 22 0 23 0; #X connect 23 0 24 0; -#X connect 24 0 25 0; -#X connect 25 0 27 3; -#X connect 26 0 16 0; -#X connect 27 0 32 0; -#X connect 27 0 33 0; -#X connect 27 0 34 0; -#X connect 27 0 35 0; -#X connect 28 0 20 0; -#X connect 28 1 21 0; -#X connect 28 2 17 0; -#X connect 28 2 18 0; -#X connect 28 2 19 0; -#X connect 28 2 26 0; -#X connect 29 0 27 2; -#X connect 29 0 25 1; -#X connect 30 0 29 0; -#X connect 31 0 50 0; -#X connect 32 0 50 0; -#X connect 33 0 6 0; -#X connect 34 0 49 0; -#X connect 35 0 2 0; -#X connect 36 0 6 0; -#X connect 37 0 15 0; -#X connect 38 0 39 0; -#X connect 39 0 1 0; -#X connect 49 0 4 0; -#X connect 50 0 0 1; +#X connect 24 0 26 3; +#X connect 25 0 15 0; +#X connect 26 0 31 0; +#X connect 26 0 32 0; +#X connect 26 0 33 0; +#X connect 26 0 34 0; +#X connect 27 0 19 0; +#X connect 27 1 20 0; +#X connect 27 2 16 0; +#X connect 27 2 17 0; +#X connect 27 2 18 0; +#X connect 27 2 25 0; +#X connect 28 0 26 2; +#X connect 28 0 24 1; +#X connect 29 0 28 0; +#X connect 30 0 49 0; +#X connect 31 0 49 0; +#X connect 32 0 6 0; +#X connect 33 0 48 0; +#X connect 34 0 2 0; +#X connect 35 0 6 0; +#X connect 36 0 14 0; +#X connect 37 0 38 0; +#X connect 38 0 1 0; +#X connect 48 0 4 0; +#X connect 49 0 0 1; +#X connect 50 0 10 0; +#X connect 50 0 10 1; |