aboutsummaryrefslogtreecommitdiff
path: root/pd/debounce.pd
blob: 09092c3e48ff0c5f2f64a35181ae79dcaeb909a3 (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
#N canvas 132 316 478 432 10;
#X obj 38 43 inlet;
#X obj 252 108 f \$1;
#X obj 252 85 loadbang;
#X obj 226 33 inlet;
#X obj 251 132 select 0;
#X text 274 34 delay between state change;
#X obj 62 381 outlet;
#X obj 61 325 f;
#X text 298 152 set default;
#X obj 246 189 send \$0-delay;
#X obj 157 271 delay;
#X obj 187 248 receive \$0-delay;
#X text 80 31 float input;
#X text 120 378 debounced float output;
#X msg 250 152 10;
#X obj 100 103 change;
#X connect 0 0 7 1;
#X connect 0 0 15 0;
#X connect 1 0 4 0;
#X connect 2 0 1 0;
#X connect 3 0 9 0;
#X connect 4 0 14 0;
#X connect 4 1 9 0;
#X connect 7 0 6 0;
#X connect 10 0 7 0;
#X connect 11 0 10 1;
#X connect 14 0 9 0;