aboutsummaryrefslogtreecommitdiff
path: root/ff/ff-spring-help.pd
blob: 980ff2c5eb33e8f68851badb056b41ece65e6bc1 (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
#N canvas 173 83 685 588 10;
#X msg 46 262 bang;
#X msg 102 261 stop;
#X text 39 242 with a;
#X msg 141 129 delay 250;
#X msg 141 104 interval 500;
#X text 275 130 delay before starting;
#X text 239 104 minimum time between triggers;
#X text 292 192 coefficients that determine how fast;
#X text 292 204 the effect increases in that direction;
#X text 292 215 range = [-1 \, 1];
#X text 261 279 width of the dead-zone \, where there is no effect
;
#X text 261 303 range is (like the joystick output) [-32768 \, 32767]
;
#X text 262 290 one for each axis;
#X text 262 332 position of the dead-zone in the joystick range;
#X text 262 344 one for each axis;
#X text 262 356 range is also [-32768 \, 32767];
#X floatatom 204 411 5 0 0 0 - - -;
#X floatatom 331 458 5 0 0 0 - - -;
#X floatatom 267 458 5 0 0 0 - - -;
#X text 200 388 duration in ms \, 0 is infinite;
#X floatatom 394 458 5 0 0 0 - - -;
#X floatatom 458 461 5 0 0 0 - - -;
#X text 267 422 levels \, range = [0 \, 1];
#X text 266 439 right;
#X text 332 438 left;
#X text 392 438 up;
#X text 458 439 down;
#X text 34 229 start;
#X text 4 79 ff-friction has the same methods;
#X text 5 33 ff-spring is a "conditional effect".;
#X obj 141 484 ff-spring 0 2000 0.5 0.5 0 0.1;
#X text 141 507 creation arguments are device-number \, duration right-
\, left- \, up- and down-level;
#X msg 141 281 deadband-x 1200;
#X msg 141 306 deadband-y 300;
#X msg 141 335 center-x 0;
#X msg 141 358 center-y 20000;
#X msg 141 195 left-coeff 1;
#X msg 141 173 right-coeff 1;
#X msg 141 219 up-coeff -0.7;
#X msg 141 242 down-coeff -1;
#X text 6 49 these effects set up 2 axes (x and y) and you specify
the parameters for each direction.;
#X text 139 540 the outlet gives the effect number on the device or
-1 if it is not loaded.;
#X connect 0 0 30 0;
#X connect 1 0 30 0;
#X connect 3 0 30 0;
#X connect 4 0 30 0;
#X connect 16 0 30 1;
#X connect 17 0 30 3;
#X connect 18 0 30 2;
#X connect 20 0 30 4;
#X connect 21 0 30 5;
#X connect 32 0 30 0;
#X connect 33 0 30 0;
#X connect 34 0 30 0;
#X connect 35 0 30 0;
#X connect 36 0 30 0;
#X connect 37 0 30 0;
#X connect 38 0 30 0;
#X connect 39 0 30 0;