At 13:16 24.04.2006, you wrote:
_ max peak /| /|
/ | / | /| / | /| / | / | _ min peak / | /| / | / | / | /| / |/ |/ |/ |/ |/ |
i'd do it like that:
#N canvas 672 133 616 308 10; #X obj 334 8 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 ; #X msg 375 19 ; pd dsp $1; #X obj 274 104 phasor~ 400; #X obj 94 87 noise~; #X obj 94 109 samphold~; #X floatatom 274 63 5 0 0 0 - - -; #X obj 363 158 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 262 201 *~; #X obj 262 231 tabwrite~ waveform; #X floatatom 167 45 5 0 0 0 - - -; #X floatatom 204 45 5 0 0 0 - - -; #X obj 95 163 expr~ ($v1+1)/2*($v3-$v2)+$v2; #X obj 382 157 table waveform 2000; #X text 170 25 min; #X text 209 27 max; #X text 272 41 freq; #X text 345 137 graph it!; #X connect 0 0 1 0; #X connect 2 0 4 1; #X connect 2 0 7 1; #X connect 3 0 4 0; #X connect 4 0 11 0; #X connect 5 0 2 0; #X connect 6 0 8 0; #X connect 7 0 8 0; #X connect 9 0 11 1; #X connect 10 0 11 2; #X connect 11 0 7 0;