aboutsummaryrefslogtreecommitdiff
path: root/doc/help/cyclone/Peak.pd
blob: 993e55dc6fcbf965a6d11a8edcc7de6a90176d06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#N canvas 233 184 519 473 10;
#X text 12 413 cyclone is (c) Miller Puckette and others;
#X text 12 428 docs based on the MAX/MSP reference (c) cycling'74
;
#X text 11 442 ___________________________________________________ ;
#X obj 43 23 Peak;
#X text 102 24 output only numbers greater than the previous;
#X obj 67 269 Peak;
#X floatatom 12 195 5 0 0 0 - - -;
#X floatatom 67 350 5 0 0 0 - - -;
#X msg 67 98 4 4;
#X text 99 100 is treated like normal input.;
#X msg 67 75 6 7;
#X msg 67 118 3 2;
#X msg 81 145 bang;
#X text 124 145 sends current peak value out the left outlet;
#X floatatom 90 204 5 0 0 0 - - -;
#X text 141 203 set new peak value;
#X obj 78 326 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
;
#X text 103 325 new peak value ?;
#X obj 93 300 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
;
#X text 117 301 !new peak value ?;
#X text 98 87 first number resets peaks value \, then second one;
#X connect 5 0 7 0;
#X connect 5 1 16 0;
#X connect 5 2 18 0;
#X connect 6 0 5 0;
#X connect 8 0 5 0;
#X connect 10 0 5 0;
#X connect 11 0 5 0;
#X connect 12 0 5 0;
#X connect 14 0 5 1;