aboutsummaryrefslogtreecommitdiff
path: root/doc/help/cyclone/peakamp~-help.pd
blob: 1691280b6eb10b1e38c4dba2a25d889cedd0f6ca (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#N canvas 620 81 567 529 10;
#X obj 0 559 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289
0;
#X obj 0 315 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0
;
#N canvas 615 359 363 235 META 0;
#X text 1 19 LICENSE SIBSD;
#X text 1 114 LIBRARY cyclone;
#X text 1 0 KEYWORDS signal amplitude peak max maximum measure;
#X text 1 38 DESCRIPTION measure the peak amplitude of a signal;
#X text 1 57 INLET_0 signal bang;
#X text 1 76 INLET_1 float;
#X text 1 95 OUTLET_0 signal;
#X text 0 134 VERSION 0.1-alpha57;
#X text 0 152 AUTHOR Krzysztof Czaja;
#X text 1 170 RELEASE_DATE 2002;
#X text 2 189 WEBSITE http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html
;
#X text 2 221 HELP_PATCH_AUTHORS Christoph Kummerer. Revised by Jonathan
Wilkes for Pd-extended 0.42 to conform to the PDDP template. Alex Cleveland
updated this patch for Pd-l2ork version 2013.05.28. Fred Jan Kraan
adapted the patch to pd-extended 2015-02-02;
#X restore 501 561 pd META;
#X obj 0 399 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0
;
#X obj 0 436 cnv 3 550 3 empty empty arguments 8 12 0 13 -228856 -1
0;
#X obj 0 475 cnv 3 550 3 empty empty 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 empty empty 3 12 0 14 -204280 -1 0;
#X text 6 1 Related Objects;
#X restore 205 561 pd Related_objects;
#X obj 78 324 cnv 17 3 34 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 78 371 cnv 17 3 17 empty empty 1 5 9 0 16 -228856 -162280 0
;
#X obj 0 0 cnv 15 552 40 empty empty peakamp~ 3 12 0 18 -204280 -1
0;
#X obj 489 8 peakamp~;
#X text 12 22 measure the peak amplitude of a signal;
#X text 110 323 signal;
#X text 178 323 - signal to measure peak amplitude;
#X text 110 342 bang;
#X floatatom 226 221 10 0 0 0 - - -;
#X obj 176 221 * 1000;
#X obj 176 246 osc~;
#X text 178 342 - output current peak value;
#X text 110 407 float;
#X text 178 407 - output current peak amplitude of signal;
#X obj 78 408 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X text 110 371 float;
#X text 93 446 1) float;
#X text 119 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 text 178 447 - optional \, report peak amp every x miliseconds;
#X text 178 371 - report every x miliseconds;
#X obj 177 271 output~;
#X obj 176 166 cyclone/peakamp~ 25;
#X text 88 49 Example: the amplitude sets the frequency;
#X obj 177 95 cyclone/click~;
#X obj 177 71 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 176 119 *~ 0;
#X obj 123 71 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144
-1 -1 0 1;
#X connect 16 0 17 0;
#X connect 17 0 27 0;
#X connect 17 0 27 1;
#X connect 28 0 15 0;
#X connect 28 0 16 0;
#X connect 30 0 32 0;
#X connect 31 0 30 0;
#X connect 32 0 28 0;
#X connect 33 0 32 1;