#N canvas 427 35 558 587 10;
#X obj -1 559 cnv 15 552 21 empty \$0-pddp.cnv.footer empty 20 12 0
14 -233017 -33289 0;
#X obj -1 315 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 8 12 0 13
-228856 -1 0;
#N canvas 617 360 363 235 META 0;
#X text -166 154 WEBSITE http://crca.ucsd.edu/~msp/;
#X text -166 21 LICENSE SIBSD;
#X text -166 135 AUTHOR Miller Puckette;
#X text -166 173 RELEASE_DATE 1997;
#X text -166 116 LIBRARY cyclone;
#X text -166 192 HELP_PATCH_AUTHORS Alex Cleveland updated this patch
for Pd-l2ork version 2013.05.28;
#X text -166 2 KEYWORDS signal amplitude peak max maximum measure;
#X text -166 40 DESCRIPTION measure the peak amplitude of a signal
;
#X text -166 59 INLET_0 signal bang;
#X text -166 78 INLET_1 float;
#X text -166 97 OUTLET_0 signal;
#X restore 500 561 pd META;
#X obj -1 399 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 8 12 0
13 -228856 -1 0;
#X obj -1 436 cnv 3 550 3 empty \$0-pddp.cnv.argument arguments 8 12
0 13 -228856 -1 0;
#X obj -1 475 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 8
12 0 13 -228856 -1 0;
#N canvas 320 482 428 109 Related_objects 0;
#X obj 0 0 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0
14 -204280 -1 0;
#X text 6 1 Related Objects;
#X restore 204 561 pd Related_objects;
#X obj 77 324 cnv 17 3 34 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
-162280 0;
#X obj 77 371 cnv 17 3 17 empty \$0-pddp.cnv.let.0 1 5 9 0 16 -228856
-162280 0;
#X obj -1 0 cnv 15 552 40 empty \$0-pddp.cnv.header peakamp~ 3 12 0
18 -204280 -1 0;
#X obj 488 8 peakamp~;
#X text 11 22 measure the peak amplitude of a signal;
#X text 109 323 signal;
#X text 177 323 - signal to measure peak amplitude;
#X text 109 342 bang;
#X floatatom 290 95 0 0 0 0 - - -;
#X floatatom 245 141 10 0 0 0 - - -, f 10;
#X floatatom 30 219 5 0 0 0 - - -, f 5;
#X obj 224 85 adc~;
#X obj 30 197 peakamp~;
#X obj 290 73 hsl 128 15 0 127 0 1 empty empty empty -2 -8 0 10 -262144
-1 -1 12700 1;
#X obj 245 119 peakamp~;
#X floatatom 274 195 10 0 0 0 - - -, f 10;
#X obj 46 170 metro 250;
#X obj 46 151 tgl 15 1 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj 30 126 *~;
#X obj 30 80 noise~;
#X obj 45 104 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 0 1;
#X floatatom 62 126 5 0 0 0 - - -, f 5;
#X obj 224 195 * 1000;
#X obj 224 220 osc~;
#X obj 224 243 *~ 0.2;
#X obj 224 266 dac~;
#X obj 257 221 hsl 128 15 0.01 1 1 0 empty empty volume 15 8 0 10 -204786
-1 -1 0 1;
#X obj 224 165 peakamp~ 25;
#X text 267 244 Example: the amplitude sets the frequency;
#X text 177 342 - output current peak value;
#X text 109 407 float;
#X text 177 407 - output current peak amplitude of signal;
#X obj 77 408 cnv 17 3 17 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
-162280 0;
#X text 109 371 float;
#X text 92 446 1) float;
#X text 118 489 peakamp~ tracks and outputs the absolute value of the
peak amplitude of the incoming signal. It outputs when banged or using
its own internal clock. The peak value is reset each time peakamp~
outputs a value.;
#X obj 478 50 pddp/dsp;
#X text 318 93 <-- set the delay for the internal metro;
#X text 305 160 <-- argument causes automatic reporting;
#X text 177 447 - optional \, report peak amp every x miliseconds;
#X text 177 371 - report every x miliseconds;
#X obj 10 559 pddp/pddplink @pd_help/all_about_help_patches.pd -text Usage Guide
;
#X connect 15 0 21 1;
#X connect 18 0 34 0;
#X connect 18 1 21 0;
#X connect 19 0 17 0;
#X connect 20 0 15 0;
#X connect 21 0 16 0;
#X connect 23 0 19 0;
#X connect 24 0 23 0;
#X connect 25 0 19 0;
#X connect 26 0 25 0;
#X connect 27 0 28 0;
#X connect 27 0 25 1;
#X connect 29 0 30 0;
#X connect 30 0 31 0;
#X connect 31 0 32 0;
#X connect 31 0 32 1;
#X connect 33 0 31 1;
#X connect 34 0 22 0;
#X connect 34 0 29 0;
