Update of /cvsroot/pure-data/pd/extra In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2352
Modified Files: Tag: branch-v0-39-2-extended hilbert~.pd Added Files: Tag: branch-v0-39-2-extended complex-mod~-help.pd hilbert~-help.pd rev1~-help.pd rev2~-help.pd rev3~-help.pd Log Message: merged in pd/extra changes from MAIN/HEAD since the help files were missing in 0.39-2
--- NEW FILE: rev2~-help.pd --- #N canvas 167 160 766 354 12; #X floatatom 73 185 0 0 120 0 - - -; #X floatatom 106 323 0 0 120 0 - - -; #N canvas 0 0 539 448 tests 0; #X obj 67 33 inlet; #X obj 309 189 inlet; #X obj 235 207 line~; #X obj 235 230 cos~; #X obj 235 68 loadbang; #X msg 235 91 -0.25; #X obj 235 276 *~; #X obj 186 309 hip~ 5; #X floatatom 308 218 0 0 0 0 - - -; #X obj 308 264 osc~ 440; #X obj 308 241 mtof; #X obj 235 253 *~ 0.1; #X obj 308 299 *~; #X obj 326 325 *~; #X obj 292 330 *~; #X msg 279 150 -0.25 , 0.25 $1; #X obj 41 148 biquad~ 0 0 1 -1 0; #X obj 63 70 t b; #X obj 104 72 del 3; #X obj 57 101 1; #X obj 96 101 0; #X obj 41 355 outlet~; #X obj 279 126 inlet; #X obj 40 175 *~; #X connect 0 0 17 0; #X connect 1 0 8 0; #X connect 2 0 3 0; #X connect 3 0 11 0; #X connect 4 0 5 0; #X connect 5 0 2 0; #X connect 6 0 7 0; #X connect 7 0 21 0; #X connect 8 0 10 0; #X connect 9 0 6 1; #X connect 9 0 12 0; #X connect 9 0 12 1; #X connect 9 0 13 0; #X connect 10 0 9 0; #X connect 11 0 6 0; #X connect 12 0 13 1; #X connect 12 0 6 1; #X connect 12 0 14 0; #X connect 12 0 14 1; #X connect 13 0 6 1; #X connect 14 0 6 1; #X connect 15 0 2 0; #X connect 16 0 23 0; #X connect 17 0 18 0; #X connect 17 0 19 0; #X connect 18 0 20 0; #X connect 19 0 16 0; #X connect 19 0 23 1; #X connect 20 0 16 0; #X connect 20 0 23 1; #X connect 22 0 15 0; #X connect 23 0 21 0; #X restore 17 154 pd tests; #X msg 56 35 10; #X msg 54 62 20; #X msg 53 90 100; #X msg 52 115 500; #X obj 17 15 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X text 37 9 impulse; #N canvas 0 0 450 300 output 0; #X obj 54 202 dac~; #X obj 132 119 pack 0 100; #X obj 132 142 line~; #X obj 54 165 *~; #X obj 132 97 dbtorms; #X obj 33 42 inlet~; #X obj 177 42 inlet; #X obj 177 74 clip 0 120; #X msg 257 133 ; pd dsp 1; #X obj 98 42 inlet~; #X obj 94 168 *~; #X connect 1 0 2 0; #X connect 2 0 3 1; #X connect 2 0 10 1; #X connect 3 0 0 0; #X connect 4 0 1 0; #X connect 5 0 3 0; #X connect 6 0 7 0; #X connect 6 0 8 0; #X connect 7 0 4 0; #X connect 9 0 10 0; #X connect 10 0 0 1; #X restore 18 324 pd output; #X floatatom 97 127 0 0 0 0 - - -; #X text 136 96 tone; #X text 135 112 pitch; #X text 114 185 level , dB; #X floatatom 117 209 0 0 100 0 - - -; #X text 158 209 liveness , 0-100; #X text 505 330 modified for Pd version 0.37; #X floatatom 161 235 0 0 120 0 - - -; #X floatatom 205 259 0 0 120 0 - - -; #X text 192 235 crossover frequency , Hz.; #X text 238 260 HF damping , percent; #X obj 30 290 rev2~ 100 90 3000 20; #X text 141 324 output level , dB; #X text 281 8 REV2~ - a simple 1-in , 4-out reverberator; #X text 95 35 tone; #X text 96 52 bursts; #X text 231 37 The creation arguments (level , liveness , crossover frequency , HF damping) may also be supplied in four inlets as shown. The "liveness" (actually the internal feedback percentage) should be 100 for infinite reverb , 90 for longish , and 80 for short. The crossover frequency and HF damping work together: at frequencies above crossover , the feedback is diminished by the "damping" as a percentage. So zero HF damping means equal reverb time at all frequencies , and 100% damping means almost nothing above the crossover frequency gets through.; #X text 132 130 (60 for; #X text 115 150 middle C); #X connect 0 0 21 1; #X connect 1 0 9 2; #X connect 2 0 9 0; #X connect 2 0 21 0; #X connect 3 0 2 1; #X connect 4 0 2 1; #X connect 5 0 2 1; #X connect 6 0 2 1; #X connect 7 0 2 0; #X connect 10 0 2 2; #X connect 14 0 21 2; #X connect 17 0 21 3; #X connect 18 0 21 4; #X connect 21 0 9 0; #X connect 21 1 9 1;
--- NEW FILE: hilbert~-help.pd --- #N canvas 156 234 600 488 12; #X obj 67 124 hilbert~; #X obj 66 85 osc~ 440; #X graph graph1 0 -1 882 1 279 209 579 39; #X array out-left 882 float; #X array out-right 882 float; #X pop; #X obj 67 274 tabwrite~ out-left; #X obj 118 248 tabwrite~ out-right; #X msg 137 188 bang ; pd dsp 1; #X floatatom 66 57; #X text 71 319 The Hilbert transform (the name is abused here according to computer music tradition) puts out a phase quadrature version of the input signal suitable for signal sideband modulation via complex-mod~.; #X connect 0 0 3 0; #X connect 0 1 4 0; #X connect 1 0 0 0; #X connect 5 0 3 0; #X connect 5 0 4 0; #X connect 6 0 1 0;
Index: hilbert~.pd =================================================================== RCS file: /cvsroot/pure-data/pd/extra/hilbert~.pd,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -C2 -d -r1.2 -r1.2.2.1 *** hilbert~.pd 18 May 2005 04:28:32 -0000 1.2 --- hilbert~.pd 20 Apr 2007 03:33:44 -0000 1.2.2.1 *************** *** 1,14 **** #N canvas 269 0 593 306 12; ! #X obj 113 68 biquad~ 0.83774 -0.06338 0.06338 -0.83774 1; ! #X obj 113 42 biquad~ 1.94632 -0.94657 0.94657 -1.94632 1; ! #X obj 94 125 biquad~ -0.02569 0.260502 -0.260502 0.02569 1; ! #X obj 94 151 biquad~ 1.8685 -0.870686 0.870686 -1.8685 1; ! #X obj 94 15 inlet~; ! #X obj 113 97 outlet~; ! #X obj 94 178 outlet~; ! #X text 32 210 This is a pair of 4th-order all-pass filters whose outputs somehow manage to be about 90 degrees out of phase from each other. Both have different phases from the original. Adapted from a 4X patch by Emmanuel Favreau , circa 1982; #X connect 0 0 5 0; #X connect 1 0 0 0; --- 1,18 ---- #N canvas 269 0 593 306 12; ! #X obj 105 92 biquad~ 0.83774 -0.06338 0.06338 -0.83774 1; ! #X obj 105 66 biquad~ 1.94632 -0.94657 0.94657 -1.94632 1; ! #X obj 86 149 biquad~ -0.02569 0.260502 -0.260502 0.02569 1; ! #X obj 86 175 biquad~ 1.8685 -0.870686 0.870686 -1.8685 1; ! #X obj 86 39 inlet~; ! #X obj 105 121 outlet~; ! #X obj 86 202 outlet~; ! #X text 34 232 This is a pair of 4th-order all-pass filters whose outputs somehow manage to be about 90 degrees out of phase from each other. Both have different phases from the original. Adapted from a 4X patch by Emmanuel Favreau , circa 1982; + #X obj 502 39 inlet; + #X text 461 13 bang to clear; + #X text 80 16 signal in; + #X msg 502 112 clear; #X connect 0 0 5 0; #X connect 1 0 0 0; *************** *** 17,18 **** --- 21,27 ---- #X connect 4 0 1 0; #X connect 4 0 2 0; + #X connect 8 0 11 0; + #X connect 11 0 1 0; + #X connect 11 0 0 0; + #X connect 11 0 2 0; + #X connect 11 0 3 0;
--- NEW FILE: complex-mod~-help.pd --- #N canvas 136 85 600 480 12; #X graph graph1 0 -1 882 1 279 209 579 39; #X array mod-output 882 float; #X pop; #X msg 84 256 bang ; pd dsp 1; #X floatatom 67 56; #X obj 67 186 complex-mod~; #X obj 67 84 phasor~ 440; #X obj 67 115 cos~; #X obj 106 138 cos~; #X obj 106 114 -~ 0.25; #X floatatom 145 152; #X text 93 351 The complex modulator takes two signals in which it considers to be the real and imaginary part of a complex-valued signal. It then does a complex multiplication by a sinusoud to shift all frequencies up or down by any frequency shift in Hz. See also hilbert~.; #X obj 69 298 tabwrite~ mod-output; #X text 149 204 right outlet; #X text 151 220 gives the other; #X text 149 236 sideband; #X connect 1 0 10 0; #X connect 2 0 4 0; #X connect 3 0 10 0; #X connect 4 0 5 0; #X connect 4 0 7 0; #X connect 5 0 3 0; #X connect 6 0 3 1; #X connect 7 0 6 0; #X connect 8 0 3 2;
--- NEW FILE: rev3~-help.pd --- #N canvas 70 263 765 380 12; #X floatatom 99 212 0 0 120 0 - - -; #X floatatom 105 340 0 0 120 0 - - -; #N canvas 0 0 539 448 tests 0; #X obj 67 33 inlet; #X obj 309 189 inlet; #X obj 235 207 line~; #X obj 235 230 cos~; #X obj 235 68 loadbang; #X msg 235 91 -0.25; #X obj 235 276 *~; #X obj 186 309 hip~ 5; #X floatatom 308 218 0 0 0 0 - - -; #X obj 308 264 osc~ 440; #X obj 308 241 mtof; #X obj 235 253 *~ 0.1; #X obj 308 299 *~; #X obj 326 325 *~; #X obj 292 330 *~; #X msg 279 150 -0.25 , 0.25 $1; #X obj 41 148 biquad~ 0 0 1 -1 0; #X obj 63 70 t b; #X obj 104 72 del 3; #X obj 57 101 1; #X obj 96 101 0; #X obj 41 355 outlet~; #X obj 279 126 inlet; #X obj 51 192 *~; #X connect 0 0 17 0; #X connect 1 0 8 0; #X connect 2 0 3 0; #X connect 3 0 11 0; #X connect 4 0 5 0; #X connect 5 0 2 0; #X connect 6 0 7 0; #X connect 7 0 21 0; #X connect 8 0 10 0; #X connect 9 0 6 1; #X connect 9 0 12 0; #X connect 9 0 12 1; #X connect 9 0 13 0; #X connect 10 0 9 0; #X connect 11 0 6 0; #X connect 12 0 13 1; #X connect 12 0 6 1; #X connect 12 0 14 0; #X connect 12 0 14 1; #X connect 13 0 6 1; #X connect 14 0 6 1; #X connect 15 0 2 0; #X connect 16 0 23 0; #X connect 17 0 18 0; #X connect 17 0 19 0; #X connect 18 0 20 0; #X connect 19 0 16 0; #X connect 19 0 23 1; #X connect 20 0 16 0; #X connect 20 0 23 1; #X connect 22 0 15 0; #X connect 23 0 21 0; #X restore 16 171 pd tests; #X msg 55 52 10; #X msg 53 79 20; #X msg 52 107 100; #X msg 51 132 500; #X obj 16 32 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X text 36 26 impulse; #N canvas 0 0 450 300 output 0; #X obj 54 202 dac~; #X obj 132 119 pack 0 100; #X obj 132 142 line~; #X obj 54 165 *~; #X obj 132 97 dbtorms; #X obj 33 42 inlet~; #X obj 177 42 inlet; #X obj 177 74 clip 0 120; #X msg 257 133 ; pd dsp 1; #X obj 98 42 inlet~; #X obj 94 168 *~; #X connect 1 0 2 0; #X connect 2 0 3 1; #X connect 2 0 10 1; #X connect 3 0 0 0; #X connect 4 0 1 0; #X connect 5 0 3 0; #X connect 6 0 7 0; #X connect 6 0 8 0; #X connect 7 0 4 0; #X connect 9 0 10 0; #X connect 10 0 0 1; #X restore 17 340 pd output; #X floatatom 96 144 0 0 0 0 - - -; #X text 135 113 tone; #X text 134 129 pitch; #X text 140 212 level , dB; #X floatatom 134 234 0 0 100 0 - - -; #X text 175 234 liveness , 0-100; #X floatatom 169 258 4 0 5000 0 - - -; #X floatatom 204 281 0 0 100 0 - - -; #X text 217 256 crossover frequency , Hz.; #X text 240 283 HF damping , percent; #X text 140 341 output level , dB; #X text 94 52 tone; #X text 95 69 bursts; #X text 131 147 (60 for; #X text 114 167 middle C); #X obj 29 307 rev3~ 100 90 3000 20; #X text 263 4 REV3~ - hard-core , 2-in , 4-out reverberator; #X text 236 56 The creation arguments (level , liveness , crossover frequency , HF damping) may also be supplied in four inlets as shown. The "liveness" (actually the internal feedback percentage) should be 100 for infinite reverb , 90 for longish , and 80 for short. The crossover frequency and HF damping work together: at frequencies above crossover , the feedback is diminished by the "damping" as a percentage. So zero HF damping means equal reverb time at all frequencies , and 100% damping means almost nothing above the crossover frequency gets through.; #X text 236 29 (A more expensive , presumably better , one than rev2~.) ; #X text 470 352 modified for Pd version 0.37-1; #X connect 0 0 25 2; #X connect 1 0 9 2; #X connect 2 0 9 0; #X connect 2 0 25 0; #X connect 3 0 2 1; #X connect 4 0 2 1; #X connect 5 0 2 1; #X connect 6 0 2 1; #X connect 7 0 2 0; #X connect 10 0 2 2; #X connect 14 0 25 3; #X connect 16 0 25 4; #X connect 17 0 25 5; #X connect 25 0 9 0; #X connect 25 1 9 1;
--- NEW FILE: rev1~-help.pd --- #N canvas 55 21 1008 526 12; #X obj 148 439 dac~; #X obj 58 72 line~; #X msg 58 49 0 , 10000 5; #X obj 58 118 cos~; #X msg 146 70 1; #X obj 146 47 loadbang; #X obj 58 95 clip~ 0 0.25; #X floatatom 173 264 0 0 0; #X obj 251 134 line~; #X obj 251 157 cos~; #X msg 324 54 -0.25 , 0.25 100; #X obj 251 8 loadbang; #X msg 251 31 -0.25; #X obj 251 203 *~; #X obj 58 140 hip~ 5; #X floatatom 162 328 0 0 0; #X obj 162 373 pack 0 100; #X obj 162 396 line~; #X obj 148 416 *~; #X obj 162 350 dbtorms; #X msg 324 77 -0.25 , 0.25 400; #X floatatom 324 145 0 0 0; #X obj 324 191 osc~ 440; #X obj 324 168 mtof; #X msg 324 31 -0.25 , 0.25 20; #X obj 251 180 *~ 0.1; #X msg 324 100 -0.25 , 0.25 1000; #X msg 324 122 -0.25 , 0.25 2000; #X obj 324 226 *~; #X obj 342 252 *~; #X obj 58 439 dac~; #X floatatom 68 323 0 0 0; #X obj 68 368 pack 0 100; #X obj 68 391 line~; #X obj 58 416 *~; #X obj 68 346 dbtorms; #X msg 324 8 0; #X obj 308 257 *~; #X obj 58 26 metro 2000; #X floatatom 58 4 0 0 0; #X msg 220 265 bang; #X obj 284 322 env~ 32768; #X floatatom 284 344 0 0 0; #X text 166 244 1 sec; #X text 143 226 dB after; #X text 220 245 clear; #X text 1 51 impulse; #X text 362 7 tone; #X text 484 31 beeps; #X text 428 167 This is an experimental reverberator design composed of a series of allpass filters with exponentially growing delay times. Each allpass filter has a gain of 0.7. The reverb time is adjusted by adjusting the input gains of the allpass filters. The last unit is modified so that its first two "echos" mimic those of an allpass but its loop gain depends on reverb time.; #X text 430 299 Reverb time is controlled by specifying the dB gain (100 normal) after one second , so that 100 corresponds to infinite reverb time , 70 to two seconds , 40 to one second , and 0 to 0 ; #X text 671 499 modified for Pd version 0.30.; #X msg 560 34 ; pd dsp 1; #X text 427 475 The rev1~ module eats about 18% of my 300mHz P2 machine. ; #X obj 148 289 rev1~; #X text 428 381 The "clear" button impolitely clears out all the delay lines , You may immediately resume pumping the reverberator , but the input signal should be cleanly enveloped. The output , too , must be enveloped and may not be opened until 5 msec after the "clear" message is sent.; #X connect 1 0 6 0; #X connect 2 0 1 0; #X connect 3 0 14 0; #X connect 4 0 1 0; #X connect 5 0 4 0; #X connect 6 0 3 0; #X connect 7 0 54 1; #X connect 8 0 9 0; #X connect 9 0 25 0; #X connect 10 0 8 0; #X connect 11 0 12 0; #X connect 12 0 8 0; #X connect 13 0 14 0; #X connect 14 0 34 0; #X connect 14 0 54 0; #X connect 15 0 19 0; #X connect 16 0 17 0; #X connect 17 0 18 1; #X connect 18 0 0 0; #X connect 19 0 16 0; #X connect 20 0 8 0; #X connect 21 0 23 0; #X connect 22 0 13 1; #X connect 22 0 28 0; #X connect 22 0 28 1; #X connect 22 0 29 0; #X connect 23 0 22 0; #X connect 24 0 8 0; #X connect 25 0 13 0; #X connect 26 0 8 0; #X connect 27 0 8 0; #X connect 28 0 29 1; #X connect 28 0 13 1; #X connect 28 0 37 0; #X connect 28 0 37 1; #X connect 29 0 13 1; #X connect 31 0 35 0; #X connect 32 0 33 0; #X connect 33 0 34 1; #X connect 34 0 30 0; #X connect 35 0 32 0; #X connect 36 0 8 0; #X connect 37 0 13 1; #X connect 38 0 2 0; #X connect 39 0 38 0; #X connect 40 0 54 2; #X connect 41 0 42 0; #X connect 54 0 18 0; #X connect 54 0 41 0;