From 65a1b98552d7c6a93aedfb7c9b5d83f9038227cb Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Sat, 31 Dec 2005 00:59:49 +0000 Subject: Added about 64 files that I hadn't realized weren't in the CVS repository. Threw in pd/portaudio/pa_win_wdmks for good measure, although I haven't tried compiling that in yet (no windoze machine handy today). svn path=/trunk/; revision=4316 --- pd/doc/3.audio.examples/J04.corners.pd | 112 +++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 pd/doc/3.audio.examples/J04.corners.pd (limited to 'pd/doc/3.audio.examples/J04.corners.pd') diff --git a/pd/doc/3.audio.examples/J04.corners.pd b/pd/doc/3.audio.examples/J04.corners.pd new file mode 100644 index 00000000..72671d3d --- /dev/null +++ b/pd/doc/3.audio.examples/J04.corners.pd @@ -0,0 +1,112 @@ +#N canvas 612 -7 619 714 12; +#X obj 117 132 wrap~; +#X obj 117 154 -~ 0.5; +#N canvas 0 0 450 300 graph1 0; +#X array \$0-sum 882 float 0; +#X coords 0 0.25 881 -0.25 200 130 1; +#X restore 411 70 graph; +#X text 410 208 ---- 0.02 seconds ----; +#X text 354 676 updated for Pd version 0.39; +#X obj 33 427 output~; +#X obj 127 461 tabwrite~ \$0-sum; +#X obj 117 110 -~; +#X obj 139 69 / 100; +#X floatatom 139 48 4 -100 100 0 - - -; +#X obj 138 312 / 100; +#X floatatom 138 291 4 -100 100 0 - - -; +#X obj 116 334 *~; +#X obj 203 133 wrap~; +#X obj 203 155 -~ 0.5; +#X obj 203 111 -~; +#X obj 225 70 / 100; +#X floatatom 225 49 4 -100 100 0 - - -; +#X obj 225 313 / 100; +#X floatatom 225 292 4 -100 100 0 - - -; +#X obj 203 335 *~; +#X obj 290 134 wrap~; +#X obj 290 156 -~ 0.5; +#X obj 290 112 -~; +#X obj 311 71 / 100; +#X floatatom 311 50 4 -100 100 0 - - -; +#X obj 313 314 / 100; +#X floatatom 313 293 4 -100 100 0 - - -; +#X obj 291 336 *~; +#X text 129 26 -- PHASES (percent) --; +#X text 140 267 AMPLITUDES (percent); +#X obj 91 360 +~; +#X obj 92 386 +~; +#X obj 138 413 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 +1; +#X obj 138 435 metro 193; +#X obj 20 80 phasor~; +#X floatatom 20 59 5 0 0 0 - - -; +#X text 12 36 frequency; +#X obj 116 184 *~; +#X obj 203 184 *~; +#X obj 290 184 *~; +#X obj 116 209 *~ 0.5; +#X obj 116 234 -~ 0.0833; +#X obj 203 209 *~ 0.5; +#X obj 290 209 *~ 0.5; +#X obj 204 234 -~ 0.0833; +#X obj 291 234 -~ 0.0833; +#X text 30 3 Making waveforms with corners using parabolic waves; +#X text 14 499 Here we combine three parabolic waves (in the same way +as \, two patches ago \, we combined sawtooth waves). The parabolic +wave is obtained from the sawtooth wave (assuming it runs from -0.5 +to 0.5) by the formula: y=x*x/2 - 1/12. This is normalized so that +the corner has a slope change of minus one unit per cycle \, and adjusted +to remove any DC component.; +#X text 12 593 In general \, the segments of the result will be curved +\, but if the three magnitudes sum algebraicly to zero \, the segments +will be linear.; +#X text 371 67 0.25; +#X text 362 184 -0.25; +#X text 14 644 Note the reduced scale of the graph (from -0.25 to 0.25) +compared to the previous examples.; +#X connect 0 0 1 0; +#X connect 1 0 38 0; +#X connect 1 0 38 1; +#X connect 7 0 0 0; +#X connect 8 0 7 1; +#X connect 9 0 8 0; +#X connect 10 0 12 1; +#X connect 11 0 10 0; +#X connect 12 0 31 0; +#X connect 13 0 14 0; +#X connect 14 0 39 0; +#X connect 14 0 39 1; +#X connect 15 0 13 0; +#X connect 16 0 15 1; +#X connect 17 0 16 0; +#X connect 18 0 20 1; +#X connect 19 0 18 0; +#X connect 20 0 31 1; +#X connect 21 0 22 0; +#X connect 22 0 40 0; +#X connect 22 0 40 1; +#X connect 23 0 21 0; +#X connect 24 0 23 1; +#X connect 25 0 24 0; +#X connect 26 0 28 1; +#X connect 27 0 26 0; +#X connect 28 0 32 1; +#X connect 31 0 32 0; +#X connect 32 0 6 0; +#X connect 32 0 5 0; +#X connect 32 0 5 1; +#X connect 33 0 34 0; +#X connect 34 0 6 0; +#X connect 35 0 7 0; +#X connect 35 0 15 0; +#X connect 35 0 23 0; +#X connect 36 0 35 0; +#X connect 38 0 41 0; +#X connect 39 0 43 0; +#X connect 40 0 44 0; +#X connect 41 0 42 0; +#X connect 42 0 12 0; +#X connect 43 0 45 0; +#X connect 44 0 46 0; +#X connect 45 0 20 0; +#X connect 46 0 28 0; -- cgit v1.2.1