#N canvas 365 19 619 652 10;
#X obj 117 152 wrap~;
#X obj 117 174 -~ 0.5;
#N canvas 0 0 450 300 (subpatch) 0;
#X array \$0-sum 882 float 0;
#X coords 0 0.25 881 -0.25 200 130 1;
#X restore 411 90 graph;
#X text 410 228 ---- 0.02 seconds ----;
#X obj 33 447 output~;
#X obj 118 474 tabwrite~ \$0-sum;
#X obj 117 130 -~;
#X obj 139 89 / 100;
#X floatatom 139 68 4 -100 100 0 - - -, f 4;
#X obj 138 332 / 100;
#X floatatom 138 311 4 -100 100 0 - - -, f 4;
#X obj 116 354 *~;
#X obj 203 153 wrap~;
#X obj 203 175 -~ 0.5;
#X obj 203 131 -~;
#X obj 225 90 / 100;
#X floatatom 225 69 4 -100 100 0 - - -, f 4;
#X obj 225 333 / 100;
#X floatatom 225 312 4 -100 100 0 - - -, f 4;
#X obj 203 355 *~;
#X obj 290 154 wrap~;
#X obj 290 176 -~ 0.5;
#X obj 290 132 -~;
#X obj 311 91 / 100;
#X floatatom 311 70 4 -100 100 0 - - -, f 4;
#X obj 313 334 / 100;
#X floatatom 313 313 4 -100 100 0 - - -, f 4;
#X obj 291 356 *~;
#X text 129 46 -- PHASES (percent) --;
#X text 140 287 AMPLITUDES (percent);
#X obj 91 380 +~;
#X obj 92 406 +~;
#X obj 129 426 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X obj 129 448 metro 193;
#X obj 20 100 phasor~;
#X floatatom 20 79 5 0 0 0 - - -, f 5;
#X text 12 56 frequency;
#X obj 116 204 *~;
#X obj 203 204 *~;
#X obj 290 204 *~;
#X obj 116 229 *~ 0.5;
#X obj 116 254 -~ 0.0833;
#X obj 203 229 *~ 0.5;
#X obj 290 229 *~ 0.5;
#X obj 204 254 -~ 0.0833;
#X obj 291 254 -~ 0.0833;
#X text 20 507 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 20 582 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 87 0.25;
#X text 362 204 -0.25;
#X text 20 624 Note the reduced scale of the graph (from -0.25 to 0.25)
compared to the previous examples.;
#X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header making_waveforms_with_corners...
20 10 1 18 -261139 -33289 0;
#X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp
;
#X text 19 37 ...using parabolic waves;
#X obj 1 668 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0
14 -233017 -33289 0;
#N canvas 44 246 494 284 META 0;
#X text 12 135 WEBSITE http://crca.ucsd.edu/~msp/;
#X text 12 115 AUTHOR Miller Puckette;
#X text 12 95 LIBRARY PDDP;
#X text 12 5 GENRE tutorial;
#X text 12 45 LICENSE SIBSD;
#X text 12 155 HELP_PATCH_AUTHORS Updated for release 0.39. Jonathan
Wilkes revised the patch to conform to the PDDP template for Pd version
0.42.;
#X text 12 25 KEYWORDS signal;
#X text 12 65 DESCRIPTION making waveforms with corners using parabolic
waves;
#X restore 392 670 pd META;
#N canvas 13 202 428 190 References 0;
#X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0
14 -261139 -33289 0;
#X text 7 2 waveforms with corners- Related Help Documents;
#X text 19 37 links:;
#X restore 103 670 pd References;
#X obj 6 670 pddp/pddplink ../5.reference/pddp/help.pd -text help;
#X connect 0 0 1 0;
#X connect 1 0 37 0;
#X connect 1 0 37 1;
#X connect 6 0 0 0;
#X connect 7 0 6 1;
#X connect 8 0 7 0;
#X connect 9 0 11 1;
#X connect 10 0 9 0;
#X connect 11 0 30 0;
#X connect 12 0 13 0;
#X connect 13 0 38 0;
#X connect 13 0 38 1;
#X connect 14 0 12 0;
#X connect 15 0 14 1;
#X connect 16 0 15 0;
#X connect 17 0 19 1;
#X connect 18 0 17 0;
#X connect 19 0 30 1;
#X connect 20 0 21 0;
#X connect 21 0 39 0;
#X connect 21 0 39 1;
#X connect 22 0 20 0;
#X connect 23 0 22 1;
#X connect 24 0 23 0;
#X connect 25 0 27 1;
#X connect 26 0 25 0;
#X connect 27 0 31 1;
#X connect 30 0 31 0;
#X connect 31 0 5 0;
#X connect 31 0 4 0;
#X connect 31 0 4 1;
#X connect 32 0 33 0;
#X connect 33 0 5 0;
#X connect 34 0 6 0;
#X connect 34 0 14 0;
#X connect 34 0 22 0;
#X connect 35 0 34 0;
#X connect 37 0 40 0;
#X connect 38 0 42 0;
#X connect 39 0 43 0;
#X connect 40 0 41 0;
#X connect 41 0 11 0;
#X connect 42 0 44 0;
#X connect 43 0 45 0;
#X connect 44 0 19 0;
#X connect 45 0 27 0;
