-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmovement.pat
34 lines (34 loc) · 1.14 KB
/
movement.pat
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
max v2;
#N vpatcher 966 344 1241 650;
#P origin 0 -5;
#P toggle 183 200 15 0;
#P toggle 65 201 15 0;
#P window setfont "Sans Serif" 9.;
#P flonum 45 175 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 134 200 46 196617 select 1;
#P newex 83 201 46 196617 select 1;
#P outlet 83 263 15 0;
#P newex 100 121 67 196617 loadmess $1;
#P newex 157 143 67 196617 loadmess $2;
#P newex 83 175 27 196617 > 2.;
#P inlet 83 143 15 0;
#P newex 83 234 45 196617 onebang;
#P newex 134 176 33 196617 < 1.5;
#P window linecount 2;
#P comment 24 29 218 196617 Patch description: Outputs a bang when the movement is detected;
#P window linecount 3;
#P comment 24 72 219 196617 Movement occurs when the first input increases above parameter 1 (#1) and can't occur again until the input goes below $1 - $1.;
#P fasten 4 0 11 0 88 167 50 167;
#P fasten 5 0 12 0 88 196 70 196;
#P connect 4 0 5 0;
#P connect 5 0 9 0;
#P connect 9 0 3 0;
#P connect 3 0 8 0;
#P connect 7 0 5 1;
#P connect 10 0 3 1;
#P fasten 4 0 2 0 88 167 139 167;
#P connect 2 0 10 0;
#P connect 6 0 2 1;
#P fasten 2 0 13 0 139 196 188 196;
#P pop;