summaryrefslogtreecommitdiff
path: root/help/edge-help.pd
blob: 8f0f99a4838ed6189ef5e5a715a51a3a78fc7ee9 (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
#N canvas 503 83 557 515 10;
#X obj 0 0 cnv 15 552 40 empty empty edge 3 12 0 18 -204280 -1 0;
#X obj 0 278 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0
;
#X obj 0 319 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0
;
#X obj 0 377 cnv 3 550 3 empty empty arguments 8 12 0 13 -228856 -1
0;
#X obj 79 328 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 79 289 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 0 474 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289
0;
#N canvas 242 347 428 75 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 206 476 pd Related_objects;
#N canvas 509 577 379 261 META 0;
#X text 12 167 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
Wilkes for Pd version 0.42. Updated by Fred Jan Kraan 2016-02.;
#X text 12 125 AUTHOR Olaf Matthes;
#X text 12 25 LICENSE GPL v2;
#X text 12 5 KEYWORDS control analysis;
#X text 12 45 DESCRIPTION detect rising or falling edge in floats;
#X text 12 65 INLET_0 float;
#X text 12 85 OUTLET_0 bang;
#X text 12 105 OUTLET_1 bang;
#X text 12 146 MAINTAINER Fred Jan Kraan <fjkraan@xs4all.nl>;
#X restore 502 478 pd META;
#X obj 513 4 allow;
#X obj 79 354 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X text 107 288 float;
#X text 162 288 - divident \, converted to integer;
#X text 8 23 detect rising or falling edge in floats;
#X obj 100 241 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -4034
-1;
#X obj 163 240 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -258113
-1;
#X floatatom 125 77 5 0 0 0 - - -, f 5;
#X obj 100 71 tgl 20 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
;
#X obj 100 154 maxlib/edge;
#X text 107 354 bang;
#X text 107 328 bang;
#X obj 0 412 cnv 3 550 3 empty empty more_info 8 12 0 13 -228856 -1
0;
#X text 161 328 - falling edge detected (from <= 0 to > 0);
#X text 162 354 - rising edge detected (from > 0 to <= 0);
#X text 88 428 modified behavour so it actually works with floats.
Previously it triggered outlets on 0 -> 1 and 1 -> 0;
#X connect 16 0 18 0;
#X connect 17 0 18 0;
#X connect 18 0 14 0;
#X connect 18 1 15 0;