#N canvas 387 23 561 651 10;
#X floatatom 232 201 4 0 127 0 - - -, f 4;
#X text 228 163 center;
#X obj 232 268 line~;
#X obj 232 245 pack 0 50;
#X floatatom 165 206 4 0 127 0 - - -, f 4;
#X text 113 164 fundamental;
#X floatatom 357 212 4 0 127 0 - - -, f 4;
#X obj 357 283 line~;
#X obj 92 546 *~;
#X obj 357 260 pack 0 50;
#X obj 92 595 cos~;
#X obj 166 270 mtof;
#X obj 254 293 expr 1/$f1;
#X obj 232 221 mtof;
#X text 227 178 freq.;
#X obj 232 317 *~;
#X text 354 191 bandwidth;
#X obj 357 234 mtof;
#X obj 356 326 *~;
#X text 397 318 divide by fundamental;
#X text 109 180 (MIDI units);
#X obj 96 680 output~;
#X obj 39 381 phasor~;
#X obj 431 439 +~ 0.5;
#X obj 431 464 wrap~;
#X text 402 384 second phase signal;
#X text 403 399 out of phase from;
#X text 401 416 first one;
#X obj 92 618 +~ 1;
#X obj 38 482 -~ 0.5;
#X obj 95 652 +~;
#X obj 37 546 *~;
#X obj 37 569 cos~;
#X obj 174 516 samphold~;
#X obj 86 515 samphold~;
#X obj 36 594 *~;
#X obj 92 570 clip~ -0.5 0.5;
#X obj 332 557 *~;
#X obj 332 606 cos~;
#X obj 332 629 +~ 1;
#X obj 278 493 -~ 0.5;
#X obj 277 557 *~;
#X obj 277 580 cos~;
#X obj 414 527 samphold~;
#X obj 326 526 samphold~;
#X obj 276 605 *~;
#X obj 332 581 clip~ -0.5 0.5;
#X obj 356 350 max~ 1;
#X obj 165 245 - 12;
#X text 19 112 The patch is almost exactly like B13 (the overlapping
sample) except that \, instead of using tabread~ we just use cos~ \,
and that we control pulse width (for bandwidth) as well as wavetable
transposition (for center frequency).;
#X text 19 37 The stretched wavetable method is an alternative to the
PAF generator \, slightly more expensive in processing time but with
two advantages: first \, it is not patent encumbered (PAF patent runs
out in 2011) and second \, it can be generalized to use samples instead
of sinusoids to make complex spectral shapes.;
#X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header wave_packets_as_alternative_to_PAF
20 10 1 18 -261139 -33289 0;
#X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp
;
#X obj 1 745 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 125 WEBSITE http://crca.ucsd.edu/~msp/;
#X text 12 105 AUTHOR Miller Puckette;
#X text 12 85 LIBRARY PDDP;
#X text 12 5 GENRE tutorial;
#X text 12 45 LICENSE SIBSD;
#X text 12 145 HELP_PATCH_AUTHORS Updated for release 0.40. 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 wave packets as alternative to PAF;
#X restore 392 747 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 wave packets- Related Help Documents;
#X text 19 37 links:;
#X restore 103 747 pd References;
#X obj 6 747 pddp/pddplink ../5.reference/pddp/help.pd -text help;
#X connect 0 0 13 0;
#X connect 2 0 15 0;
#X connect 3 0 2 0;
#X connect 4 0 48 0;
#X connect 6 0 17 0;
#X connect 7 0 18 0;
#X connect 8 0 36 0;
#X connect 9 0 7 0;
#X connect 10 0 28 0;
#X connect 11 0 12 0;
#X connect 11 0 22 0;
#X connect 12 0 15 1;
#X connect 12 0 18 1;
#X connect 13 0 3 0;
#X connect 15 0 34 0;
#X connect 15 0 44 0;
#X connect 17 0 9 0;
#X connect 18 0 47 0;
#X connect 22 0 23 0;
#X connect 22 0 29 0;
#X connect 22 0 34 1;
#X connect 22 0 33 1;
#X connect 23 0 24 0;
#X connect 24 0 40 0;
#X connect 24 0 44 1;
#X connect 24 0 43 1;
#X connect 28 0 35 1;
#X connect 29 0 8 0;
#X connect 29 0 31 0;
#X connect 30 0 21 0;
#X connect 30 0 21 1;
#X connect 31 0 32 0;
#X connect 32 0 35 0;
#X connect 33 0 8 1;
#X connect 34 0 31 1;
#X connect 35 0 30 0;
#X connect 36 0 10 0;
#X connect 37 0 46 0;
#X connect 38 0 39 0;
#X connect 39 0 45 1;
#X connect 40 0 37 0;
#X connect 40 0 41 0;
#X connect 41 0 42 0;
#X connect 42 0 45 0;
#X connect 43 0 37 1;
#X connect 44 0 41 1;
#X connect 45 0 30 1;
#X connect 46 0 38 0;
#X connect 47 0 33 0;
#X connect 47 0 43 0;
#X connect 48 0 11 0;
