From e16a35b811019cf0c54c26078243fc8cc5a87916 Mon Sep 17 00:00:00 2001 From: Gerard van Dongen Date: Mon, 27 Oct 2003 15:40:42 +0000 Subject: added renamed ff help patches svn path=/trunk/externals/ff/; revision=1140 --- ff/ff-autocenter-help.pd | 9 +++++++ ff/ff-constant-help.pd | 39 +++++++++++++++++++++++++++++ ff/ff-gain-help.pd | 8 ++++++ ff/ff-periodic-help.pd | 44 ++++++++++++++++++++++++++++++++ ff/ff-spring-help.pd | 65 ++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 165 insertions(+) create mode 100644 ff/ff-autocenter-help.pd create mode 100644 ff/ff-constant-help.pd create mode 100644 ff/ff-gain-help.pd create mode 100644 ff/ff-periodic-help.pd create mode 100644 ff/ff-spring-help.pd diff --git a/ff/ff-autocenter-help.pd b/ff/ff-autocenter-help.pd new file mode 100644 index 0000000..323afd8 --- /dev/null +++ b/ff/ff-autocenter-help.pd @@ -0,0 +1,9 @@ +#N canvas 393 404 450 300 10; +#X text 30 34 sets the amount of "autocentering" of the force-feedback +joystick. Range is [0 \, 1]. 0 is no auto-centering; +#X msg 48 141 0.5; +#X obj 48 191 ff-autocenter 0 0; +#X text 29 69 creation arguments are the device number (starting at +0) and autocenter amount. This affects all effects for that device +; +#X connect 1 0 2 0; diff --git a/ff/ff-constant-help.pd b/ff/ff-constant-help.pd new file mode 100644 index 0000000..48a8fb7 --- /dev/null +++ b/ff/ff-constant-help.pd @@ -0,0 +1,39 @@ +#N canvas 161 237 742 413 10; +#X msg 68 150 bang; +#X msg 44 213 stop; +#X floatatom 301 269 5 0 0 0 - - -; +#X floatatom 187 214 5 0 0 0 - - -; +#X text 185 196 direction in degrees; +#X floatatom 244 249 5 0 0 0 - - -; +#X text 340 264 level \, range = [-1 \, 1]; +#X text 7 130 start the effect; +#X text 12 146 with a; +#X msg 131 77 delay 250; +#X msg 131 48 interval 500; +#X text 229 79 delay before starting; +#X text 229 50 minimum time between triggers; +#X obj 131 290 ff-constant 0 45 1000 0.5; +#X text 107 314 arguments are inputdevice-number \, direction \, duration +and level; +#X msg 131 151 load; +#X msg 131 175 unload; +#X text 191 150 a load message \, uploads an effect to the stick; +#X text 190 175 an unload message \, removes it; +#X text 303 110 startlevel attack-duration (ms) endlevel decay-duration +; +#X msg 131 112 envelope 0 500 0.5 100; +#X text 300 125 levels are in the range [0 \, 1].; +#X text 109 352 the outlet gives the effect number on the device or +-1 if it is not loaded.; +#X text 241 221 duration in ms \, 0 is infinite \, this includes the +attack/decay times; +#X connect 0 0 13 0; +#X connect 1 0 13 0; +#X connect 2 0 13 3; +#X connect 3 0 13 1; +#X connect 5 0 13 2; +#X connect 9 0 13 0; +#X connect 10 0 13 0; +#X connect 15 0 13 0; +#X connect 16 0 13 0; +#X connect 20 0 13 0; diff --git a/ff/ff-gain-help.pd b/ff/ff-gain-help.pd new file mode 100644 index 0000000..94b1008 --- /dev/null +++ b/ff/ff-gain-help.pd @@ -0,0 +1,8 @@ +#N canvas 0 0 450 300 10; +#X text 26 62 sets the overall gain [0 \, 1] of the force-feedback +joystick on the device.; +#X msg 74 182 0.3; +#X obj 74 222 ff-gain 0 0.5; +#X text 24 105 creation arguments are the device-number (starting at +0) and gain. This effects all effects for that device; +#X connect 1 0 2 0; diff --git a/ff/ff-periodic-help.pd b/ff/ff-periodic-help.pd new file mode 100644 index 0000000..f280692 --- /dev/null +++ b/ff/ff-periodic-help.pd @@ -0,0 +1,44 @@ +#N canvas 155 183 711 418 10; +#X msg 27 211 bang; +#X msg 3 274 stop; +#X floatatom 340 294 5 0 0 0 - - -; +#X msg 87 12 waveform sine; +#X msg 87 35 period 400; +#X msg 87 86 phase 90; +#X msg 87 60 offset 0.25; +#X text 192 13 square|sine|triangle|saw_up|saw_down; +#X text 192 35 period time in ms (defaults 1000 ms); +#X text 194 59 waveform offset from center [-1 \, 1] (defaults 0=centered) +; +#X floatatom 169 234 5 0 0 0 - - -; +#X text 164 210 direction in degrees; +#X floatatom 257 263 5 0 0 0 - - -; +#X text 338 274 level \, range = [-1 \, 1]; +#X text 255 89 waveform phase in degrees; +#X text -34 191 start the effect; +#X text -29 207 with a; +#X msg 87 139 delay 250; +#X msg 87 113 interval 500; +#X text 255 143 delay before starting; +#X text 257 114 minimum time between triggers; +#X obj 87 329 ff-periodic 0 0 0 0.5; +#X text 90 354 arguments are device-number \, duration and level; +#X msg 87 168 envelope 0 1000 0 100; +#X text 259 160 startlevel attack-duration endlevel decay-duration +levels or in the range [0 \, 1]; +#X text 254 226 duration in ms \, 0 is infinite \, this includes the +attack/decay times; +#X text 90 370 the outlet gives the effect number on the device or +-1 if it is not loaded.; +#X connect 0 0 21 0; +#X connect 1 0 21 0; +#X connect 2 0 21 3; +#X connect 3 0 21 0; +#X connect 4 0 21 0; +#X connect 5 0 21 0; +#X connect 6 0 21 0; +#X connect 10 0 21 1; +#X connect 12 0 21 2; +#X connect 17 0 21 0; +#X connect 18 0 21 0; +#X connect 23 0 21 0; diff --git a/ff/ff-spring-help.pd b/ff/ff-spring-help.pd new file mode 100644 index 0000000..980ff2c --- /dev/null +++ b/ff/ff-spring-help.pd @@ -0,0 +1,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; -- cgit v1.2.1