aboutsummaryrefslogtreecommitdiff
path: root/doc/help/cyclone/change~-help.pd
blob: 94751a08bcc4e95dadd5d05e64e576b88d655c1a (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
#N canvas 1309 108 683 427 10;
#X declare -lib cyclone;
#X text -82 58 Detect signal change and direction;
#X obj 257 288 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X text 281 290 signal isn't the same;
#X msg 118 103 0 \, 0 5000;
#X obj 211 308 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X msg 44 103 500 \, 0 5000;
#X msg -39 103 0 \, 500 5000;
#X text 87 346 detect when signal is increasing;
#X obj 89 329 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 31 349 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj -22 141 line~;
#X text 30 368 detect when signal is decreasing;
#X text 213 326 signal is the same;
#X text -39 87 245 increasing;
#X text 44 87 245 decreasing;
#X text 119 87 245 the same;
#X obj 422 45 import cyclone;
#X obj -22 175 change~;
#X obj 31 270 edge~;
#X obj 89 270 edge~;
#X obj 211 268 edge~;
#X obj 211 234 expr~ $v1==0;
#X obj 111 233 expr~ $v1==1;
#X obj 13 233 expr~ $v1==-1;
#X obj -88 229 Snapshot~ 100;
#X obj -87 261 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-262144 -1 -1 0 256;
#X obj -125 173 Snapshot~ 100;
#X obj -123 196 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0
10 -262144 -1 -1 0 256;
#X connect 3 0 10 0;
#X connect 5 0 10 0;
#X connect 6 0 10 0;
#X connect 10 0 17 0;
#X connect 10 0 26 0;
#X connect 17 0 21 0;
#X connect 17 0 24 0;
#X connect 17 0 23 0;
#X connect 17 0 22 0;
#X connect 18 0 9 0;
#X connect 19 0 8 0;
#X connect 20 0 4 0;
#X connect 20 1 1 0;
#X connect 21 0 20 0;
#X connect 22 0 19 0;
#X connect 23 0 18 0;
#X connect 24 0 25 0;
#X connect 26 0 27 0;