From df54d3d3d4aab0481ab8a0e9ad23c97ac039ddf9 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 19 Apr 2010 05:02:31 +0000 Subject: make [hid] into a libdir-ish folder like earplug~ and freeverb~, and make sure hid-help.pd gets installed svn path=/trunk/externals/hcs/hid/; revision=13454 --- buttongate-help.pd | 40 ++++ deg2hid-help.pd | 25 ++ doc/TODO | 14 -- doc/buttongate-help.pd | 40 ---- doc/deg2hid-help.pd | 25 -- doc/hid-help.pd | 573 --------------------------------------------- doc/hid2deg-help.pd | 24 -- doc/hid2rad-help.pd | 25 -- doc/hid_average-help.pd | 34 --- doc/hid_centered-help.pd | 37 --- doc/hid_cube-help.pd | 58 ----- doc/hid_cuberoot-help.pd | 58 ----- doc/hid_exp-help.pd | 58 ----- doc/hid_graph-help.pd | 28 --- doc/hid_invert-help.pd | 22 -- doc/hid_log-help.pd | 58 ----- doc/hid_lowpass-help.pd | 36 --- doc/hid_menu-help.pd | 10 - doc/hid_one2four-help.pd | 39 --- doc/hid_one2three-help.pd | 34 --- doc/hid_one2two-help.pd | 29 --- doc/hid_polar-help.pd | 41 ---- doc/hid_rel2abs-help.pd | 36 --- doc/hid_smooth-help.pd | 29 --- doc/hid_spiral-help.pd | 41 ---- doc/hid_square-help.pd | 58 ----- doc/hid_squareroot-help.pd | 58 ----- doc/joystick-help.pd | 146 ------------ doc/keyboard-help.pd | 144 ------------ doc/keygate-help.pd | 34 --- doc/mouse-help.pd | 162 ------------- doc/notescale-help.pd | 45 ---- doc/rad2hid-help.pd | 25 -- hid-help.pd | 573 +++++++++++++++++++++++++++++++++++++++++++++ hid-meta.pd | 9 + hid2deg-help.pd | 24 ++ hid2rad-help.pd | 25 ++ hid_average-help.pd | 34 +++ hid_centered-help.pd | 37 +++ hid_cube-help.pd | 58 +++++ hid_cuberoot-help.pd | 58 +++++ hid_exp-help.pd | 58 +++++ hid_graph-help.pd | 28 +++ hid_invert-help.pd | 22 ++ hid_log-help.pd | 58 +++++ hid_lowpass-help.pd | 36 +++ hid_menu-help.pd | 10 + hid_one2four-help.pd | 39 +++ hid_one2three-help.pd | 34 +++ hid_one2two-help.pd | 29 +++ hid_polar-help.pd | 41 ++++ hid_rel2abs-help.pd | 36 +++ hid_smooth-help.pd | 29 +++ hid_spiral-help.pd | 41 ++++ hid_square-help.pd | 58 +++++ hid_squareroot-help.pd | 58 +++++ joystick-help.pd | 146 ++++++++++++ keyboard-help.pd | 144 ++++++++++++ keygate-help.pd | 34 +++ mouse-help.pd | 162 +++++++++++++ notescale-help.pd | 45 ++++ rad2hid-help.pd | 25 ++ 62 files changed, 2016 insertions(+), 2021 deletions(-) create mode 100644 buttongate-help.pd create mode 100644 deg2hid-help.pd delete mode 100644 doc/TODO delete mode 100644 doc/buttongate-help.pd delete mode 100644 doc/deg2hid-help.pd delete mode 100644 doc/hid-help.pd delete mode 100644 doc/hid2deg-help.pd delete mode 100644 doc/hid2rad-help.pd delete mode 100644 doc/hid_average-help.pd delete mode 100644 doc/hid_centered-help.pd delete mode 100644 doc/hid_cube-help.pd delete mode 100644 doc/hid_cuberoot-help.pd delete mode 100644 doc/hid_exp-help.pd delete mode 100644 doc/hid_graph-help.pd delete mode 100644 doc/hid_invert-help.pd delete mode 100644 doc/hid_log-help.pd delete mode 100644 doc/hid_lowpass-help.pd delete mode 100644 doc/hid_menu-help.pd delete mode 100644 doc/hid_one2four-help.pd delete mode 100644 doc/hid_one2three-help.pd delete mode 100644 doc/hid_one2two-help.pd delete mode 100644 doc/hid_polar-help.pd delete mode 100644 doc/hid_rel2abs-help.pd delete mode 100644 doc/hid_smooth-help.pd delete mode 100644 doc/hid_spiral-help.pd delete mode 100644 doc/hid_square-help.pd delete mode 100644 doc/hid_squareroot-help.pd delete mode 100644 doc/joystick-help.pd delete mode 100644 doc/keyboard-help.pd delete mode 100644 doc/keygate-help.pd delete mode 100644 doc/mouse-help.pd delete mode 100644 doc/notescale-help.pd delete mode 100644 doc/rad2hid-help.pd create mode 100644 hid-help.pd create mode 100644 hid-meta.pd create mode 100644 hid2deg-help.pd create mode 100644 hid2rad-help.pd create mode 100644 hid_average-help.pd create mode 100644 hid_centered-help.pd create mode 100644 hid_cube-help.pd create mode 100644 hid_cuberoot-help.pd create mode 100644 hid_exp-help.pd create mode 100644 hid_graph-help.pd create mode 100644 hid_invert-help.pd create mode 100644 hid_log-help.pd create mode 100644 hid_lowpass-help.pd create mode 100644 hid_menu-help.pd create mode 100644 hid_one2four-help.pd create mode 100644 hid_one2three-help.pd create mode 100644 hid_one2two-help.pd create mode 100644 hid_polar-help.pd create mode 100644 hid_rel2abs-help.pd create mode 100644 hid_smooth-help.pd create mode 100644 hid_spiral-help.pd create mode 100644 hid_square-help.pd create mode 100644 hid_squareroot-help.pd create mode 100644 joystick-help.pd create mode 100644 keyboard-help.pd create mode 100644 keygate-help.pd create mode 100644 mouse-help.pd create mode 100644 notescale-help.pd create mode 100644 rad2hid-help.pd diff --git a/buttongate-help.pd b/buttongate-help.pd new file mode 100644 index 0000000..ae6c733 --- /dev/null +++ b/buttongate-help.pd @@ -0,0 +1,40 @@ +#N canvas 345 96 463 514 10; +#X declare -lib hid; +#X obj 5 2 cnv 15 450 20 empty empty buttongate 2 11 1 18 -233017 +-66577 0; +#X obj 160 287 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 160 151 loadbang; +#X msg 160 171 1; +#X obj 160 199 metro 150; +#X text 27 470 (C) Copyright 2004 Hans-Christoph Steiner +; +#X text 244 484 released under the GNU GPL; +#X obj 223 417 pddp/pddplink ../all_about_hid.pd -text all_about_hid; +#X text 114 418 For more info:; +#X text 17 38 [buttongate] is a simple gate controlled by a HID button. +You must specify the device and the button which controls the gate. +The left inlet takes the data to be gated. The right inlet is for sending +optional control messages to the HID.; +#X obj 160 244 buttongate 0 btn_0; +#X text 18 119 The first button on the first device controls this gate: +; +#X text 15 237 data to be gated -->; +#X text 292 237 <-- msgs to [hid]; +#X obj 281 288 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X msg 310 197 refresh; +#X msg 299 176 open 2; +#X text 39 294 button pressed->; +#X text 310 293 <-- button released; +#X text 23 348 Keyboard keys can also be used to control this object. +You can get the [hid] keycode from here:; +#X obj 324 368 ev_key-list; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X connect 2 0 3 0; +#X connect 3 0 4 0; +#X connect 4 0 10 0; +#X connect 10 0 1 0; +#X connect 10 1 14 0; +#X connect 15 0 10 1; +#X connect 16 0 10 1; diff --git a/deg2hid-help.pd b/deg2hid-help.pd new file mode 100644 index 0000000..766504f --- /dev/null +++ b/deg2hid-help.pd @@ -0,0 +1,25 @@ +#N canvas 82 386 483 323 10; +#X declare -lib hid; +#X obj 5 2 cnv 15 450 20 empty empty deg2hid 2 11 1 18 -233017 -66577 +0; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X text 254 269 released under the GNU GPL; +#X text 185 228 For more info:; + +#X text 40 254 (C) Copyright 2005 Hans-Christoph Steiner +; +#X text 300 168 related objects:; +#X obj 333 184 hid/rad2hid; +#X floatatom 56 203 7 0 0 1 - - -; +#X obj 59 103 hsl 300 15 -720 720 0 0 empty empty degrees 6 7 1 10 +-262131 -1 -1 3100 0; +#X floatatom 82 133 5 0 0 0 - - -; +#X text 26 34 This object converts numbers from the [hid] range (0 +to 1) to radians (-pi to pi) with the 0's lining up in the same place. +; +#X obj 274 184 hid/hid2rad; +#X obj 392 184 hid/hid2deg; +#X obj 56 168 hid/deg2hid; +#X connect 9 0 10 0; +#X connect 9 0 14 0; +#X connect 14 0 8 0; diff --git a/doc/TODO b/doc/TODO deleted file mode 100644 index c192b93..0000000 --- a/doc/TODO +++ /dev/null @@ -1,14 +0,0 @@ -Right now, [hid] basically outputs events in response to the OS. It polls the -event queue at a given frequency and processes everything in the queue on each -cycle. This means that the data stream is a bit erratic. - -The first part of the question is whether [hid] should output everything it -finds in the event queue, or just the most recent event. - -- buttons output every event, since its state change (on/off) triggers something. - -- For absolute axes, it probably should just output the most recent event per - poll, since absolute axes are position, and its not really necessary to know - how many events there were between [hid] polls, just the position where it - ended up. - diff --git a/doc/buttongate-help.pd b/doc/buttongate-help.pd deleted file mode 100644 index ae6c733..0000000 --- a/doc/buttongate-help.pd +++ /dev/null @@ -1,40 +0,0 @@ -#N canvas 345 96 463 514 10; -#X declare -lib hid; -#X obj 5 2 cnv 15 450 20 empty empty buttongate 2 11 1 18 -233017 --66577 0; -#X obj 160 287 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 160 151 loadbang; -#X msg 160 171 1; -#X obj 160 199 metro 150; -#X text 27 470 (C) Copyright 2004 Hans-Christoph Steiner -; -#X text 244 484 released under the GNU GPL; -#X obj 223 417 pddp/pddplink ../all_about_hid.pd -text all_about_hid; -#X text 114 418 For more info:; -#X text 17 38 [buttongate] is a simple gate controlled by a HID button. -You must specify the device and the button which controls the gate. -The left inlet takes the data to be gated. The right inlet is for sending -optional control messages to the HID.; -#X obj 160 244 buttongate 0 btn_0; -#X text 18 119 The first button on the first device controls this gate: -; -#X text 15 237 data to be gated -->; -#X text 292 237 <-- msgs to [hid]; -#X obj 281 288 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X msg 310 197 refresh; -#X msg 299 176 open 2; -#X text 39 294 button pressed->; -#X text 310 293 <-- button released; -#X text 23 348 Keyboard keys can also be used to control this object. -You can get the [hid] keycode from here:; -#X obj 324 368 ev_key-list; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X connect 2 0 3 0; -#X connect 3 0 4 0; -#X connect 4 0 10 0; -#X connect 10 0 1 0; -#X connect 10 1 14 0; -#X connect 15 0 10 1; -#X connect 16 0 10 1; diff --git a/doc/deg2hid-help.pd b/doc/deg2hid-help.pd deleted file mode 100644 index 766504f..0000000 --- a/doc/deg2hid-help.pd +++ /dev/null @@ -1,25 +0,0 @@ -#N canvas 82 386 483 323 10; -#X declare -lib hid; -#X obj 5 2 cnv 15 450 20 empty empty deg2hid 2 11 1 18 -233017 -66577 -0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X text 254 269 released under the GNU GPL; -#X text 185 228 For more info:; - -#X text 40 254 (C) Copyright 2005 Hans-Christoph Steiner -; -#X text 300 168 related objects:; -#X obj 333 184 hid/rad2hid; -#X floatatom 56 203 7 0 0 1 - - -; -#X obj 59 103 hsl 300 15 -720 720 0 0 empty empty degrees 6 7 1 10 --262131 -1 -1 3100 0; -#X floatatom 82 133 5 0 0 0 - - -; -#X text 26 34 This object converts numbers from the [hid] range (0 -to 1) to radians (-pi to pi) with the 0's lining up in the same place. -; -#X obj 274 184 hid/hid2rad; -#X obj 392 184 hid/hid2deg; -#X obj 56 168 hid/deg2hid; -#X connect 9 0 10 0; -#X connect 9 0 14 0; -#X connect 14 0 8 0; diff --git a/doc/hid-help.pd b/doc/hid-help.pd deleted file mode 100644 index c1550f0..0000000 --- a/doc/hid-help.pd +++ /dev/null @@ -1,573 +0,0 @@ -#N canvas 366 51 715 555 10; -#X floatatom 27 439 5 0 0 0 - - -; -#X floatatom 83 439 5 0 0 0 - - -; -#X floatatom 63 395 6 0 0 0 - - -; -#X obj 191 164 tgl 35 0 empty empty empty 0 -6 0 8 -24198 -1 -1 0 25 -; -#X floatatom 571 340 12 0 0 1 value - -; -#X symbolatom 531 356 15 0 0 1 event_code - -; -#X symbolatom 492 372 15 0 0 1 event_type - -; -#X obj 2 2 cnv 15 700 20 empty empty hid 2 11 1 18 -233017 -66577 0 -; -#X text 274 332 outlet message format:; -#X floatatom 138 343 5 0 0 1 ev_syn - -; -#X obj 111 342 +; -#X msg 111 322 1; -#X msg 374 140 close; -#X msg 374 119 refresh; -#X text 435 117 refresh device list; -#X text 422 533 released under the GNU GPL; -#X msg 436 201 poll 20; -#X msg 374 201 poll 2; -#X text 370 186 start polling and set the poll delay in ms; -#X text 356 33 !!! This software is very much alpha \, so any aspect -of it could change without notice !!!; -#X obj 16 291 route key rel abs syn; -#X obj 9 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 -; -#N canvas 278 328 631 544 Event_Codes 0; -#X text 28 48 (For a complete listing of Linux Input Events \, see -/usr/include/linux/input.h.); -#X obj 11 9 cnv 15 580 30 empty empty Event_Codes 20 12 1 14 -225271 --66577 0; -#X text 32 118 EVENT CODE; -#X text 162 118 #define; -#X text 232 118 number; -#X text 32 133 -----------------------------------; -#X text 32 148 X Axis; -#X text 32 163 Y Axis; -#X text 32 178 Z Axis; -#X text 32 193 Horizontal Wheel; -#X text 32 208 Dial; -#X text 32 223 Wheel; -#X text 32 238 Misc; -#X text 162 148 REL_X; -#X text 162 163 REL_Y; -#X text 162 178 REL_Z; -#X text 162 193 REL_HWHEEL; -#X text 162 208 REL_DIAL; -#X text 162 223 REL_WHEEL; -#X text 162 238 REL_MISC; -#X text 247 148 0; -#X text 247 163 1; -#X text 247 178 2; -#X text 247 193 6; -#X text 247 208 7; -#X text 247 223 8; -#X text 247 238 9; -#X text 307 118 EVENT CODE; -#X text 457 118 #define; -#X text 547 118 number; -#X text 307 148 Absolute X; -#X text 307 163 Absolute Y; -#X text 307 178 Absolute Z; -#X text 307 193 RX; -#X text 307 208 RY; -#X text 307 223 RZ; -#X text 307 238 Throttle; -#X text 307 253 Rudder; -#X text 307 268 Wheel; -#X text 307 283 Gas Pedal; -#X text 307 298 Brake Pedal; -#X text 307 313 Hat Switch 0 X-axis; -#X text 307 328 Hat Switch 0 Y-axis; -#X text 307 343 Hat Switch 1 X-axis; -#X text 307 358 Hat Switch 1 Y-axis; -#X text 307 373 Hat Switch 2 X-axis; -#X text 307 388 Hat Switch 2 Y-axis; -#X text 307 403 Hat Switch 3 X-axis; -#X text 307 418 Hat Switch 3 Y-axis; -#X text 307 433 Pressure; -#X text 307 448 Distance; -#X text 307 463 Tilt X-Axis; -#X text 307 478 Tilt Y-Axis; -#X text 307 493 Misc; -#X text 457 148 ABS_X; -#X text 457 163 ABS_Y; -#X text 457 178 ABS_Z; -#X text 457 193 ABS_RX; -#X text 457 208 ABS_RY; -#X text 457 223 ABS_RZ; -#X text 457 238 ABS_THROTTLE; -#X text 457 253 ABS_RUDDER; -#X text 457 268 ABS_WHEEL; -#X text 457 283 ABS_GAS; -#X text 457 298 ABS_BRAKE; -#X text 457 313 ABS_HAT0X; -#X text 457 328 ABS_HAT0Y; -#X text 457 343 ABS_HAT1X; -#X text 457 358 ABS_HAT1Y; -#X text 457 373 ABS_HAT2X; -#X text 457 388 ABS_HAT2Y; -#X text 457 403 ABS_HAT3X; -#X text 457 418 ABS_HAT3Y; -#X text 457 433 ABS_PRESSURE; -#X text 457 448 ABS_DISTANCE; -#X text 457 463 ABS_TILT_X; -#X text 457 478 ABS_TILT_Y; -#X text 457 493 ABS_MISC; -#X text 563 148 0; -#X text 563 163 1; -#X text 563 178 2; -#X text 563 193 3; -#X text 563 208 4; -#X text 563 223 5; -#X text 563 238 6; -#X text 563 253 7; -#X text 563 268 8; -#X text 563 283 9; -#X text 563 298 10; -#X text 563 313 16; -#X text 563 328 17; -#X text 563 343 18; -#X text 563 358 19; -#X text 563 373 20; -#X text 563 388 21; -#X text 563 403 22; -#X text 563 418 23; -#X text 563 433 24; -#X text 563 448 25; -#X text 563 463 26; -#X text 563 478 27; -#X text 563 493 28; -#X obj 30 89 cnv 15 250 25 empty empty Relative_Axes 20 12 1 12 -241660 --66577 0; -#X obj 308 89 cnv 15 280 25 empty empty Absolute_Axes 20 12 1 12 -241660 --66577 0; -#X text 307 133 ----------------------------------------; -#X text 32 285 EVENT CODE; -#X text 138 285 #define; -#X text 232 285 number; -#X text 32 300 -----------------------------------; -#X obj 30 256 cnv 15 250 25 empty empty Joystick_Buttons 20 12 1 12 --241660 -66577 0; -#X text 138 315 BTN_TRIGGER; -#X text 32 315 Trigger; -#X text 32 330 Thumb; -#X text 32 345 Thumb 2; -#X text 32 360 Top; -#X text 32 375 Top 2; -#X text 32 390 Pinkie; -#X text 32 405 Base 1; -#X text 138 404 BTN_BASE; -#X text 138 330 BTN_THUMB; -#X text 138 345 BTN_THUMB2; -#X text 138 360 BTN_TOP; -#X text 138 375 BTN_TOP2; -#X text 138 390 BTN_PINKIE; -#X text 245 315 288; -#X text 245 330 289; -#X text 245 345 290; -#X text 245 360 291; -#X text 245 375 292; -#X text 245 390 293; -#X text 245 405 294; -#X text 245 419 295; -#X text 245 434 296; -#X text 245 448 297; -#X text 138 418 BTN_BASE2; -#X text 138 433 BTN_BASE3; -#X text 138 447 BTN_BASE4; -#X text 32 419 Base 2; -#X text 32 434 Base 3; -#X text 32 448 Base 4; -#X text 32 463 Base 5; -#X text 32 477 Base 6; -#X text 138 462 BTN_BASE5; -#X text 138 476 BTN_BASE6; -#X text 245 463 298; -#X text 245 477 299; -#X restore 593 91 pd Event_Codes; -#N canvas 50 289 469 317 Event_Types 0; -#X text 28 48 (For a complete listing of Linux Input Events \, see -/usr/include/linux/input.h.); -#X text 61 90 EVENT TYPE; -#X text 61 135 Keys and Buttons; -#X text 61 150 Relative Axes; -#X text 61 165 Absolute Axes; -#X text 61 180 Misc Events; -#X text 61 195 LED Event; -#X text 61 210 Sounds; -#X text 61 225 Autorepeat Values; -#X text 61 240 Force Feedback; -#X text 230 90 #define; -#X text 230 135 EV_KEY; -#X text 230 150 EV_REL; -#X text 230 165 EV_ABS; -#X text 230 180 EV_MSC; -#X text 230 195 EV_LED; -#X text 230 210 EV_SND; -#X text 230 225 EV_REP; -#X text 230 240 EV_FF; -#X text 315 90 number; -#X text 331 120 0; -#X text 331 135 1; -#X text 331 150 2; -#X text 331 165 3; -#X text 331 180 4; -#X text 331 195 17; -#X text 331 210 18; -#X text 331 225 20; -#X text 331 240 21; -#X obj 11 9 cnv 15 400 30 empty empty Event_Types 20 12 1 14 -262131 --66577 0; -#X text 230 120 EV_SYN; -#X text 61 270 Force Feedback Status; -#X text 61 120 Syncronization Events; -#X text 230 270 EV_FF_STATUS; -#X text 331 270 23; -#X text 61 105 -------------------------------------------; -#X text 331 255 22; -#X text 230 255 EV_PWR; -#X text 61 255 Power Events (for UPS); -#X restore 593 71 pd Event_Types; -#N canvas 0 22 450 300 Event_Values 0; -#X text 28 48 (For a complete listing of Linux Input Events \, see -/usr/include/linux/input.h.); -#X obj 11 9 cnv 15 400 30 empty empty Event_Values 20 12 1 14 -261681 --66577 0; -#X restore 593 111 pd Event_Values; -#X floatatom 140 439 5 0 0 0 - - -; -#X obj 421 394 route abs_hat0x abs_hat0y abs_hat1x abs_hat1y; -#X floatatom 421 416 7 0 0 0 - - -; -#X msg 374 161 print; -#X obj 304 250 hid 0; -#X text 437 141 close the device; -#X text 437 162 print the device and element lists; -#X text 9 212 Any non-zero value starts polling \,; -#X text 8 225 0 stops the polling. If the number; -#X text 9 238 is greater than 1 \, then the poll; -#X text 9 251 delay is set to that number.; -#X obj 27 419 route rel_x rel_y rel_z rel_wheel; -#X floatatom 196 439 5 0 0 0 - - -; -#X obj 492 321 unpack s s f; -#X text 298 346 event_type event_code value; -#X obj 63 374 route abs_x abs_y abs_z abs_rx abs_ry abs_rz abs_throttle -; -#X obj 421 432 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 --1; -#X floatatom 498 416 7 0 0 0 - - -; -#X obj 498 432 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 -1; -#X floatatom 576 416 7 0 0 0 - - -; -#X obj 576 432 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 -1; -#X floatatom 653 416 7 0 0 0 - - -; -#X obj 653 432 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 -1; -#X floatatom 113 395 6 0 0 0 - - -; -#X floatatom 163 395 6 0 0 0 - - -; -#X floatatom 213 395 6 0 0 0 - - -; -#X floatatom 263 395 6 0 0 0 - - -; -#X floatatom 313 395 6 0 0 0 - - -; -#X floatatom 363 395 6 0 0 0 - - -; -#X obj 39 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 -; -#X obj 69 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 -; -#X obj 99 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 -; -#X obj 129 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 159 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 189 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 219 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 249 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 279 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 309 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 339 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 369 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 399 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 9 460 route btn_0 btn_1 btn_2 btn_3 btn_4 btn_5 btn_6 btn_7 -btn_8 btn_9 btn_10 btn_11 btn_12 btn_13 btn_14 btn_15; -#X obj 429 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 459 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X msg 25 155 debug 0; -#X msg 298 145 info; -#N canvas 752 103 411 235 see 0; -#N canvas 108 318 543 264 route 0; -#X obj 27 14 inlet; -#X obj 72 226 outlet; -#X obj 19 226 outlet; -#X obj 172 226 outlet; -#X obj 222 204 symbol; -#X obj 222 226 outlet; -#X obj 272 204 symbol; -#X obj 272 226 outlet; -#X obj 322 204 symbol; -#X obj 322 226 outlet; -#X obj 372 204 symbol; -#X obj 372 226 outlet; -#X obj 122 225 outlet; -#X obj 422 204 symbol; -#X obj 422 226 outlet; -#X obj 472 204 symbol; -#X obj 472 226 outlet; -#X obj 26 63 route open device poll total product manufacturer transport -type vendorID productID; -#X connect 0 0 17 0; -#X connect 4 0 5 0; -#X connect 6 0 7 0; -#X connect 8 0 9 0; -#X connect 10 0 11 0; -#X connect 13 0 14 0; -#X connect 15 0 16 0; -#X connect 17 0 2 0; -#X connect 17 1 1 0; -#X connect 17 2 12 0; -#X connect 17 3 3 0; -#X connect 17 4 4 0; -#X connect 17 5 6 0; -#X connect 17 6 8 0; -#X connect 17 7 10 0; -#X connect 17 8 13 0; -#X connect 17 9 15 0; -#X restore 117 70 pd route info; -#X obj 81 96 tgl 15 0 empty empty open 0 -6 0 8 -262144 -1 -1 1 1; -#X obj 110 22 inlet; -#X obj 123 43 print info; -#X symbolatom 304 93 0 0 0 0 productID - -; -#X symbolatom 304 112 0 0 0 0 vendorID - -; -#X symbolatom 304 151 0 0 0 0 transport - -; -#X symbolatom 304 171 0 0 0 0 manufacturer - -; -#X symbolatom 186 192 0 0 0 0 product - -; -#X floatatom 97 140 5 0 0 0 device - -; -#X floatatom 97 162 5 0 0 0 poll - -; -#X symbolatom 304 131 0 0 0 0 type - -; -#X floatatom 97 182 5 0 0 0 total - -; -#X connect 0 0 1 0; -#X connect 0 1 9 0; -#X connect 0 2 10 0; -#X connect 0 3 12 0; -#X connect 0 4 8 0; -#X connect 0 5 7 0; -#X connect 0 6 6 0; -#X connect 0 7 11 0; -#X connect 0 8 5 0; -#X connect 0 9 4 0; -#X connect 2 0 0 0; -#X connect 2 0 3 0; -#X restore 420 271 pd see device info; -#N canvas 553 77 380 450 open 0; -#X obj 77 61 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1 --1 0; -#X msg 78 81 open mouse \$1; -#X obj 121 201 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1 --1 0; -#X msg 130 221 open keyboard \$1; -#X obj 50 13 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1 --1 0; -#X obj 55 417 outlet; -#X obj 85 108 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1 --1 0; -#X msg 94 128 open joystick \$1; -#X msg 59 33 open pointer \$1; -#X obj 101 155 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1 --1 0; -#X msg 110 175 open gamepad \$1; -#X obj 137 244 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1 --1 0; -#X msg 146 264 open keypad \$1; -#X obj 141 291 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1 --1 0; -#X msg 150 311 open multiaxiscontroller \$1; -#X text 155 342 or just open the first one:; -#X msg 138 363 open mouse; -#X msg 159 381 open joystick; -#X connect 0 0 1 0; -#X connect 1 0 5 0; -#X connect 2 0 3 0; -#X connect 3 0 5 0; -#X connect 4 0 8 0; -#X connect 6 0 7 0; -#X connect 7 0 5 0; -#X connect 8 0 5 0; -#X connect 9 0 10 0; -#X connect 10 0 5 0; -#X connect 11 0 12 0; -#X connect 12 0 5 0; -#X connect 13 0 14 0; -#X connect 14 0 5 0; -#X connect 16 0 5 0; -#X connect 17 0 5 0; -#X restore 203 59 pd open by device type; -#N canvas 796 51 470 320 open 0; -#X text 217 82 Gravis/Destroyer Tiltpad; -#X msg 76 81 open 0x047D 0x4008; -#X msg 73 53 open 0x046d 0xc01d; -#X text 211 53 Logitech USB-PS/2 Optical Mouse; -#X obj 10 277 outlet; -#X text 9 12 You can use the hex values of the USB vendor and product -IDs (it is not case sensitive):; -#X text 221 111 Overtone CUI v1.0; -#X msg 80 110 open 0x1043 0x0015; -#X msg 83 136 open 0x06a3 0xff12; -#X text 221 134 Saitek Cyborgforce; -#X connect 1 0 4 0; -#X connect 2 0 4 0; -#X connect 7 0 4 0; -#X connect 8 0 4 0; -#X restore 174 37 pd open by vendor/product ID; -#N canvas 114 93 467 346 test 0; -#X obj 144 45 inlet; -#X obj 88 104 route DESKTOP; -#X obj 87 158 route DESKTOP57; -#X obj 70 207 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X floatatom 95 212 5 0 0 0 - - -; -#X obj 148 215 spigot; -#X obj 146 256 print test; -#X obj 189 192 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 -1; -#X obj 292 122 spigot; -#X obj 290 163 print test; -#X obj 333 99 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 -; -#X connect 0 0 1 0; -#X connect 0 0 8 0; -#X connect 1 0 2 0; -#X connect 2 0 3 0; -#X connect 2 0 4 0; -#X connect 2 0 5 0; -#X connect 5 0 6 0; -#X connect 7 0 5 1; -#X connect 8 0 9 0; -#X connect 10 0 8 1; -#X restore 197 303 pd test; -#X msg 504 201 poll 200; -#X text 69 533 (C) Copyright 2004 Hans-Christoph Steiner -; -#N canvas 162 133 570 420 serin 0; -#X obj 209 61 cnv 15 15 15 empty \$0-debug-canvas 0 4 8 0 14 -233017 --1 0; -#X obj 60 61 hradio 15 1 1 10 empty empty empty 0 -6 0 8 -261689 -1 --1 0; -#X obj 60 13 inlet; -#X msg 200 202 label \$1; -#X obj 200 180 makefilename %d; -#X obj 59 108 int; -#X obj 59 337 outlet; -#X msg 201 306 set \$1 \$2; -#X obj 59 266 trigger bang anything; -#X obj 201 286 list; -#X msg 60 210 debug \$1; -#X obj 200 225 send \$0-debug-canvas; -#X connect 1 0 5 0; -#X connect 2 0 1 0; -#X connect 3 0 11 0; -#X connect 4 0 3 0; -#X connect 5 0 4 0; -#X connect 5 0 10 0; -#X connect 7 0 6 0; -#X connect 8 0 6 0; -#X connect 8 1 9 0; -#X connect 9 0 7 0; -#X connect 10 0 8 0; -#X coords 0 -1 1 1 165 17 1 60 60; -#X restore 25 134 pd serin; -#X msg 262 114 open 0; -#X obj 249 300 pddp/print; -#N canvas 162 133 570 420 serin 0; -#X obj 286 61 cnv 15 30 15 empty \$0-open-canvas 0 4 8 0 14 -233017 --1 0; -#X obj 60 61 hradio 15 1 1 15 empty empty empty 0 -6 0 8 -225271 -1 --1 0; -#X obj 60 13 inlet; -#X msg 200 202 label \$1; -#X obj 200 180 makefilename %d; -#X obj 59 108 int; -#X obj 59 337 outlet; -#X msg 201 306 set \$1 \$2; -#X obj 59 266 trigger bang anything; -#X obj 201 286 list; -#X msg 60 210 open \$1; -#X obj 200 225 send \$0-open-canvas; -#X connect 1 0 5 0; -#X connect 2 0 1 0; -#X connect 3 0 11 0; -#X connect 4 0 3 0; -#X connect 5 0 4 0; -#X connect 5 0 10 0; -#X connect 7 0 6 0; -#X connect 8 0 6 0; -#X connect 8 1 9 0; -#X connect 9 0 7 0; -#X connect 10 0 8 0; -#X coords 0 -1 1 1 257 17 1 60 60; -#X restore 262 92 pd serin; -#X connect 3 0 29 0; -#X connect 9 0 10 1; -#X connect 10 0 9 0; -#X connect 11 0 10 0; -#X connect 12 0 29 0; -#X connect 13 0 29 0; -#X connect 16 0 29 0; -#X connect 17 0 29 0; -#X connect 20 0 67 0; -#X connect 20 1 36 0; -#X connect 20 2 40 0; -#X connect 20 3 11 0; -#X connect 26 0 27 0; -#X connect 26 1 42 0; -#X connect 26 2 44 0; -#X connect 26 3 46 0; -#X connect 27 0 41 0; -#X connect 28 0 29 0; -#X connect 29 0 20 0; -#X connect 29 0 38 0; -#X connect 29 0 75 0; -#X connect 29 0 80 0; -#X connect 29 1 72 0; -#X connect 36 0 0 0; -#X connect 36 1 1 0; -#X connect 36 2 25 0; -#X connect 36 3 37 0; -#X connect 38 0 6 0; -#X connect 38 1 5 0; -#X connect 38 2 4 0; -#X connect 40 0 2 0; -#X connect 40 1 48 0; -#X connect 40 2 49 0; -#X connect 40 3 50 0; -#X connect 40 4 51 0; -#X connect 40 5 52 0; -#X connect 40 6 53 0; -#X connect 40 7 26 0; -#X connect 42 0 43 0; -#X connect 44 0 45 0; -#X connect 46 0 47 0; -#X connect 67 0 21 0; -#X connect 67 1 54 0; -#X connect 67 2 55 0; -#X connect 67 3 56 0; -#X connect 67 4 57 0; -#X connect 67 5 58 0; -#X connect 67 6 59 0; -#X connect 67 7 60 0; -#X connect 67 8 61 0; -#X connect 67 9 62 0; -#X connect 67 10 63 0; -#X connect 67 11 64 0; -#X connect 67 12 65 0; -#X connect 67 13 66 0; -#X connect 67 14 68 0; -#X connect 67 15 69 0; -#X connect 70 0 29 0; -#X connect 71 0 29 0; -#X connect 73 0 29 0; -#X connect 74 0 29 0; -#X connect 76 0 29 0; -#X connect 78 0 70 0; -#X connect 79 0 29 0; -#X connect 81 0 79 0; diff --git a/doc/hid2deg-help.pd b/doc/hid2deg-help.pd deleted file mode 100644 index 4a405fc..0000000 --- a/doc/hid2deg-help.pd +++ /dev/null @@ -1,24 +0,0 @@ -#N canvas 589 387 483 323 10; -#X declare -lib hid; -#X obj 5 2 cnv 15 450 20 empty empty hid2deg 2 11 1 18 -233017 -66577 -0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X text 254 269 released under the GNU GPL; -#X text 185 228 For more info:; - -#X text 40 254 (C) Copyright 2005 Hans-Christoph Steiner -; -#X text 300 168 related objects:; -#X obj 333 184 hid/rad2hid; -#X obj 392 184 hid/deg2hid; -#X floatatom 69 185 7 0 0 1 degrees - -; -#X obj 72 85 hsl 128 15 0 1 0 0 empty empty hid 6 7 1 10 -262131 -1 --1 500 0; -#X floatatom 95 115 5 0 0 0 - - -; -#X obj 274 184 hid/hid2rad; -#X obj 69 150 hid/hid2deg; -#X text 26 34 This object converts numbers from the [hid] range (0 -to 1) to degrees (0 to 360) with the 0 being north.; -#X connect 10 0 11 0; -#X connect 10 0 13 0; -#X connect 13 0 9 0; diff --git a/doc/hid2rad-help.pd b/doc/hid2rad-help.pd deleted file mode 100644 index 4943a39..0000000 --- a/doc/hid2rad-help.pd +++ /dev/null @@ -1,25 +0,0 @@ -#N canvas 633 307 471 311 10; -#X declare -lib hid; -#X obj 5 2 cnv 15 450 20 empty empty hid2rad 2 11 1 18 -233017 -66577 -0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X text 254 269 released under the GNU GPL; -#X text 185 228 For more info:; - -#X text 40 254 (C) Copyright 2005 Hans-Christoph Steiner -; -#X text 300 168 related objects:; -#X obj 273 184 hid/rad2hid; -#X obj 332 184 hid/deg2hid; -#X obj 391 184 hid/hid2deg; -#X obj 69 150 hid/hid2rad; -#X floatatom 69 185 9 0 0 1 radians - -; -#X obj 72 85 hsl 128 15 0 1 0 0 empty empty hid 6 7 1 10 -262131 -1 --1 0 0; -#X floatatom 95 115 5 0 0 0 - - -; -#X text 26 34 This object converts numbers from the [hid] range (0 -to 1) to radians (-pi to pi) with the 0's lining up in the same place. -; -#X connect 10 0 11 0; -#X connect 12 0 13 0; -#X connect 12 0 10 0; diff --git a/doc/hid_average-help.pd b/doc/hid_average-help.pd deleted file mode 100644 index 8ef8f49..0000000 --- a/doc/hid_average-help.pd +++ /dev/null @@ -1,34 +0,0 @@ -#N canvas 135 352 479 396 10; -#X declare -lib hid; -#X text 27 340 (C) Copyright 2004 Hans-Christoph Steiner -; -#X text 244 354 released under the GNU GPL; -#X floatatom 101 195 5 0 0 0 - - -; -#X floatatom 101 251 5 0 0 0 - - -; -#X text 98 303 For more info:; - -#X obj 193 194 hsl 85 18 0.1 10 1 1 empty empty average_count 0 9 1 -12 -228992 -1 -1 3500 0; -#X floatatom 189 223 5 0 0 0 - - -; -#X obj 102 131 noise4hidhelp; -#X obj 104 268 hsl 250 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 0 1; -#X obj 104 164 hsl 250 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 0 1; -#X obj 5 2 cnv 15 450 20 empty empty hid_average 2 11 1 18 -233017 --66577 0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X obj 101 221 hid/hid_average; -#X text 18 36 Smooths a stream of numbers using weighted averaging. -By default \, the average is the last 10 values. You can set this using -the right inlet.; -#X obj 102 95 tgl 30 0 empty empty start 1 15 1 12 -90049 -1 -1 0 1 -; -#X connect 2 0 13 0; -#X connect 3 0 9 0; -#X connect 6 0 7 0; -#X connect 6 0 13 1; -#X connect 8 0 10 0; -#X connect 10 0 2 0; -#X connect 13 0 3 0; -#X connect 15 0 8 0; diff --git a/doc/hid_centered-help.pd b/doc/hid_centered-help.pd deleted file mode 100644 index 9dad015..0000000 --- a/doc/hid_centered-help.pd +++ /dev/null @@ -1,37 +0,0 @@ -#N canvas 389 382 468 357 10; -#X declare -lib hid; -#X obj 5 2 cnv 15 450 20 empty empty hid_centered 2 11 1 18 -233017 --66577 0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X text 27 320 (C) Copyright 2004 Hans-Christoph Steiner -; -#X text 244 334 released under the GNU GPL; -#X text 98 291 For more info:; - -#X obj 102 234 hid/hid_centered; -#X obj 137 105 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 1 -1; -#X msg 200 138 open \$1; -#X obj 200 118 hradio 15 1 1 8 \$0-device-number empty choose_a_device -0 -6 1 9 -262144 -1 -1 3; -#X obj 174 118 nbx 1 14 -1e+37 1e+37 0 0 empty \$0-device-number empty -0 -6 0 14 -166441 -1 -1 3 256; -#X obj 157 170 joystick 0; -#X obj 205 235 hid/hid_centered; -#X floatatom 205 256 5 0 0 0 Y - -; -#X floatatom 102 255 5 0 0 0 X - -; -#X floatatom 205 216 5 0 0 0 Y - -; -#X floatatom 102 215 5 0 0 0 X - -; -#X text 19 34 Convert the standard "0 to 1" [hid] format to "-1 to -1" so that 0 is the center point of the range. With a joystick \, for -example \, this can make the center point of the joystick (0 \, 0) -rather than (0.5 \, 0.5).; -#X connect 6 0 14 0; -#X connect 7 0 11 0; -#X connect 8 0 11 0; -#X connect 9 0 8 0; -#X connect 11 0 16 0; -#X connect 11 1 15 0; -#X connect 12 0 13 0; -#X connect 15 0 12 0; -#X connect 16 0 6 0; diff --git a/doc/hid_cube-help.pd b/doc/hid_cube-help.pd deleted file mode 100644 index 94e6cdf..0000000 --- a/doc/hid_cube-help.pd +++ /dev/null @@ -1,58 +0,0 @@ -#N canvas 556 145 472 353 10; -#X declare -lib hid; -#X obj 5 2 cnv 15 450 20 empty empty hid_graph 2 11 1 18 -233017 --66577 0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X text 27 300 (C) Copyright 2004 Hans-Christoph Steiner -; -#X text 244 314 released under the GNU GPL; -#X text 98 271 For more info:; - -#X floatatom 25 123 8 0 0 0 - - -; -#X floatatom 25 184 8 0 0 0 - - -; -#X obj 28 201 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 --1 -1 0 1; -#X obj 28 103 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 --1 -1 0 1; -#X obj 25 153 hid/hid_cube; -#X text 15 34 This object maps the input range to a cube curve \, i.e. -[pow 3] or "X to power of 3".; -#N canvas 0 22 450 300 graph1 0; -#X array hid_cube 100 float 0; -#X coords 0 1 99 0 100 100 1; -#X restore 321 111 graph; -#N canvas 266 69 327 317 draw_array 0; -#X msg 57 52 bang; -#X obj 57 73 until; -#X text 88 52 start; -#X obj 57 95 f; -#X obj 86 95 + 1; -#X obj 132 97 sel 0; -#X obj 86 117 mod 100; -#X obj 57 150 t f f; -#X obj 94 177 s array_index; -#X obj 170 262 r array_index; -#X obj 57 13 loadbang; -#X obj 57 207 / 100; -#X text 99 207 [hid] output range: 0 to 1; -#X obj 56 233 hid/hid_cube; -#X obj 56 283 tabwrite hid_cube; -#X connect 0 0 1 0; -#X connect 1 0 3 0; -#X connect 3 0 4 0; -#X connect 3 0 7 0; -#X connect 4 0 6 0; -#X connect 5 0 1 1; -#X connect 6 0 3 1; -#X connect 6 0 5 0; -#X connect 7 0 11 0; -#X connect 7 1 8 0; -#X connect 9 0 14 1; -#X connect 10 0 0 0; -#X connect 11 0 13 0; -#X connect 13 0 14 0; -#X restore 321 78 pd draw_array; -#X connect 6 0 10 0; -#X connect 7 0 8 0; -#X connect 9 0 6 0; -#X connect 10 0 7 0; diff --git a/doc/hid_cuberoot-help.pd b/doc/hid_cuberoot-help.pd deleted file mode 100644 index 48c74b2..0000000 --- a/doc/hid_cuberoot-help.pd +++ /dev/null @@ -1,58 +0,0 @@ -#N canvas 416 140 464 319 10; -#X declare -lib hid; -#X obj 5 2 cnv 15 450 20 empty empty hid_cuberoot 2 11 1 18 -233017 --66577 0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X text 27 280 (C) Copyright 2004 Hans-Christoph Steiner -; -#X text 244 294 released under the GNU GPL; -#X text 98 251 For more info:; - -#X floatatom 25 123 8 0 0 0 - - -; -#X floatatom 25 184 8 0 0 0 - - -; -#X obj 28 201 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 --1 -1 0 1; -#X obj 28 103 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 --1 -1 0 1; -#X obj 25 153 hid/hid_cuberoot; -#N canvas 0 22 450 300 graph1 0; -#X array hid_cuberoot 100 float 0; -#X coords 0 1 99 0 100 100 1; -#X restore 321 111 graph; -#N canvas 266 69 327 317 draw_array 0; -#X msg 57 52 bang; -#X obj 57 73 until; -#X text 88 52 start; -#X obj 57 95 f; -#X obj 86 95 + 1; -#X obj 132 97 sel 0; -#X obj 86 117 mod 100; -#X obj 57 150 t f f; -#X obj 94 177 s array_index; -#X obj 170 262 r array_index; -#X obj 57 13 loadbang; -#X obj 57 207 / 100; -#X text 99 207 [hid] output range: 0 to 1; -#X obj 56 233 hid/hid_cuberoot; -#X obj 56 283 tabwrite hid_cuberoot; -#X connect 0 0 1 0; -#X connect 1 0 3 0; -#X connect 3 0 4 0; -#X connect 3 0 7 0; -#X connect 4 0 6 0; -#X connect 5 0 1 1; -#X connect 6 0 3 1; -#X connect 6 0 5 0; -#X connect 7 0 11 0; -#X connect 7 1 8 0; -#X connect 9 0 14 1; -#X connect 10 0 0 0; -#X connect 11 0 13 0; -#X connect 13 0 14 0; -#X restore 321 78 pd draw_array; -#X text 15 34 This object maps the input range to a cube root curve -\, i.e. [pow 0.333333] \, "cube root of X" \, or X^0.333333.; -#X connect 6 0 10 0; -#X connect 7 0 8 0; -#X connect 9 0 6 0; -#X connect 10 0 7 0; diff --git a/doc/hid_exp-help.pd b/doc/hid_exp-help.pd deleted file mode 100644 index ca77e4d..0000000 --- a/doc/hid_exp-help.pd +++ /dev/null @@ -1,58 +0,0 @@ -#N canvas 567 104 472 353 10; -#X declare -lib hid; -#X obj 5 2 cnv 15 450 20 empty empty hid_exp 2 11 1 18 -233017 --66577 0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X text 27 300 (C) Copyright 2004 Hans-Christoph Steiner -; -#X text 244 314 released under the GNU GPL; -#X text 98 271 For more info:; - -#X floatatom 25 123 8 0 0 0 - - -; -#X floatatom 25 184 8 0 0 0 - - -; -#X obj 28 201 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 --1 -1 0 1; -#X obj 28 103 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 --1 -1 0 1; -#X obj 25 153 hid/hid_exp; -#N canvas 0 22 450 300 graph1 0; -#X array hid_exp 100 float 0; -#X coords 0 1 99 0 100 100 1; -#X restore 321 111 graph; -#N canvas 266 69 327 317 draw_array 0; -#X msg 57 52 bang; -#X obj 57 73 until; -#X text 88 52 start; -#X obj 57 95 f; -#X obj 86 95 + 1; -#X obj 132 97 sel 0; -#X obj 86 117 mod 100; -#X obj 57 150 t f f; -#X obj 94 177 s array_index; -#X obj 170 262 r array_index; -#X obj 57 13 loadbang; -#X obj 57 207 / 100; -#X text 99 207 [hid] output range: 0 to 1; -#X obj 56 233 hid/hid_exp; -#X obj 56 283 tabwrite hid_exp; -#X connect 0 0 1 0; -#X connect 1 0 3 0; -#X connect 3 0 4 0; -#X connect 3 0 7 0; -#X connect 4 0 6 0; -#X connect 5 0 1 1; -#X connect 6 0 3 1; -#X connect 6 0 5 0; -#X connect 7 0 11 0; -#X connect 7 1 8 0; -#X connect 9 0 14 1; -#X connect 10 0 0 0; -#X connect 11 0 13 0; -#X connect 13 0 14 0; -#X restore 321 78 pd draw_array; -#X text 17 39 This object maps the input range to a exponential curve -\, the inverse of a logarithmic curve.; -#X connect 6 0 10 0; -#X connect 7 0 8 0; -#X connect 9 0 6 0; -#X connect 10 0 7 0; diff --git a/doc/hid_graph-help.pd b/doc/hid_graph-help.pd deleted file mode 100644 index cab0241..0000000 --- a/doc/hid_graph-help.pd +++ /dev/null @@ -1,28 +0,0 @@ -#N canvas 61 248 495 470 10; -#X declare -lib hid; -#X obj 5 2 cnv 15 450 20 empty empty hid_graph 2 11 1 18 -233017 --66577 0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X text 27 410 (C) Copyright 2004 Hans-Christoph Steiner -; -#X text 244 424 released under the GNU GPL; -#X text 98 381 For more info:; - -#X msg 19 150 reset; -#X floatatom 95 163 5 0 0 0 - - -; -#X floatatom 94 314 5 0 0 0 - - -; -#X obj 97 331 hsl 250 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 --1 -1 0 1; -#X obj 98 143 hsl 250 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 --1 -1 0 1; -#X obj 94 187 hid/hid_graph; -#X text 18 33 This object allows you to draw an arbitrary curve \, -which is then applied to the input range. To change the curve \, click -anywhere on the black diagonal line and start dragging.; -#X text 19 86 There are 100 points in [hid_graph] \, each one pixel -in size.; -#X connect 6 0 11 0; -#X connect 7 0 11 0; -#X connect 8 0 9 0; -#X connect 10 0 7 0; -#X connect 11 0 8 0; diff --git a/doc/hid_invert-help.pd b/doc/hid_invert-help.pd deleted file mode 100644 index 49092a7..0000000 --- a/doc/hid_invert-help.pd +++ /dev/null @@ -1,22 +0,0 @@ -#N canvas 380 628 469 312 10; -#X declare -lib hid; -#X obj 5 2 cnv 15 450 20 empty empty hid_invert 2 11 1 18 -233017 --66577 0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X text 27 270 (C) Copyright 2004 Hans-Christoph Steiner -; -#X text 244 284 released under the GNU GPL; -#X floatatom 153 90 5 0 0 0 - - -; -#X floatatom 153 166 5 0 0 0 - - -; -#X obj 153 126 hid/hid_invert; -#X obj 156 71 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 0 1; -#X obj 156 183 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 0 1; -#X text 27 43 Inverts the stream of numbers.; -#X text 98 233 For more info:; - -#X connect 4 0 6 0; -#X connect 5 0 8 0; -#X connect 6 0 5 0; -#X connect 7 0 4 0; diff --git a/doc/hid_log-help.pd b/doc/hid_log-help.pd deleted file mode 100644 index e767901..0000000 --- a/doc/hid_log-help.pd +++ /dev/null @@ -1,58 +0,0 @@ -#N canvas 567 104 472 353 10; -#X declare -lib hid; -#X obj 5 2 cnv 15 450 20 empty empty hid_log 2 11 1 18 -233017 --66577 0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X text 27 300 (C) Copyright 2004 Hans-Christoph Steiner -; -#X text 244 314 released under the GNU GPL; -#X text 98 271 For more info:; - -#X floatatom 25 123 8 0 0 0 - - -; -#X floatatom 25 184 8 0 0 0 - - -; -#X obj 28 201 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 --1 -1 0 1; -#X obj 28 103 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 --1 -1 0 1; -#X obj 25 153 hid/hid_log; -#N canvas 0 22 450 300 graph1 0; -#X array hid_log 100 float 0; -#X coords 0 1 99 0 100 100 1; -#X restore 321 111 graph; -#N canvas 266 69 327 317 draw_array 0; -#X msg 57 52 bang; -#X obj 57 73 until; -#X text 88 52 start; -#X obj 57 95 f; -#X obj 86 95 + 1; -#X obj 132 97 sel 0; -#X obj 86 117 mod 100; -#X obj 57 150 t f f; -#X obj 94 177 s array_index; -#X obj 170 262 r array_index; -#X obj 57 13 loadbang; -#X obj 57 207 / 100; -#X text 99 207 [hid] output range: 0 to 1; -#X obj 56 233 hid/hid_log; -#X obj 56 283 tabwrite hid_log; -#X connect 0 0 1 0; -#X connect 1 0 3 0; -#X connect 3 0 4 0; -#X connect 3 0 7 0; -#X connect 4 0 6 0; -#X connect 5 0 1 1; -#X connect 6 0 3 1; -#X connect 6 0 5 0; -#X connect 7 0 11 0; -#X connect 7 1 8 0; -#X connect 9 0 14 1; -#X connect 10 0 0 0; -#X connect 11 0 13 0; -#X connect 13 0 14 0; -#X restore 321 78 pd draw_array; -#X text 17 40 This object maps the input range to a logarithmic curve. -Humans perceive pitch and amplitude on a logarithmic scale.; -#X connect 6 0 10 0; -#X connect 7 0 8 0; -#X connect 9 0 6 0; -#X connect 10 0 7 0; diff --git a/doc/hid_lowpass-help.pd b/doc/hid_lowpass-help.pd deleted file mode 100644 index 7d658d6..0000000 --- a/doc/hid_lowpass-help.pd +++ /dev/null @@ -1,36 +0,0 @@ -#N canvas 119 269 475 392 10; -#X declare -lib hid; -#X obj 5 2 cnv 15 450 20 empty empty hid_lowpass 2 11 1 18 -233017 --66577 0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X text 27 340 (C) Copyright 2004 Hans-Christoph Steiner -; -#X text 244 354 released under the GNU GPL; -#X floatatom 101 199 5 0 0 0 - - -; -#X floatatom 101 255 5 0 0 0 - - -; -#X text 98 312 For more info:; - -#X obj 101 225 hid/hid_lowpass; -#X obj 193 198 hsl 75 18 1 100 1 1 empty empty refresh(Hz) 4 9 1 12 --228992 -1 -1 3700 0; -#X floatatom 189 227 5 0 0 0 - - -; -#X obj 104 272 hsl 250 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 4283 1; -#X obj 104 173 hsl 250 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 4582 1; -#X text 20 35 Smooths a stream of numbers by converting it to an audio -signal and low-pass filtering that signal. By default \, the the filter -is set to 10 Hz. You can set this using the right inlet. The lower -the frequency \, the smoother the data \, but the greater the latency. -; -#X obj 102 140 noise4hidhelp; -#X obj 102 105 tgl 30 0 empty empty start 1 15 1 12 -90049 -1 -1 1 -1; -#X connect 4 0 8 0; -#X connect 5 0 11 0; -#X connect 8 0 5 0; -#X connect 9 0 8 1; -#X connect 9 0 10 0; -#X connect 12 0 4 0; -#X connect 14 0 12 0; -#X connect 15 0 14 0; diff --git a/doc/hid_menu-help.pd b/doc/hid_menu-help.pd deleted file mode 100644 index 9294f95..0000000 --- a/doc/hid_menu-help.pd +++ /dev/null @@ -1,10 +0,0 @@ -#N canvas 380 628 473 316 10; -#X declare -lib hid; -#X obj 5 2 cnv 15 450 20 empty empty hid_menu 2 11 1 18 -233017 --66577 0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X text 27 270 (C) Copyright 2004 Hans-Christoph Steiner -; -#X text 244 284 released under the GNU GPL; -#X text 161 235 For more info:; -#X obj 266 234 pddp/pddplink ../all_about_hid.pd -text all_about_hid; diff --git a/doc/hid_one2four-help.pd b/doc/hid_one2four-help.pd deleted file mode 100644 index 9f76080..0000000 --- a/doc/hid_one2four-help.pd +++ /dev/null @@ -1,39 +0,0 @@ -#N canvas 427 177 464 315 10; -#X declare -lib hid; -#X obj 5 2 cnv 15 450 20 empty empty hid_one2four 2 11 1 18 -233017 --66577 0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X text 27 270 (C) Copyright 2004 Hans-Christoph Steiner -; -#X text 244 284 released under the GNU GPL; -#X floatatom 82 110 5 0 0 0 - - -; -#X floatatom 23 186 5 0 0 0 - - -; -#X obj 85 91 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 0 1; -#X obj 26 203 hsl 75 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 0 1; -#X text 98 243 For more info:; - -#X text 18 28 Simple one-to-three mapping object. The first inlet is -passed thru \, the range of the output data on the other inlet starts -at the points in the input range specified as arugments.; -#X obj 82 145 hid/hid_one2four 0.3 0.6 0.9; -#X floatatom 113 186 5 0 0 0 - - -; -#X obj 116 203 hsl 75 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 0 1; -#X floatatom 203 186 5 0 0 0 - - -; -#X obj 206 203 hsl 75 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 0 1; -#X floatatom 293 186 5 0 0 0 - - -; -#X obj 296 203 hsl 75 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 0 1; -#X connect 4 0 11 0; -#X connect 5 0 7 0; -#X connect 6 0 4 0; -#X connect 11 0 5 0; -#X connect 11 1 12 0; -#X connect 11 2 14 0; -#X connect 11 3 16 0; -#X connect 12 0 13 0; -#X connect 14 0 15 0; -#X connect 16 0 17 0; diff --git a/doc/hid_one2three-help.pd b/doc/hid_one2three-help.pd deleted file mode 100644 index 9fc4e58..0000000 --- a/doc/hid_one2three-help.pd +++ /dev/null @@ -1,34 +0,0 @@ -#N canvas 541 218 473 316 10; -#X declare -lib hid; -#X obj 5 2 cnv 15 450 20 empty empty hid_one2three 2 11 1 18 -233017 --66577 0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X text 27 270 (C) Copyright 2004 Hans-Christoph Steiner -; -#X text 244 284 released under the GNU GPL; -#X floatatom 153 110 5 0 0 0 - - -; -#X floatatom 23 186 5 0 0 0 - - -; -#X obj 156 91 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 0 1; -#X obj 26 203 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 0 1; -#X text 98 243 For more info:; - -#X floatatom 173 186 5 0 0 0 - - -; -#X obj 176 203 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 0 1; -#X obj 153 145 hid/hid_one2three 0.3 0.7; -#X floatatom 323 186 5 0 0 0 - - -; -#X obj 326 203 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 0 1; -#X text 18 28 Simple one-to-three mapping object. The first inlet is -passed thru \, the range of the output data on the other inlet starts -at the points in the input range specified as arugments.; -#X connect 4 0 12 0; -#X connect 5 0 7 0; -#X connect 6 0 4 0; -#X connect 10 0 11 0; -#X connect 12 0 5 0; -#X connect 12 1 10 0; -#X connect 12 2 13 0; -#X connect 13 0 14 0; diff --git a/doc/hid_one2two-help.pd b/doc/hid_one2two-help.pd deleted file mode 100644 index 29e5f7c..0000000 --- a/doc/hid_one2two-help.pd +++ /dev/null @@ -1,29 +0,0 @@ -#N canvas 541 218 473 316 10; -#X declare -lib hid; -#X obj 5 2 cnv 15 450 20 empty empty hid_one2two 2 11 1 18 -233017 --66577 0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X text 27 270 (C) Copyright 2004 Hans-Christoph Steiner -; -#X text 244 284 released under the GNU GPL; -#X floatatom 153 110 5 0 0 0 - - -; -#X floatatom 83 186 5 0 0 0 - - -; -#X obj 156 91 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 11200 1; -#X obj 86 203 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 11200 1; -#X text 98 243 For more info:; - -#X floatatom 263 186 5 0 0 0 - - -; -#X obj 266 203 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 10557 1; -#X text 18 28 Simple one-to-two mapping object. The first inlet is -passed thru \, the range of the output data on the second inlet starts -at the point in the input range specified as an arugment.; -#X obj 153 145 hid/hid_one2two 0.3; -#X connect 4 0 13 0; -#X connect 5 0 7 0; -#X connect 6 0 4 0; -#X connect 10 0 11 0; -#X connect 13 0 5 0; -#X connect 13 1 10 0; diff --git a/doc/hid_polar-help.pd b/doc/hid_polar-help.pd deleted file mode 100644 index 3393da7..0000000 --- a/doc/hid_polar-help.pd +++ /dev/null @@ -1,41 +0,0 @@ -#N canvas 601 232 482 455 10; -#X declare -lib hid; -#X obj 5 2 cnv 15 450 20 empty empty hid_polar 2 11 1 18 -233017 --66577 0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X text 244 411 released under the GNU GPL; -#X floatatom 100 248 5 0 0 0 - - -; -#X floatatom 100 335 7 0 0 0 radius-> - -; -#X text 124 370 For more info:; - -#X obj 100 295 hid/hid_polar; -#X text 27 397 (C) Copyright 2005 Hans-Christoph Steiner -; -#X obj 101 161 hsl 128 15 0 1 0 0 empty empty x-axis 133 7 1 10 -225280 --1 -1 0 0; -#X obj 157 103 vsl 15 128 0 1 0 0 empty empty y-axis -6 -9 1 10 -261681 --1 -1 0 0; -#X floatatom 159 335 7 0 0 1 <-angle - -; -#X floatatom 158 248 5 0 0 0 - - -; -#X obj 157 265 t b f; -#X obj 334 335 polar-joystick; -#X text 275 273 related objects:; -#X text 273 334 example:; -#X msg 97 86 0.5; -#X text 43 86 center:; -#X text 17 29 Converts cartesian coordinates(x \, y) to polar coordinates -(radius \, angle). The angle is in radians (-pi to pi). The angle 0 -is at cartesian (1 \, 0.5) or to the right.; -#X obj 361 293 hid/hid_spiral; -#X obj 245 293 hid/hid2rad; -#X obj 303 293 hid/hid2deg; -#X connect 3 0 7 0; -#X connect 7 0 4 0; -#X connect 7 1 11 0; -#X connect 9 0 3 0; -#X connect 10 0 12 0; -#X connect 12 0 13 0; -#X connect 13 0 3 0; -#X connect 13 1 7 1; -#X connect 17 0 9 0; -#X connect 17 0 10 0; diff --git a/doc/hid_rel2abs-help.pd b/doc/hid_rel2abs-help.pd deleted file mode 100644 index 76dc530..0000000 --- a/doc/hid_rel2abs-help.pd +++ /dev/null @@ -1,36 +0,0 @@ -#N canvas 435 259 469 312 10; -#X declare -lib hid; -#X obj 5 2 cnv 15 450 20 empty empty hid_invert 2 11 1 18 -233017 --66577 0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X text 27 270 (C) Copyright 2004 Hans-Christoph Steiner -; -#X text 244 284 released under the GNU GPL; -#X text 30 38 Converts relative axis data into an absolute position. -; -#X obj 175 116 mouse; -#X msg 193 73 open 1; -#X msg 204 91 open 2; -#X obj 157 75 tgl 25 0 empty empty empty 0 -6 0 8 -24198 -1 -1 0 1 -; -#X floatatom 112 207 5 0 0 0 - - -; -#X floatatom 153 207 5 0 0 0 - - -; -#X floatatom 252 208 5 0 0 0 - - -; -#X floatatom 211 208 5 0 0 0 - - -; -#X obj 252 174 hid/hid_rel2abs 0 100; -#X obj 73 175 hid/hid_rel2abs -10 10; -#X text 98 240 For more info:; - -#X msg 73 129 reset; -#X msg 284 129 reset; -#X connect 5 0 10 0; -#X connect 5 0 14 0; -#X connect 5 1 12 0; -#X connect 5 1 13 0; -#X connect 6 0 5 0; -#X connect 7 0 5 0; -#X connect 8 0 5 0; -#X connect 13 0 11 0; -#X connect 14 0 9 0; -#X connect 17 0 14 0; -#X connect 18 0 13 0; diff --git a/doc/hid_smooth-help.pd b/doc/hid_smooth-help.pd deleted file mode 100644 index 3ef29b5..0000000 --- a/doc/hid_smooth-help.pd +++ /dev/null @@ -1,29 +0,0 @@ -#N canvas 388 256 475 392 10; -#X declare -lib hid; -#X text 27 340 (C) Copyright 2004 Hans-Christoph Steiner -; -#X text 244 354 released under the GNU GPL; -#X floatatom 102 195 5 0 0 0 - - -; -#X floatatom 102 251 5 0 0 0 - - -; -#X text 98 303 For more info:; - -#X obj 103 131 noise4hidhelp; -#X obj 105 268 hsl 250 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 --1 -1 16106 1; -#X obj 105 164 hsl 250 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 --1 -1 16509 1; -#X obj 5 2 cnv 15 450 20 empty empty hid_smooth 2 11 1 18 -233017 --66577 0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X obj 102 221 hid/hid_smooth; -#X text 18 36 Smooths a stream of numbers using weighted averaging -of the last 10 values. This object is an shortcut for [hid_average] -with the default settings.; -#X obj 103 94 tgl 30 0 empty empty start 1 15 1 12 -90049 -1 -1 1 1 -; -#X connect 2 0 11 0; -#X connect 3 0 7 0; -#X connect 6 0 8 0; -#X connect 8 0 2 0; -#X connect 11 0 3 0; -#X connect 13 0 6 0; diff --git a/doc/hid_spiral-help.pd b/doc/hid_spiral-help.pd deleted file mode 100644 index 35a1a91..0000000 --- a/doc/hid_spiral-help.pd +++ /dev/null @@ -1,41 +0,0 @@ -#N canvas 56 302 475 480 10; -#X declare -lib hid; -#X obj 5 2 cnv 15 450 20 empty empty hid_spiral 2 11 1 18 -233017 --66577 0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X text 245 451 released under the GNU GPL; -#X floatatom 70 288 5 0 0 0 - - -; -#X floatatom 70 375 5 0 0 0 radius-> - -; -#X text 175 408 For more info:; -#X text 28 437 (C) Copyright 2005 Hans-Christoph Steiner -; -#X obj 71 201 hsl 128 15 0 1 0 0 empty empty x-axis 133 7 1 10 -225280 --1 -1 0 0; -#X obj 127 143 vsl 15 128 0 1 0 0 empty empty y-axis -6 -9 1 10 -261681 --1 -1 0 0; -#X floatatom 136 376 8 0 0 1 <-angle - -; -#X floatatom 128 288 5 0 0 0 - - -; -#X obj 127 305 t b f; -#X text 246 271 related objects:; -#X text 264 324 example:; -#X msg 69 126 0.5; -#X text 15 126 center:; -#X obj 323 324 spiral-joystick; -#X obj 70 335 hid/hid_spiral; - -#X obj 362 271 hid/hid_polar; -#X text 24 32 Converts cartesian coordinates(x \, y) to spiral in polar -coordinates (radius \, angle). The angle is from 0 to 1 The angle 0 -is at cartesian (1 \, 0) or far right center.; -#X text 24 81 The angle will just keep going up/down as long as there -is rotation rather than reset like [hid_polar].; -#X connect 3 0 17 0; -#X connect 7 0 3 0; -#X connect 8 0 10 0; -#X connect 10 0 11 0; -#X connect 11 0 3 0; -#X connect 11 1 17 1; -#X connect 14 0 8 0; -#X connect 14 0 7 0; -#X connect 17 0 4 0; -#X connect 17 1 9 0; diff --git a/doc/hid_square-help.pd b/doc/hid_square-help.pd deleted file mode 100644 index 64eaca8..0000000 --- a/doc/hid_square-help.pd +++ /dev/null @@ -1,58 +0,0 @@ -#N canvas 556 145 476 357 10; -#X declare -lib hid; -#X obj 5 2 cnv 15 450 20 empty empty hid_square 2 11 1 18 -233017 --66577 0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X text 27 300 (C) Copyright 2004 Hans-Christoph Steiner -; -#X text 244 314 released under the GNU GPL; -#X text 98 271 For more info:; - -#X floatatom 25 123 8 0 0 0 - - -; -#X floatatom 25 184 8 0 0 0 - - -; -#X obj 28 201 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 --1 -1 0 1; -#X obj 28 103 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 --1 -1 0 1; -#X obj 25 153 hid/hid_square; -#N canvas 0 22 450 300 graph1 0; -#X array hid_square 100 float 0; -#X coords 0 1 99 0 100 100 1; -#X restore 321 111 graph; -#N canvas 266 69 327 317 draw_array 0; -#X msg 57 52 bang; -#X obj 57 73 until; -#X text 88 52 start; -#X obj 57 95 f; -#X obj 86 95 + 1; -#X obj 132 97 sel 0; -#X obj 86 117 mod 100; -#X obj 57 150 t f f; -#X obj 94 177 s array_index; -#X obj 170 262 r array_index; -#X obj 57 13 loadbang; -#X obj 57 207 / 100; -#X text 99 207 [hid] output range: 0 to 1; -#X obj 56 233 hid/hid_square; -#X obj 56 283 tabwrite hid_square; -#X connect 0 0 1 0; -#X connect 1 0 3 0; -#X connect 3 0 4 0; -#X connect 3 0 7 0; -#X connect 4 0 6 0; -#X connect 5 0 1 1; -#X connect 6 0 3 1; -#X connect 6 0 5 0; -#X connect 7 0 11 0; -#X connect 7 1 8 0; -#X connect 9 0 14 1; -#X connect 10 0 0 0; -#X connect 11 0 13 0; -#X connect 13 0 14 0; -#X restore 321 78 pd draw_array; -#X text 15 34 This object maps the input range to a square curve \, -i.e. [pow 2] \, "X squared" \, or X^2.; -#X connect 6 0 10 0; -#X connect 7 0 8 0; -#X connect 9 0 6 0; -#X connect 10 0 7 0; diff --git a/doc/hid_squareroot-help.pd b/doc/hid_squareroot-help.pd deleted file mode 100644 index 98b4a90..0000000 --- a/doc/hid_squareroot-help.pd +++ /dev/null @@ -1,58 +0,0 @@ -#N canvas 416 140 476 357 10; -#X declare -lib hid; -#X obj 5 2 cnv 15 450 20 empty empty hid_squareroot 2 11 1 18 -233017 --66577 0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X text 27 300 (C) Copyright 2004 Hans-Christoph Steiner -; -#X text 244 314 released under the GNU GPL; -#X text 98 271 For more info:; - -#X floatatom 25 123 8 0 0 0 - - -; -#X floatatom 25 184 8 0 0 0 - - -; -#X obj 28 201 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 --1 -1 0 1; -#X obj 28 103 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 --1 -1 0 1; -#X obj 25 153 hid/hid_squareroot; -#N canvas 0 22 450 300 graph1 0; -#X array hid_squareroot 100 float 0; -#X coords 0 1 99 0 100 100 1; -#X restore 321 111 graph; -#N canvas 266 69 327 317 draw_array 0; -#X msg 57 52 bang; -#X obj 57 73 until; -#X text 88 52 start; -#X obj 57 95 f; -#X obj 86 95 + 1; -#X obj 132 97 sel 0; -#X obj 86 117 mod 100; -#X obj 57 150 t f f; -#X obj 94 177 s array_index; -#X obj 170 262 r array_index; -#X obj 57 13 loadbang; -#X obj 57 207 / 100; -#X text 99 207 [hid] output range: 0 to 1; -#X obj 56 233 hid/hid_squareroot; -#X obj 56 283 tabwrite hid_squareroot; -#X connect 0 0 1 0; -#X connect 1 0 3 0; -#X connect 3 0 4 0; -#X connect 3 0 7 0; -#X connect 4 0 6 0; -#X connect 5 0 1 1; -#X connect 6 0 3 1; -#X connect 6 0 5 0; -#X connect 7 0 11 0; -#X connect 7 1 8 0; -#X connect 9 0 14 1; -#X connect 10 0 0 0; -#X connect 11 0 13 0; -#X connect 13 0 14 0; -#X restore 321 78 pd draw_array; -#X text 15 34 This object maps the input range to a square root curve -\, i.e. [pow 0.5] \, "square root of X" \, or X^0.5.; -#X connect 6 0 10 0; -#X connect 7 0 8 0; -#X connect 9 0 6 0; -#X connect 10 0 7 0; diff --git a/doc/joystick-help.pd b/doc/joystick-help.pd deleted file mode 100644 index 8f316bd..0000000 --- a/doc/joystick-help.pd +++ /dev/null @@ -1,146 +0,0 @@ -#N canvas 31 125 670 468 10; -#X declare -lib hid; -#X obj 168 91 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 1 1 -; -#X floatatom 63 234 7 0 0 3 Y-axis - -; -#X floatatom 9 234 7 0 0 3 X-axis - -; -#X obj 212 324 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 252 324 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 293 324 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 334 324 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X floatatom 123 234 7 0 0 3 twist - -; -#X floatatom 182 234 5 0 0 3 throttle - -; -#X obj 375 324 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 416 324 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 456 324 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 497 324 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 538 324 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 579 324 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X symbolatom 335 234 6 0 0 3 code - -; -#X floatatom 400 234 5 0 0 3 value - -; -#X text 345 199 buttons; -#X obj 2 2 cnv 15 650 20 empty empty joystick 2 11 1 18 -233017 -66577 -0; -#X msg 215 93 open 1; -#X text 1 412 (C) Copyright 2004 Hans-Christoph Steiner -; -#X text 218 426 released under the GNU GPL; -#X text 414 426 $Author: eighthave $; -#X text 414 413 $Revision: 1.11 $; -#X obj 239 375 pddp/pddplink ../all_about_hid.pd -text all_about_hid; -#X text 130 376 For more info:; -#X floatatom 245 234 5 0 0 3 hat0X - -; -#X floatatom 288 234 5 0 0 3 hat0Y - -; -#X obj 212 291 route btn_0 btn_1 btn_2 btn_3 btn_4 btn_5 btn_6 btn_7 -btn_8 btn_9; -#X obj 168 154 joystick 0; -#N canvas 674 327 446 497 joystick_noise 0; -#X obj 73 25 inlet; -#X obj 219 426 dac~; -#X obj 168 376 *~; -#X obj 201 398 linearpan~; -#X obj 70 168 hid/hid_invert; -#X obj 70 242 mtof; -#X obj 168 313 osc~; -#X msg 57 88 \; pd dsp \$1; -#X obj 70 193 hid/hid_squareroot; -#X obj 287 11 inlet; -#X obj 203 323 hid/hid_log; -#X obj 180 65 joystick 0; -#X obj 168 287 +~; -#X obj 238 212 *~; -#X obj 238 179 osc~; -#X obj 304 143 * 300; -#X obj 238 143 * 200; -#X obj 304 123 hid/hid_square; -#X obj 304 179 +; -#X obj 238 123 hid/hid_exp; -#X obj 203 360 line~; -#X msg 203 342 \$1 5; -#X obj 70 218 notescale 40 80; -#X connect 0 0 7 0; -#X connect 0 0 11 0; -#X connect 2 0 3 0; -#X connect 3 0 1 0; -#X connect 3 1 1 1; -#X connect 4 0 8 0; -#X connect 5 0 12 0; -#X connect 6 0 2 0; -#X connect 8 0 22 0; -#X connect 9 0 11 0; -#X connect 10 0 21 0; -#X connect 11 0 19 0; -#X connect 11 1 4 0; -#X connect 11 1 17 0; -#X connect 11 2 3 1; -#X connect 11 3 10 0; -#X connect 12 0 6 0; -#X connect 13 0 12 1; -#X connect 14 0 13 0; -#X connect 15 0 18 0; -#X connect 16 0 14 0; -#X connect 16 0 18 1; -#X connect 17 0 15 0; -#X connect 18 0 13 1; -#X connect 19 0 16 0; -#X connect 20 0 2 1; -#X connect 21 0 20 0; -#X connect 22 0 5 0; -#X restore 440 155 pd joystick_noise; -#X obj 440 92 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0 1 -; -#X text 333 73 Select your device and turn on to make noise:; -#X obj 619 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X msg 503 125 open \$1; -#X obj 503 105 hradio 15 1 1 8 \$0-device-number empty choose_a_device -0 -6 1 9 -262144 -1 -1 2; -#X obj 477 105 nbx 1 14 -1e+37 1e+37 0 0 empty \$0-device-number empty -0 -6 0 14 -166441 -1 -1 2 256; -#X text 8 36 Use a joystick device with Pd. This object auto-calibrates -the output of axis data. Move each element of the device thru its full -range to calibrate it.; -#X obj 335 215 unpack s f; - -#X text 422 177 (remember to calibrate all parts; -#X text 430 190 of the joystick first); -#X msg 394 120 print; -#X msg 220 112 open 2; -#X msg 225 131 open 3; -#X connect 0 0 29 0; -#X connect 19 0 29 0; -#X connect 28 0 3 0; -#X connect 28 1 4 0; -#X connect 28 2 5 0; -#X connect 28 3 6 0; -#X connect 28 4 9 0; -#X connect 28 5 10 0; -#X connect 28 6 11 0; -#X connect 28 7 12 0; -#X connect 28 8 13 0; -#X connect 28 9 14 0; -#X connect 29 0 2 0; -#X connect 29 1 1 0; -#X connect 29 2 7 0; -#X connect 29 3 8 0; -#X connect 29 4 26 0; -#X connect 29 5 27 0; -#X connect 29 6 28 0; -#X connect 29 6 38 0; -#X connect 31 0 30 0; -#X connect 34 0 30 1; -#X connect 35 0 34 0; -#X connect 38 0 15 0; -#X connect 38 1 16 0; -#X connect 42 0 30 0; -#X connect 43 0 29 0; -#X connect 44 0 29 0; diff --git a/doc/keyboard-help.pd b/doc/keyboard-help.pd deleted file mode 100644 index f16b62b..0000000 --- a/doc/keyboard-help.pd +++ /dev/null @@ -1,144 +0,0 @@ -#N canvas 499 42 567 478 10; -#X obj 168 91 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 1 1 -; -#X obj 11 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 -; -#X symbolatom 168 222 12 0 0 0 code - -; -#X floatatom 296 222 5 0 0 1 value - -; -#X obj 168 195 unpack symbol float; -#X text 239 238 buttons; -#X obj 2 2 cnv 15 550 20 empty empty keyboard 2 11 1 18 -233017 -66577 -0; -#X msg 204 93 open 1; -#X text 1 432 (C) Copyright 2004 Hans-Christoph Steiner -; -#X text 218 446 released under the GNU GPL; -#X text 414 446 $Author: eighthave $; -#X text 414 433 $Revision: 1.4 $; -#X obj 348 402 pddp/pddplink ../all_about_hid.pd -text all_about_hid -; -#X text 239 403 For more info:; -#X msg 209 112 open 3; -#X obj 32 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 -; -#X obj 53 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 -; -#X obj 74 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 -; -#X obj 95 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 -; -#X obj 116 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 137 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 158 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 179 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 200 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 221 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 242 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 263 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 284 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 305 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 326 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 347 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 368 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 389 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 410 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 431 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 452 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 473 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 494 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X text 117 270 Most keyboards can detect multiple keys at the same -time. You can test yours by pressing and holding keys and counting -how many "X"s are shown below; -#X text 8 36 Use a keyboard device with Pd. This object gives you raw -access to the keyboard events. Pd does not need to have focus in order -get the key events. No matter which application has focus \, this object -will get keyboard events.; -#X obj 75 315 route key_4 key_5 key_6 key_7 key_8 key_9 key_10 key_11 -key_12 key_13 key_14 key_15 key_16 key_17 key_18 key_19 key_20 key_21 -key_22 key_23 key_24 key_25 key_26 key_27; -#X obj 519 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp -; -#X obj 168 174 hid/keyboard 0; -#X msg 109 123 print; -#N canvas 162 133 570 420 serin 0; -#X obj 286 61 cnv 15 30 15 empty \$0-open-canvas 1 4 8 0 14 -233017 --1 0; -#X obj 60 61 hradio 15 1 1 15 empty empty empty 0 -6 0 8 -225271 -1 --1 1; -#X obj 60 13 inlet; -#X msg 200 202 label \$1; -#X obj 200 180 makefilename %d; -#X obj 59 108 int; -#X obj 59 337 outlet; -#X msg 201 306 set \$1 \$2; -#X obj 59 266 trigger bang anything; -#X obj 201 286 list; -#X msg 60 210 open \$1; -#X obj 200 225 send \$0-open-canvas; -#X connect 1 0 5 0; -#X connect 2 0 1 0; -#X connect 3 0 11 0; -#X connect 4 0 3 0; -#X connect 5 0 4 0; -#X connect 5 0 10 0; -#X connect 7 0 6 0; -#X connect 8 0 6 0; -#X connect 8 1 9 0; -#X connect 9 0 7 0; -#X connect 10 0 8 0; -#X coords 0 -1 1 1 257 17 1 60 60; -#X restore 216 131 pd serin; -#X msg 216 152 open 1; -#X connect 0 0 42 0; -#X connect 4 0 2 0; -#X connect 4 1 3 0; -#X connect 7 0 42 0; -#X connect 14 0 42 0; -#X connect 40 0 1 0; -#X connect 40 1 15 0; -#X connect 40 2 16 0; -#X connect 40 3 17 0; -#X connect 40 4 18 0; -#X connect 40 5 19 0; -#X connect 40 6 20 0; -#X connect 40 7 21 0; -#X connect 40 8 22 0; -#X connect 40 9 23 0; -#X connect 40 10 24 0; -#X connect 40 11 25 0; -#X connect 40 12 26 0; -#X connect 40 13 27 0; -#X connect 40 14 28 0; -#X connect 40 15 29 0; -#X connect 40 16 30 0; -#X connect 40 17 31 0; -#X connect 40 18 32 0; -#X connect 40 19 33 0; -#X connect 40 20 34 0; -#X connect 40 21 35 0; -#X connect 40 22 36 0; -#X connect 40 23 37 0; -#X connect 42 0 4 0; -#X connect 42 0 40 0; -#X connect 43 0 42 0; -#X connect 44 0 45 0; -#X connect 45 0 42 0; diff --git a/doc/keygate-help.pd b/doc/keygate-help.pd deleted file mode 100644 index 8033e0e..0000000 --- a/doc/keygate-help.pd +++ /dev/null @@ -1,34 +0,0 @@ -#N canvas 525 201 462 476 10; -#X declare -lib hid; -#X obj 5 2 cnv 15 450 20 empty empty keygate 2 11 1 18 -233017 -66577 -0; -#X obj 160 257 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 160 121 loadbang; -#X msg 160 141 1; -#X obj 160 169 metro 150; -#X text 33 416 (C) Copyright 2004 Hans-Christoph Steiner -; -#X text 250 430 released under the GNU GPL; -#X obj 237 369 pddp/pddplink ../all_about_hid.pd -text all_about_hid; -#X text 128 370 For more info:; -#X text 15 207 data to be gated -->; -#X obj 281 258 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 40 300 keyname; -#X symbolatom 84 320 10 0 0 0 - - -; -#X text 162 320 <-- check here for the keyname symbol; -#X obj 160 214 keygate f; -#X text 17 38 [keygate] is a simple gate controlled by a keyboard. -You must specify the name of the key which controls the gate. The left -inlet takes the data to be gated.; -#X text 18 89 The "f" key on the any keyboard controls this gate:; -#X text 310 263 <-- key released; -#X text 41 264 key pressed -->; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X connect 2 0 3 0; -#X connect 3 0 4 0; -#X connect 4 0 14 0; -#X connect 11 1 12 0; -#X connect 14 0 1 0; -#X connect 14 1 10 0; diff --git a/doc/mouse-help.pd b/doc/mouse-help.pd deleted file mode 100644 index 9080f51..0000000 --- a/doc/mouse-help.pd +++ /dev/null @@ -1,162 +0,0 @@ -#N canvas 163 22 660 430 10; -#X symbolatom 211 280 6 0 0 1 code - -; -#X obj 130 118 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 1 -1; -#X floatatom 339 280 5 0 0 1 value - -; -#X floatatom 140 280 5 0 0 3 wheel - -; -#X floatatom 85 280 7 0 0 3 Y - -; -#X floatatom 31 280 7 0 0 3 X - -; -#X obj 193 347 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 232 346 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 271 346 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X msg 175 95 open 0; -#X msg 180 114 open 1; -#X msg 185 133 open 2; -#N canvas 94 191 532 519 mouse-noise 0; -#X obj 26 18 inlet; -#X obj 199 314 noise~; -#X obj 155 336 osc~; -#X obj 113 387 *~; -#X msg 167 65 \; pd dsp 1; -#X obj 139 488 dac~; -#X obj 386 13 inlet; -#X text 448 14 open msgs; -#X text 340 169 get button value only; -#X obj 199 336 *~; -#X obj 312 207 / 2; -#X obj 113 448 pan/linear_pan~; -#X obj 276 426 line; -#X msg 276 403 \$1 20; -#X obj 276 318 +; -#X msg 313 294 0; -#X obj 155 242 abs; -#X obj 201 169 unpack symbol float; -#X obj 110 335 line~; -#X msg 110 312 \$1 3; -#X obj 155 314 * 20; -#X obj 276 339 min 20; -#X obj 276 358 max 0; -#X obj 276 294 int; -#X obj 276 379 / 20; -#X obj 155 287 mtof; -#X obj 155 203 hid/hid_rel2abs 0 1; -#X obj 155 223 - 1; -#X obj 155 267 mapping/notescale 30 60; -#X obj 200 403 loadbang; -#X msg 200 424 0.5; -#X obj 26 250 select 0; -#X msg 26 272 0; -#X text 11 224 mute on finish; -#X obj 26 43 trigger float float bang; -#X obj 312 318 float; -#X obj 132 149 hid/mouse; -#X connect 0 0 34 0; -#X connect 1 0 9 0; -#X connect 2 0 3 1; -#X connect 3 0 11 0; -#X connect 6 0 36 0; -#X connect 9 0 3 1; -#X connect 10 0 9 1; -#X connect 11 0 5 0; -#X connect 11 1 5 1; -#X connect 12 0 11 1; -#X connect 13 0 12 0; -#X connect 14 0 21 0; -#X connect 15 0 14 1; -#X connect 15 0 35 1; -#X connect 16 0 28 0; -#X connect 17 1 10 0; -#X connect 18 0 3 0; -#X connect 19 0 18 0; -#X connect 20 0 2 0; -#X connect 21 0 22 0; -#X connect 22 0 24 0; -#X connect 22 0 35 0; -#X connect 23 0 14 0; -#X connect 24 0 13 0; -#X connect 25 0 20 0; -#X connect 26 0 27 0; -#X connect 27 0 16 0; -#X connect 28 0 25 0; -#X connect 29 0 30 0; -#X connect 30 0 11 1; -#X connect 31 0 32 0; -#X connect 32 0 19 0; -#X connect 34 0 31 0; -#X connect 34 1 36 0; -#X connect 34 2 4 0; -#X connect 35 0 14 1; -#X connect 36 0 19 0; -#X connect 36 1 26 0; -#X connect 36 2 23 0; -#X connect 36 3 17 0; -#X restore 407 188 pd mouse-noise; -#X obj 407 131 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 1 -1; -#X text 354 107 turn this on to make some noise with the mouse; -#X obj 211 253 unpack symbol float; -#X text 282 296 buttons; -#X obj 310 346 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 349 346 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 388 346 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 427 346 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 466 346 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 2 2 cnv 15 650 20 empty empty mouse 2 11 1 18 -233017 -66577 -0; -#X obj 505 346 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 496 396 pddp/pddplink ../all_about_hid.pd -text all_about_hid -; -#X text 387 397 For more info:; -#X obj 544 346 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 -1; -#X obj 193 326 route btn_0 btn_1 btn_2 btn_3 btn_4 btn_5 btn_6 btn_7 -btn_8; -#X text 12 36 Use a mouse device with Pd. This object auto-calibrates -the output of axis data. Move the device around as fast as possible -in each axis to calibrate it.; -#X text 13 123 turn on polling:; -#X msg 180 158 refresh; -#X obj 619 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp -; -#X msg 500 160 open \$1; -#X obj 500 140 hradio 15 1 1 8 \$0-device-number empty choose_a_device -0 -6 1 9 -262144 -1 -1 1; -#X obj 474 140 nbx 1 14 -1e+37 1e+37 0 0 empty \$0-device-number empty -0 -6 0 14 -166441 -1 -1 1 256; -#X msg 76 154 print; -#X obj 130 183 hid/mouse 1; -#X connect 1 0 36 0; -#X connect 9 0 36 0; -#X connect 10 0 36 0; -#X connect 11 0 36 0; -#X connect 13 0 12 0; -#X connect 15 0 0 0; -#X connect 15 1 2 0; -#X connect 27 0 6 0; -#X connect 27 1 7 0; -#X connect 27 2 8 0; -#X connect 27 3 17 0; -#X connect 27 4 18 0; -#X connect 27 5 19 0; -#X connect 27 6 20 0; -#X connect 27 7 21 0; -#X connect 27 8 23 0; -#X connect 27 9 26 0; -#X connect 30 0 36 0; -#X connect 32 0 12 1; -#X connect 33 0 32 0; -#X connect 35 0 36 0; -#X connect 36 0 5 0; -#X connect 36 1 4 0; -#X connect 36 2 3 0; -#X connect 36 3 15 0; -#X connect 36 3 27 0; diff --git a/doc/notescale-help.pd b/doc/notescale-help.pd deleted file mode 100644 index f3f69a7..0000000 --- a/doc/notescale-help.pd +++ /dev/null @@ -1,45 +0,0 @@ -#N canvas 577 303 464 467 10; -#X declare -lib hid; -#X floatatom 26 85 5 0 0 0 - - -; -#X floatatom 26 160 0 0 0 0 - - -; -#X obj 2 2 cnv 15 450 20 empty empty notescale 2 11 1 18 -233017 --66577 0; -#X obj 418 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X floatatom 137 266 5 0 0 0 - - -; -#X obj 140 330 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 0 1; -#X text 17 393 (C) Copyright 2004 Hans-Christoph Steiner -; -#X text 234 407 released under the GNU GPL; -#X floatatom 150 160 0 0 0 0 - - -; -#X floatatom 297 160 0 0 0 0 - - -; -#X obj 213 83 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -225271 --1 -1 0 0; -#X text 17 426 $Revision: 1.3 $$Date: 2006-03-17 04:58:30 $; -#X text 18 439 $Author: eighthave $; -#X obj 140 244 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262131 --1 -1 0 0; -#X obj 26 130 notescale 30 60; -#X floatatom 137 347 5 0 0 0 - - -; -#X text 13 193 If you use [notescale] with no arguments \, then the -output range defaults to 0-127.; -#X floatatom 202 109 5 0 0 0 - - -; -#X obj 26 105 / 100; -#X text 18 35 [notescale] scales a stream of numbers to a MIDI note -number. It takes an input range of 0 to 1 \, and outputs MIDI note -numbers based on an output range set as arguments.; -#X obj 137 297 notescale; -#X obj 150 130 notescale 15 120; -#X obj 297 130 notescale 24 48; -#X connect 0 0 18 0; -#X connect 4 0 20 0; -#X connect 5 0 15 0; -#X connect 10 0 17 0; -#X connect 10 0 21 0; -#X connect 10 0 22 0; -#X connect 13 0 4 0; -#X connect 14 0 1 0; -#X connect 18 0 14 0; -#X connect 20 0 5 0; -#X connect 21 0 8 0; -#X connect 22 0 9 0; diff --git a/doc/rad2hid-help.pd b/doc/rad2hid-help.pd deleted file mode 100644 index c90983a..0000000 --- a/doc/rad2hid-help.pd +++ /dev/null @@ -1,25 +0,0 @@ -#N canvas 147 313 467 307 10; -#X declare -lib hid; -#X obj 5 2 cnv 15 450 20 empty empty rad2hid 2 11 1 18 -233017 -66577 -0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X text 254 269 released under the GNU GPL; -#X text 185 228 For more info:; - -#X text 40 254 (C) Copyright 2005 Hans-Christoph Steiner -; -#X text 300 168 related objects:; -#X obj 273 184 hid/rad2hid; -#X obj 332 184 hid/deg2hid; -#X obj 391 184 hid/hid2deg; -#X floatatom 69 195 5 0 0 1 hid - -; -#X obj 72 95 hsl 128 15 -3.14159 3.14159 0 0 empty empty radians 6 -7 1 10 -262131 -1 -1 0 0; -#X floatatom 95 125 9 0 0 0 - - -; -#X obj 69 160 hid/rad2hid; -#X text 21 35 This object converts numbers from radians (-pi to pi) -to the [hid] range (0 to 1) with the 0's lining up in the same place. -; -#X connect 11 0 12 0; -#X connect 11 0 13 0; -#X connect 13 0 10 0; diff --git a/hid-help.pd b/hid-help.pd new file mode 100644 index 0000000..c1550f0 --- /dev/null +++ b/hid-help.pd @@ -0,0 +1,573 @@ +#N canvas 366 51 715 555 10; +#X floatatom 27 439 5 0 0 0 - - -; +#X floatatom 83 439 5 0 0 0 - - -; +#X floatatom 63 395 6 0 0 0 - - -; +#X obj 191 164 tgl 35 0 empty empty empty 0 -6 0 8 -24198 -1 -1 0 25 +; +#X floatatom 571 340 12 0 0 1 value - -; +#X symbolatom 531 356 15 0 0 1 event_code - -; +#X symbolatom 492 372 15 0 0 1 event_type - -; +#X obj 2 2 cnv 15 700 20 empty empty hid 2 11 1 18 -233017 -66577 0 +; +#X text 274 332 outlet message format:; +#X floatatom 138 343 5 0 0 1 ev_syn - -; +#X obj 111 342 +; +#X msg 111 322 1; +#X msg 374 140 close; +#X msg 374 119 refresh; +#X text 435 117 refresh device list; +#X text 422 533 released under the GNU GPL; +#X msg 436 201 poll 20; +#X msg 374 201 poll 2; +#X text 370 186 start polling and set the poll delay in ms; +#X text 356 33 !!! This software is very much alpha \, so any aspect +of it could change without notice !!!; +#X obj 16 291 route key rel abs syn; +#X obj 9 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 +; +#N canvas 278 328 631 544 Event_Codes 0; +#X text 28 48 (For a complete listing of Linux Input Events \, see +/usr/include/linux/input.h.); +#X obj 11 9 cnv 15 580 30 empty empty Event_Codes 20 12 1 14 -225271 +-66577 0; +#X text 32 118 EVENT CODE; +#X text 162 118 #define; +#X text 232 118 number; +#X text 32 133 -----------------------------------; +#X text 32 148 X Axis; +#X text 32 163 Y Axis; +#X text 32 178 Z Axis; +#X text 32 193 Horizontal Wheel; +#X text 32 208 Dial; +#X text 32 223 Wheel; +#X text 32 238 Misc; +#X text 162 148 REL_X; +#X text 162 163 REL_Y; +#X text 162 178 REL_Z; +#X text 162 193 REL_HWHEEL; +#X text 162 208 REL_DIAL; +#X text 162 223 REL_WHEEL; +#X text 162 238 REL_MISC; +#X text 247 148 0; +#X text 247 163 1; +#X text 247 178 2; +#X text 247 193 6; +#X text 247 208 7; +#X text 247 223 8; +#X text 247 238 9; +#X text 307 118 EVENT CODE; +#X text 457 118 #define; +#X text 547 118 number; +#X text 307 148 Absolute X; +#X text 307 163 Absolute Y; +#X text 307 178 Absolute Z; +#X text 307 193 RX; +#X text 307 208 RY; +#X text 307 223 RZ; +#X text 307 238 Throttle; +#X text 307 253 Rudder; +#X text 307 268 Wheel; +#X text 307 283 Gas Pedal; +#X text 307 298 Brake Pedal; +#X text 307 313 Hat Switch 0 X-axis; +#X text 307 328 Hat Switch 0 Y-axis; +#X text 307 343 Hat Switch 1 X-axis; +#X text 307 358 Hat Switch 1 Y-axis; +#X text 307 373 Hat Switch 2 X-axis; +#X text 307 388 Hat Switch 2 Y-axis; +#X text 307 403 Hat Switch 3 X-axis; +#X text 307 418 Hat Switch 3 Y-axis; +#X text 307 433 Pressure; +#X text 307 448 Distance; +#X text 307 463 Tilt X-Axis; +#X text 307 478 Tilt Y-Axis; +#X text 307 493 Misc; +#X text 457 148 ABS_X; +#X text 457 163 ABS_Y; +#X text 457 178 ABS_Z; +#X text 457 193 ABS_RX; +#X text 457 208 ABS_RY; +#X text 457 223 ABS_RZ; +#X text 457 238 ABS_THROTTLE; +#X text 457 253 ABS_RUDDER; +#X text 457 268 ABS_WHEEL; +#X text 457 283 ABS_GAS; +#X text 457 298 ABS_BRAKE; +#X text 457 313 ABS_HAT0X; +#X text 457 328 ABS_HAT0Y; +#X text 457 343 ABS_HAT1X; +#X text 457 358 ABS_HAT1Y; +#X text 457 373 ABS_HAT2X; +#X text 457 388 ABS_HAT2Y; +#X text 457 403 ABS_HAT3X; +#X text 457 418 ABS_HAT3Y; +#X text 457 433 ABS_PRESSURE; +#X text 457 448 ABS_DISTANCE; +#X text 457 463 ABS_TILT_X; +#X text 457 478 ABS_TILT_Y; +#X text 457 493 ABS_MISC; +#X text 563 148 0; +#X text 563 163 1; +#X text 563 178 2; +#X text 563 193 3; +#X text 563 208 4; +#X text 563 223 5; +#X text 563 238 6; +#X text 563 253 7; +#X text 563 268 8; +#X text 563 283 9; +#X text 563 298 10; +#X text 563 313 16; +#X text 563 328 17; +#X text 563 343 18; +#X text 563 358 19; +#X text 563 373 20; +#X text 563 388 21; +#X text 563 403 22; +#X text 563 418 23; +#X text 563 433 24; +#X text 563 448 25; +#X text 563 463 26; +#X text 563 478 27; +#X text 563 493 28; +#X obj 30 89 cnv 15 250 25 empty empty Relative_Axes 20 12 1 12 -241660 +-66577 0; +#X obj 308 89 cnv 15 280 25 empty empty Absolute_Axes 20 12 1 12 -241660 +-66577 0; +#X text 307 133 ----------------------------------------; +#X text 32 285 EVENT CODE; +#X text 138 285 #define; +#X text 232 285 number; +#X text 32 300 -----------------------------------; +#X obj 30 256 cnv 15 250 25 empty empty Joystick_Buttons 20 12 1 12 +-241660 -66577 0; +#X text 138 315 BTN_TRIGGER; +#X text 32 315 Trigger; +#X text 32 330 Thumb; +#X text 32 345 Thumb 2; +#X text 32 360 Top; +#X text 32 375 Top 2; +#X text 32 390 Pinkie; +#X text 32 405 Base 1; +#X text 138 404 BTN_BASE; +#X text 138 330 BTN_THUMB; +#X text 138 345 BTN_THUMB2; +#X text 138 360 BTN_TOP; +#X text 138 375 BTN_TOP2; +#X text 138 390 BTN_PINKIE; +#X text 245 315 288; +#X text 245 330 289; +#X text 245 345 290; +#X text 245 360 291; +#X text 245 375 292; +#X text 245 390 293; +#X text 245 405 294; +#X text 245 419 295; +#X text 245 434 296; +#X text 245 448 297; +#X text 138 418 BTN_BASE2; +#X text 138 433 BTN_BASE3; +#X text 138 447 BTN_BASE4; +#X text 32 419 Base 2; +#X text 32 434 Base 3; +#X text 32 448 Base 4; +#X text 32 463 Base 5; +#X text 32 477 Base 6; +#X text 138 462 BTN_BASE5; +#X text 138 476 BTN_BASE6; +#X text 245 463 298; +#X text 245 477 299; +#X restore 593 91 pd Event_Codes; +#N canvas 50 289 469 317 Event_Types 0; +#X text 28 48 (For a complete listing of Linux Input Events \, see +/usr/include/linux/input.h.); +#X text 61 90 EVENT TYPE; +#X text 61 135 Keys and Buttons; +#X text 61 150 Relative Axes; +#X text 61 165 Absolute Axes; +#X text 61 180 Misc Events; +#X text 61 195 LED Event; +#X text 61 210 Sounds; +#X text 61 225 Autorepeat Values; +#X text 61 240 Force Feedback; +#X text 230 90 #define; +#X text 230 135 EV_KEY; +#X text 230 150 EV_REL; +#X text 230 165 EV_ABS; +#X text 230 180 EV_MSC; +#X text 230 195 EV_LED; +#X text 230 210 EV_SND; +#X text 230 225 EV_REP; +#X text 230 240 EV_FF; +#X text 315 90 number; +#X text 331 120 0; +#X text 331 135 1; +#X text 331 150 2; +#X text 331 165 3; +#X text 331 180 4; +#X text 331 195 17; +#X text 331 210 18; +#X text 331 225 20; +#X text 331 240 21; +#X obj 11 9 cnv 15 400 30 empty empty Event_Types 20 12 1 14 -262131 +-66577 0; +#X text 230 120 EV_SYN; +#X text 61 270 Force Feedback Status; +#X text 61 120 Syncronization Events; +#X text 230 270 EV_FF_STATUS; +#X text 331 270 23; +#X text 61 105 -------------------------------------------; +#X text 331 255 22; +#X text 230 255 EV_PWR; +#X text 61 255 Power Events (for UPS); +#X restore 593 71 pd Event_Types; +#N canvas 0 22 450 300 Event_Values 0; +#X text 28 48 (For a complete listing of Linux Input Events \, see +/usr/include/linux/input.h.); +#X obj 11 9 cnv 15 400 30 empty empty Event_Values 20 12 1 14 -261681 +-66577 0; +#X restore 593 111 pd Event_Values; +#X floatatom 140 439 5 0 0 0 - - -; +#X obj 421 394 route abs_hat0x abs_hat0y abs_hat1x abs_hat1y; +#X floatatom 421 416 7 0 0 0 - - -; +#X msg 374 161 print; +#X obj 304 250 hid 0; +#X text 437 141 close the device; +#X text 437 162 print the device and element lists; +#X text 9 212 Any non-zero value starts polling \,; +#X text 8 225 0 stops the polling. If the number; +#X text 9 238 is greater than 1 \, then the poll; +#X text 9 251 delay is set to that number.; +#X obj 27 419 route rel_x rel_y rel_z rel_wheel; +#X floatatom 196 439 5 0 0 0 - - -; +#X obj 492 321 unpack s s f; +#X text 298 346 event_type event_code value; +#X obj 63 374 route abs_x abs_y abs_z abs_rx abs_ry abs_rz abs_throttle +; +#X obj 421 432 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +-1; +#X floatatom 498 416 7 0 0 0 - - -; +#X obj 498 432 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +1; +#X floatatom 576 416 7 0 0 0 - - -; +#X obj 576 432 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +1; +#X floatatom 653 416 7 0 0 0 - - -; +#X obj 653 432 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +1; +#X floatatom 113 395 6 0 0 0 - - -; +#X floatatom 163 395 6 0 0 0 - - -; +#X floatatom 213 395 6 0 0 0 - - -; +#X floatatom 263 395 6 0 0 0 - - -; +#X floatatom 313 395 6 0 0 0 - - -; +#X floatatom 363 395 6 0 0 0 - - -; +#X obj 39 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 +; +#X obj 69 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 +; +#X obj 99 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 +; +#X obj 129 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 159 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 189 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 219 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 249 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 279 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 309 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 339 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 369 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 399 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 9 460 route btn_0 btn_1 btn_2 btn_3 btn_4 btn_5 btn_6 btn_7 +btn_8 btn_9 btn_10 btn_11 btn_12 btn_13 btn_14 btn_15; +#X obj 429 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 459 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X msg 25 155 debug 0; +#X msg 298 145 info; +#N canvas 752 103 411 235 see 0; +#N canvas 108 318 543 264 route 0; +#X obj 27 14 inlet; +#X obj 72 226 outlet; +#X obj 19 226 outlet; +#X obj 172 226 outlet; +#X obj 222 204 symbol; +#X obj 222 226 outlet; +#X obj 272 204 symbol; +#X obj 272 226 outlet; +#X obj 322 204 symbol; +#X obj 322 226 outlet; +#X obj 372 204 symbol; +#X obj 372 226 outlet; +#X obj 122 225 outlet; +#X obj 422 204 symbol; +#X obj 422 226 outlet; +#X obj 472 204 symbol; +#X obj 472 226 outlet; +#X obj 26 63 route open device poll total product manufacturer transport +type vendorID productID; +#X connect 0 0 17 0; +#X connect 4 0 5 0; +#X connect 6 0 7 0; +#X connect 8 0 9 0; +#X connect 10 0 11 0; +#X connect 13 0 14 0; +#X connect 15 0 16 0; +#X connect 17 0 2 0; +#X connect 17 1 1 0; +#X connect 17 2 12 0; +#X connect 17 3 3 0; +#X connect 17 4 4 0; +#X connect 17 5 6 0; +#X connect 17 6 8 0; +#X connect 17 7 10 0; +#X connect 17 8 13 0; +#X connect 17 9 15 0; +#X restore 117 70 pd route info; +#X obj 81 96 tgl 15 0 empty empty open 0 -6 0 8 -262144 -1 -1 1 1; +#X obj 110 22 inlet; +#X obj 123 43 print info; +#X symbolatom 304 93 0 0 0 0 productID - -; +#X symbolatom 304 112 0 0 0 0 vendorID - -; +#X symbolatom 304 151 0 0 0 0 transport - -; +#X symbolatom 304 171 0 0 0 0 manufacturer - -; +#X symbolatom 186 192 0 0 0 0 product - -; +#X floatatom 97 140 5 0 0 0 device - -; +#X floatatom 97 162 5 0 0 0 poll - -; +#X symbolatom 304 131 0 0 0 0 type - -; +#X floatatom 97 182 5 0 0 0 total - -; +#X connect 0 0 1 0; +#X connect 0 1 9 0; +#X connect 0 2 10 0; +#X connect 0 3 12 0; +#X connect 0 4 8 0; +#X connect 0 5 7 0; +#X connect 0 6 6 0; +#X connect 0 7 11 0; +#X connect 0 8 5 0; +#X connect 0 9 4 0; +#X connect 2 0 0 0; +#X connect 2 0 3 0; +#X restore 420 271 pd see device info; +#N canvas 553 77 380 450 open 0; +#X obj 77 61 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1 +-1 0; +#X msg 78 81 open mouse \$1; +#X obj 121 201 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1 +-1 0; +#X msg 130 221 open keyboard \$1; +#X obj 50 13 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1 +-1 0; +#X obj 55 417 outlet; +#X obj 85 108 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1 +-1 0; +#X msg 94 128 open joystick \$1; +#X msg 59 33 open pointer \$1; +#X obj 101 155 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1 +-1 0; +#X msg 110 175 open gamepad \$1; +#X obj 137 244 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1 +-1 0; +#X msg 146 264 open keypad \$1; +#X obj 141 291 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1 +-1 0; +#X msg 150 311 open multiaxiscontroller \$1; +#X text 155 342 or just open the first one:; +#X msg 138 363 open mouse; +#X msg 159 381 open joystick; +#X connect 0 0 1 0; +#X connect 1 0 5 0; +#X connect 2 0 3 0; +#X connect 3 0 5 0; +#X connect 4 0 8 0; +#X connect 6 0 7 0; +#X connect 7 0 5 0; +#X connect 8 0 5 0; +#X connect 9 0 10 0; +#X connect 10 0 5 0; +#X connect 11 0 12 0; +#X connect 12 0 5 0; +#X connect 13 0 14 0; +#X connect 14 0 5 0; +#X connect 16 0 5 0; +#X connect 17 0 5 0; +#X restore 203 59 pd open by device type; +#N canvas 796 51 470 320 open 0; +#X text 217 82 Gravis/Destroyer Tiltpad; +#X msg 76 81 open 0x047D 0x4008; +#X msg 73 53 open 0x046d 0xc01d; +#X text 211 53 Logitech USB-PS/2 Optical Mouse; +#X obj 10 277 outlet; +#X text 9 12 You can use the hex values of the USB vendor and product +IDs (it is not case sensitive):; +#X text 221 111 Overtone CUI v1.0; +#X msg 80 110 open 0x1043 0x0015; +#X msg 83 136 open 0x06a3 0xff12; +#X text 221 134 Saitek Cyborgforce; +#X connect 1 0 4 0; +#X connect 2 0 4 0; +#X connect 7 0 4 0; +#X connect 8 0 4 0; +#X restore 174 37 pd open by vendor/product ID; +#N canvas 114 93 467 346 test 0; +#X obj 144 45 inlet; +#X obj 88 104 route DESKTOP; +#X obj 87 158 route DESKTOP57; +#X obj 70 207 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X floatatom 95 212 5 0 0 0 - - -; +#X obj 148 215 spigot; +#X obj 146 256 print test; +#X obj 189 192 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +1; +#X obj 292 122 spigot; +#X obj 290 163 print test; +#X obj 333 99 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X connect 0 0 1 0; +#X connect 0 0 8 0; +#X connect 1 0 2 0; +#X connect 2 0 3 0; +#X connect 2 0 4 0; +#X connect 2 0 5 0; +#X connect 5 0 6 0; +#X connect 7 0 5 1; +#X connect 8 0 9 0; +#X connect 10 0 8 1; +#X restore 197 303 pd test; +#X msg 504 201 poll 200; +#X text 69 533 (C) Copyright 2004 Hans-Christoph Steiner +; +#N canvas 162 133 570 420 serin 0; +#X obj 209 61 cnv 15 15 15 empty \$0-debug-canvas 0 4 8 0 14 -233017 +-1 0; +#X obj 60 61 hradio 15 1 1 10 empty empty empty 0 -6 0 8 -261689 -1 +-1 0; +#X obj 60 13 inlet; +#X msg 200 202 label \$1; +#X obj 200 180 makefilename %d; +#X obj 59 108 int; +#X obj 59 337 outlet; +#X msg 201 306 set \$1 \$2; +#X obj 59 266 trigger bang anything; +#X obj 201 286 list; +#X msg 60 210 debug \$1; +#X obj 200 225 send \$0-debug-canvas; +#X connect 1 0 5 0; +#X connect 2 0 1 0; +#X connect 3 0 11 0; +#X connect 4 0 3 0; +#X connect 5 0 4 0; +#X connect 5 0 10 0; +#X connect 7 0 6 0; +#X connect 8 0 6 0; +#X connect 8 1 9 0; +#X connect 9 0 7 0; +#X connect 10 0 8 0; +#X coords 0 -1 1 1 165 17 1 60 60; +#X restore 25 134 pd serin; +#X msg 262 114 open 0; +#X obj 249 300 pddp/print; +#N canvas 162 133 570 420 serin 0; +#X obj 286 61 cnv 15 30 15 empty \$0-open-canvas 0 4 8 0 14 -233017 +-1 0; +#X obj 60 61 hradio 15 1 1 15 empty empty empty 0 -6 0 8 -225271 -1 +-1 0; +#X obj 60 13 inlet; +#X msg 200 202 label \$1; +#X obj 200 180 makefilename %d; +#X obj 59 108 int; +#X obj 59 337 outlet; +#X msg 201 306 set \$1 \$2; +#X obj 59 266 trigger bang anything; +#X obj 201 286 list; +#X msg 60 210 open \$1; +#X obj 200 225 send \$0-open-canvas; +#X connect 1 0 5 0; +#X connect 2 0 1 0; +#X connect 3 0 11 0; +#X connect 4 0 3 0; +#X connect 5 0 4 0; +#X connect 5 0 10 0; +#X connect 7 0 6 0; +#X connect 8 0 6 0; +#X connect 8 1 9 0; +#X connect 9 0 7 0; +#X connect 10 0 8 0; +#X coords 0 -1 1 1 257 17 1 60 60; +#X restore 262 92 pd serin; +#X connect 3 0 29 0; +#X connect 9 0 10 1; +#X connect 10 0 9 0; +#X connect 11 0 10 0; +#X connect 12 0 29 0; +#X connect 13 0 29 0; +#X connect 16 0 29 0; +#X connect 17 0 29 0; +#X connect 20 0 67 0; +#X connect 20 1 36 0; +#X connect 20 2 40 0; +#X connect 20 3 11 0; +#X connect 26 0 27 0; +#X connect 26 1 42 0; +#X connect 26 2 44 0; +#X connect 26 3 46 0; +#X connect 27 0 41 0; +#X connect 28 0 29 0; +#X connect 29 0 20 0; +#X connect 29 0 38 0; +#X connect 29 0 75 0; +#X connect 29 0 80 0; +#X connect 29 1 72 0; +#X connect 36 0 0 0; +#X connect 36 1 1 0; +#X connect 36 2 25 0; +#X connect 36 3 37 0; +#X connect 38 0 6 0; +#X connect 38 1 5 0; +#X connect 38 2 4 0; +#X connect 40 0 2 0; +#X connect 40 1 48 0; +#X connect 40 2 49 0; +#X connect 40 3 50 0; +#X connect 40 4 51 0; +#X connect 40 5 52 0; +#X connect 40 6 53 0; +#X connect 40 7 26 0; +#X connect 42 0 43 0; +#X connect 44 0 45 0; +#X connect 46 0 47 0; +#X connect 67 0 21 0; +#X connect 67 1 54 0; +#X connect 67 2 55 0; +#X connect 67 3 56 0; +#X connect 67 4 57 0; +#X connect 67 5 58 0; +#X connect 67 6 59 0; +#X connect 67 7 60 0; +#X connect 67 8 61 0; +#X connect 67 9 62 0; +#X connect 67 10 63 0; +#X connect 67 11 64 0; +#X connect 67 12 65 0; +#X connect 67 13 66 0; +#X connect 67 14 68 0; +#X connect 67 15 69 0; +#X connect 70 0 29 0; +#X connect 71 0 29 0; +#X connect 73 0 29 0; +#X connect 74 0 29 0; +#X connect 76 0 29 0; +#X connect 78 0 70 0; +#X connect 79 0 29 0; +#X connect 81 0 79 0; diff --git a/hid-meta.pd b/hid-meta.pd new file mode 100644 index 0000000..407bba8 --- /dev/null +++ b/hid-meta.pd @@ -0,0 +1,9 @@ +#N canvas 10 22 200 200 10; +#N canvas 20 22 420 300 META 1; +#X text 10 10 META this is a prototype of a libdir meta file; +#X text 10 30 NAME hid; +#X text 10 50 AUTHOR Hans-Christoph Steiner; +#X text 10 70 DESCRIPTION; +#X text 10 90 LICENSE GNU GPL; +#X text 10 110 VERSION 0.7; +#X restore 10 10 pd META; diff --git a/hid2deg-help.pd b/hid2deg-help.pd new file mode 100644 index 0000000..4a405fc --- /dev/null +++ b/hid2deg-help.pd @@ -0,0 +1,24 @@ +#N canvas 589 387 483 323 10; +#X declare -lib hid; +#X obj 5 2 cnv 15 450 20 empty empty hid2deg 2 11 1 18 -233017 -66577 +0; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X text 254 269 released under the GNU GPL; +#X text 185 228 For more info:; + +#X text 40 254 (C) Copyright 2005 Hans-Christoph Steiner +; +#X text 300 168 related objects:; +#X obj 333 184 hid/rad2hid; +#X obj 392 184 hid/deg2hid; +#X floatatom 69 185 7 0 0 1 degrees - -; +#X obj 72 85 hsl 128 15 0 1 0 0 empty empty hid 6 7 1 10 -262131 -1 +-1 500 0; +#X floatatom 95 115 5 0 0 0 - - -; +#X obj 274 184 hid/hid2rad; +#X obj 69 150 hid/hid2deg; +#X text 26 34 This object converts numbers from the [hid] range (0 +to 1) to degrees (0 to 360) with the 0 being north.; +#X connect 10 0 11 0; +#X connect 10 0 13 0; +#X connect 13 0 9 0; diff --git a/hid2rad-help.pd b/hid2rad-help.pd new file mode 100644 index 0000000..4943a39 --- /dev/null +++ b/hid2rad-help.pd @@ -0,0 +1,25 @@ +#N canvas 633 307 471 311 10; +#X declare -lib hid; +#X obj 5 2 cnv 15 450 20 empty empty hid2rad 2 11 1 18 -233017 -66577 +0; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X text 254 269 released under the GNU GPL; +#X text 185 228 For more info:; + +#X text 40 254 (C) Copyright 2005 Hans-Christoph Steiner +; +#X text 300 168 related objects:; +#X obj 273 184 hid/rad2hid; +#X obj 332 184 hid/deg2hid; +#X obj 391 184 hid/hid2deg; +#X obj 69 150 hid/hid2rad; +#X floatatom 69 185 9 0 0 1 radians - -; +#X obj 72 85 hsl 128 15 0 1 0 0 empty empty hid 6 7 1 10 -262131 -1 +-1 0 0; +#X floatatom 95 115 5 0 0 0 - - -; +#X text 26 34 This object converts numbers from the [hid] range (0 +to 1) to radians (-pi to pi) with the 0's lining up in the same place. +; +#X connect 10 0 11 0; +#X connect 12 0 13 0; +#X connect 12 0 10 0; diff --git a/hid_average-help.pd b/hid_average-help.pd new file mode 100644 index 0000000..8ef8f49 --- /dev/null +++ b/hid_average-help.pd @@ -0,0 +1,34 @@ +#N canvas 135 352 479 396 10; +#X declare -lib hid; +#X text 27 340 (C) Copyright 2004 Hans-Christoph Steiner +; +#X text 244 354 released under the GNU GPL; +#X floatatom 101 195 5 0 0 0 - - -; +#X floatatom 101 251 5 0 0 0 - - -; +#X text 98 303 For more info:; + +#X obj 193 194 hsl 85 18 0.1 10 1 1 empty empty average_count 0 9 1 +12 -228992 -1 -1 3500 0; +#X floatatom 189 223 5 0 0 0 - - -; +#X obj 102 131 noise4hidhelp; +#X obj 104 268 hsl 250 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X obj 104 164 hsl 250 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X obj 5 2 cnv 15 450 20 empty empty hid_average 2 11 1 18 -233017 +-66577 0; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X obj 101 221 hid/hid_average; +#X text 18 36 Smooths a stream of numbers using weighted averaging. +By default \, the average is the last 10 values. You can set this using +the right inlet.; +#X obj 102 95 tgl 30 0 empty empty start 1 15 1 12 -90049 -1 -1 0 1 +; +#X connect 2 0 13 0; +#X connect 3 0 9 0; +#X connect 6 0 7 0; +#X connect 6 0 13 1; +#X connect 8 0 10 0; +#X connect 10 0 2 0; +#X connect 13 0 3 0; +#X connect 15 0 8 0; diff --git a/hid_centered-help.pd b/hid_centered-help.pd new file mode 100644 index 0000000..9dad015 --- /dev/null +++ b/hid_centered-help.pd @@ -0,0 +1,37 @@ +#N canvas 389 382 468 357 10; +#X declare -lib hid; +#X obj 5 2 cnv 15 450 20 empty empty hid_centered 2 11 1 18 -233017 +-66577 0; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X text 27 320 (C) Copyright 2004 Hans-Christoph Steiner +; +#X text 244 334 released under the GNU GPL; +#X text 98 291 For more info:; + +#X obj 102 234 hid/hid_centered; +#X obj 137 105 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 1 +1; +#X msg 200 138 open \$1; +#X obj 200 118 hradio 15 1 1 8 \$0-device-number empty choose_a_device +0 -6 1 9 -262144 -1 -1 3; +#X obj 174 118 nbx 1 14 -1e+37 1e+37 0 0 empty \$0-device-number empty +0 -6 0 14 -166441 -1 -1 3 256; +#X obj 157 170 joystick 0; +#X obj 205 235 hid/hid_centered; +#X floatatom 205 256 5 0 0 0 Y - -; +#X floatatom 102 255 5 0 0 0 X - -; +#X floatatom 205 216 5 0 0 0 Y - -; +#X floatatom 102 215 5 0 0 0 X - -; +#X text 19 34 Convert the standard "0 to 1" [hid] format to "-1 to +1" so that 0 is the center point of the range. With a joystick \, for +example \, this can make the center point of the joystick (0 \, 0) +rather than (0.5 \, 0.5).; +#X connect 6 0 14 0; +#X connect 7 0 11 0; +#X connect 8 0 11 0; +#X connect 9 0 8 0; +#X connect 11 0 16 0; +#X connect 11 1 15 0; +#X connect 12 0 13 0; +#X connect 15 0 12 0; +#X connect 16 0 6 0; diff --git a/hid_cube-help.pd b/hid_cube-help.pd new file mode 100644 index 0000000..94e6cdf --- /dev/null +++ b/hid_cube-help.pd @@ -0,0 +1,58 @@ +#N canvas 556 145 472 353 10; +#X declare -lib hid; +#X obj 5 2 cnv 15 450 20 empty empty hid_graph 2 11 1 18 -233017 +-66577 0; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X text 27 300 (C) Copyright 2004 Hans-Christoph Steiner +; +#X text 244 314 released under the GNU GPL; +#X text 98 271 For more info:; + +#X floatatom 25 123 8 0 0 0 - - -; +#X floatatom 25 184 8 0 0 0 - - -; +#X obj 28 201 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 +-1 -1 0 1; +#X obj 28 103 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 +-1 -1 0 1; +#X obj 25 153 hid/hid_cube; +#X text 15 34 This object maps the input range to a cube curve \, i.e. +[pow 3] or "X to power of 3".; +#N canvas 0 22 450 300 graph1 0; +#X array hid_cube 100 float 0; +#X coords 0 1 99 0 100 100 1; +#X restore 321 111 graph; +#N canvas 266 69 327 317 draw_array 0; +#X msg 57 52 bang; +#X obj 57 73 until; +#X text 88 52 start; +#X obj 57 95 f; +#X obj 86 95 + 1; +#X obj 132 97 sel 0; +#X obj 86 117 mod 100; +#X obj 57 150 t f f; +#X obj 94 177 s array_index; +#X obj 170 262 r array_index; +#X obj 57 13 loadbang; +#X obj 57 207 / 100; +#X text 99 207 [hid] output range: 0 to 1; +#X obj 56 233 hid/hid_cube; +#X obj 56 283 tabwrite hid_cube; +#X connect 0 0 1 0; +#X connect 1 0 3 0; +#X connect 3 0 4 0; +#X connect 3 0 7 0; +#X connect 4 0 6 0; +#X connect 5 0 1 1; +#X connect 6 0 3 1; +#X connect 6 0 5 0; +#X connect 7 0 11 0; +#X connect 7 1 8 0; +#X connect 9 0 14 1; +#X connect 10 0 0 0; +#X connect 11 0 13 0; +#X connect 13 0 14 0; +#X restore 321 78 pd draw_array; +#X connect 6 0 10 0; +#X connect 7 0 8 0; +#X connect 9 0 6 0; +#X connect 10 0 7 0; diff --git a/hid_cuberoot-help.pd b/hid_cuberoot-help.pd new file mode 100644 index 0000000..48c74b2 --- /dev/null +++ b/hid_cuberoot-help.pd @@ -0,0 +1,58 @@ +#N canvas 416 140 464 319 10; +#X declare -lib hid; +#X obj 5 2 cnv 15 450 20 empty empty hid_cuberoot 2 11 1 18 -233017 +-66577 0; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X text 27 280 (C) Copyright 2004 Hans-Christoph Steiner +; +#X text 244 294 released under the GNU GPL; +#X text 98 251 For more info:; + +#X floatatom 25 123 8 0 0 0 - - -; +#X floatatom 25 184 8 0 0 0 - - -; +#X obj 28 201 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 +-1 -1 0 1; +#X obj 28 103 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 +-1 -1 0 1; +#X obj 25 153 hid/hid_cuberoot; +#N canvas 0 22 450 300 graph1 0; +#X array hid_cuberoot 100 float 0; +#X coords 0 1 99 0 100 100 1; +#X restore 321 111 graph; +#N canvas 266 69 327 317 draw_array 0; +#X msg 57 52 bang; +#X obj 57 73 until; +#X text 88 52 start; +#X obj 57 95 f; +#X obj 86 95 + 1; +#X obj 132 97 sel 0; +#X obj 86 117 mod 100; +#X obj 57 150 t f f; +#X obj 94 177 s array_index; +#X obj 170 262 r array_index; +#X obj 57 13 loadbang; +#X obj 57 207 / 100; +#X text 99 207 [hid] output range: 0 to 1; +#X obj 56 233 hid/hid_cuberoot; +#X obj 56 283 tabwrite hid_cuberoot; +#X connect 0 0 1 0; +#X connect 1 0 3 0; +#X connect 3 0 4 0; +#X connect 3 0 7 0; +#X connect 4 0 6 0; +#X connect 5 0 1 1; +#X connect 6 0 3 1; +#X connect 6 0 5 0; +#X connect 7 0 11 0; +#X connect 7 1 8 0; +#X connect 9 0 14 1; +#X connect 10 0 0 0; +#X connect 11 0 13 0; +#X connect 13 0 14 0; +#X restore 321 78 pd draw_array; +#X text 15 34 This object maps the input range to a cube root curve +\, i.e. [pow 0.333333] \, "cube root of X" \, or X^0.333333.; +#X connect 6 0 10 0; +#X connect 7 0 8 0; +#X connect 9 0 6 0; +#X connect 10 0 7 0; diff --git a/hid_exp-help.pd b/hid_exp-help.pd new file mode 100644 index 0000000..ca77e4d --- /dev/null +++ b/hid_exp-help.pd @@ -0,0 +1,58 @@ +#N canvas 567 104 472 353 10; +#X declare -lib hid; +#X obj 5 2 cnv 15 450 20 empty empty hid_exp 2 11 1 18 -233017 +-66577 0; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X text 27 300 (C) Copyright 2004 Hans-Christoph Steiner +; +#X text 244 314 released under the GNU GPL; +#X text 98 271 For more info:; + +#X floatatom 25 123 8 0 0 0 - - -; +#X floatatom 25 184 8 0 0 0 - - -; +#X obj 28 201 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 +-1 -1 0 1; +#X obj 28 103 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 +-1 -1 0 1; +#X obj 25 153 hid/hid_exp; +#N canvas 0 22 450 300 graph1 0; +#X array hid_exp 100 float 0; +#X coords 0 1 99 0 100 100 1; +#X restore 321 111 graph; +#N canvas 266 69 327 317 draw_array 0; +#X msg 57 52 bang; +#X obj 57 73 until; +#X text 88 52 start; +#X obj 57 95 f; +#X obj 86 95 + 1; +#X obj 132 97 sel 0; +#X obj 86 117 mod 100; +#X obj 57 150 t f f; +#X obj 94 177 s array_index; +#X obj 170 262 r array_index; +#X obj 57 13 loadbang; +#X obj 57 207 / 100; +#X text 99 207 [hid] output range: 0 to 1; +#X obj 56 233 hid/hid_exp; +#X obj 56 283 tabwrite hid_exp; +#X connect 0 0 1 0; +#X connect 1 0 3 0; +#X connect 3 0 4 0; +#X connect 3 0 7 0; +#X connect 4 0 6 0; +#X connect 5 0 1 1; +#X connect 6 0 3 1; +#X connect 6 0 5 0; +#X connect 7 0 11 0; +#X connect 7 1 8 0; +#X connect 9 0 14 1; +#X connect 10 0 0 0; +#X connect 11 0 13 0; +#X connect 13 0 14 0; +#X restore 321 78 pd draw_array; +#X text 17 39 This object maps the input range to a exponential curve +\, the inverse of a logarithmic curve.; +#X connect 6 0 10 0; +#X connect 7 0 8 0; +#X connect 9 0 6 0; +#X connect 10 0 7 0; diff --git a/hid_graph-help.pd b/hid_graph-help.pd new file mode 100644 index 0000000..cab0241 --- /dev/null +++ b/hid_graph-help.pd @@ -0,0 +1,28 @@ +#N canvas 61 248 495 470 10; +#X declare -lib hid; +#X obj 5 2 cnv 15 450 20 empty empty hid_graph 2 11 1 18 -233017 +-66577 0; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X text 27 410 (C) Copyright 2004 Hans-Christoph Steiner +; +#X text 244 424 released under the GNU GPL; +#X text 98 381 For more info:; + +#X msg 19 150 reset; +#X floatatom 95 163 5 0 0 0 - - -; +#X floatatom 94 314 5 0 0 0 - - -; +#X obj 97 331 hsl 250 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 +-1 -1 0 1; +#X obj 98 143 hsl 250 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 +-1 -1 0 1; +#X obj 94 187 hid/hid_graph; +#X text 18 33 This object allows you to draw an arbitrary curve \, +which is then applied to the input range. To change the curve \, click +anywhere on the black diagonal line and start dragging.; +#X text 19 86 There are 100 points in [hid_graph] \, each one pixel +in size.; +#X connect 6 0 11 0; +#X connect 7 0 11 0; +#X connect 8 0 9 0; +#X connect 10 0 7 0; +#X connect 11 0 8 0; diff --git a/hid_invert-help.pd b/hid_invert-help.pd new file mode 100644 index 0000000..49092a7 --- /dev/null +++ b/hid_invert-help.pd @@ -0,0 +1,22 @@ +#N canvas 380 628 469 312 10; +#X declare -lib hid; +#X obj 5 2 cnv 15 450 20 empty empty hid_invert 2 11 1 18 -233017 +-66577 0; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X text 27 270 (C) Copyright 2004 Hans-Christoph Steiner +; +#X text 244 284 released under the GNU GPL; +#X floatatom 153 90 5 0 0 0 - - -; +#X floatatom 153 166 5 0 0 0 - - -; +#X obj 153 126 hid/hid_invert; +#X obj 156 71 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X obj 156 183 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X text 27 43 Inverts the stream of numbers.; +#X text 98 233 For more info:; + +#X connect 4 0 6 0; +#X connect 5 0 8 0; +#X connect 6 0 5 0; +#X connect 7 0 4 0; diff --git a/hid_log-help.pd b/hid_log-help.pd new file mode 100644 index 0000000..e767901 --- /dev/null +++ b/hid_log-help.pd @@ -0,0 +1,58 @@ +#N canvas 567 104 472 353 10; +#X declare -lib hid; +#X obj 5 2 cnv 15 450 20 empty empty hid_log 2 11 1 18 -233017 +-66577 0; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X text 27 300 (C) Copyright 2004 Hans-Christoph Steiner +; +#X text 244 314 released under the GNU GPL; +#X text 98 271 For more info:; + +#X floatatom 25 123 8 0 0 0 - - -; +#X floatatom 25 184 8 0 0 0 - - -; +#X obj 28 201 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 +-1 -1 0 1; +#X obj 28 103 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 +-1 -1 0 1; +#X obj 25 153 hid/hid_log; +#N canvas 0 22 450 300 graph1 0; +#X array hid_log 100 float 0; +#X coords 0 1 99 0 100 100 1; +#X restore 321 111 graph; +#N canvas 266 69 327 317 draw_array 0; +#X msg 57 52 bang; +#X obj 57 73 until; +#X text 88 52 start; +#X obj 57 95 f; +#X obj 86 95 + 1; +#X obj 132 97 sel 0; +#X obj 86 117 mod 100; +#X obj 57 150 t f f; +#X obj 94 177 s array_index; +#X obj 170 262 r array_index; +#X obj 57 13 loadbang; +#X obj 57 207 / 100; +#X text 99 207 [hid] output range: 0 to 1; +#X obj 56 233 hid/hid_log; +#X obj 56 283 tabwrite hid_log; +#X connect 0 0 1 0; +#X connect 1 0 3 0; +#X connect 3 0 4 0; +#X connect 3 0 7 0; +#X connect 4 0 6 0; +#X connect 5 0 1 1; +#X connect 6 0 3 1; +#X connect 6 0 5 0; +#X connect 7 0 11 0; +#X connect 7 1 8 0; +#X connect 9 0 14 1; +#X connect 10 0 0 0; +#X connect 11 0 13 0; +#X connect 13 0 14 0; +#X restore 321 78 pd draw_array; +#X text 17 40 This object maps the input range to a logarithmic curve. +Humans perceive pitch and amplitude on a logarithmic scale.; +#X connect 6 0 10 0; +#X connect 7 0 8 0; +#X connect 9 0 6 0; +#X connect 10 0 7 0; diff --git a/hid_lowpass-help.pd b/hid_lowpass-help.pd new file mode 100644 index 0000000..7d658d6 --- /dev/null +++ b/hid_lowpass-help.pd @@ -0,0 +1,36 @@ +#N canvas 119 269 475 392 10; +#X declare -lib hid; +#X obj 5 2 cnv 15 450 20 empty empty hid_lowpass 2 11 1 18 -233017 +-66577 0; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X text 27 340 (C) Copyright 2004 Hans-Christoph Steiner +; +#X text 244 354 released under the GNU GPL; +#X floatatom 101 199 5 0 0 0 - - -; +#X floatatom 101 255 5 0 0 0 - - -; +#X text 98 312 For more info:; + +#X obj 101 225 hid/hid_lowpass; +#X obj 193 198 hsl 75 18 1 100 1 1 empty empty refresh(Hz) 4 9 1 12 +-228992 -1 -1 3700 0; +#X floatatom 189 227 5 0 0 0 - - -; +#X obj 104 272 hsl 250 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 4283 1; +#X obj 104 173 hsl 250 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 4582 1; +#X text 20 35 Smooths a stream of numbers by converting it to an audio +signal and low-pass filtering that signal. By default \, the the filter +is set to 10 Hz. You can set this using the right inlet. The lower +the frequency \, the smoother the data \, but the greater the latency. +; +#X obj 102 140 noise4hidhelp; +#X obj 102 105 tgl 30 0 empty empty start 1 15 1 12 -90049 -1 -1 1 +1; +#X connect 4 0 8 0; +#X connect 5 0 11 0; +#X connect 8 0 5 0; +#X connect 9 0 8 1; +#X connect 9 0 10 0; +#X connect 12 0 4 0; +#X connect 14 0 12 0; +#X connect 15 0 14 0; diff --git a/hid_menu-help.pd b/hid_menu-help.pd new file mode 100644 index 0000000..9294f95 --- /dev/null +++ b/hid_menu-help.pd @@ -0,0 +1,10 @@ +#N canvas 380 628 473 316 10; +#X declare -lib hid; +#X obj 5 2 cnv 15 450 20 empty empty hid_menu 2 11 1 18 -233017 +-66577 0; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X text 27 270 (C) Copyright 2004 Hans-Christoph Steiner +; +#X text 244 284 released under the GNU GPL; +#X text 161 235 For more info:; +#X obj 266 234 pddp/pddplink ../all_about_hid.pd -text all_about_hid; diff --git a/hid_one2four-help.pd b/hid_one2four-help.pd new file mode 100644 index 0000000..9f76080 --- /dev/null +++ b/hid_one2four-help.pd @@ -0,0 +1,39 @@ +#N canvas 427 177 464 315 10; +#X declare -lib hid; +#X obj 5 2 cnv 15 450 20 empty empty hid_one2four 2 11 1 18 -233017 +-66577 0; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X text 27 270 (C) Copyright 2004 Hans-Christoph Steiner +; +#X text 244 284 released under the GNU GPL; +#X floatatom 82 110 5 0 0 0 - - -; +#X floatatom 23 186 5 0 0 0 - - -; +#X obj 85 91 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X obj 26 203 hsl 75 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X text 98 243 For more info:; + +#X text 18 28 Simple one-to-three mapping object. The first inlet is +passed thru \, the range of the output data on the other inlet starts +at the points in the input range specified as arugments.; +#X obj 82 145 hid/hid_one2four 0.3 0.6 0.9; +#X floatatom 113 186 5 0 0 0 - - -; +#X obj 116 203 hsl 75 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X floatatom 203 186 5 0 0 0 - - -; +#X obj 206 203 hsl 75 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X floatatom 293 186 5 0 0 0 - - -; +#X obj 296 203 hsl 75 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X connect 4 0 11 0; +#X connect 5 0 7 0; +#X connect 6 0 4 0; +#X connect 11 0 5 0; +#X connect 11 1 12 0; +#X connect 11 2 14 0; +#X connect 11 3 16 0; +#X connect 12 0 13 0; +#X connect 14 0 15 0; +#X connect 16 0 17 0; diff --git a/hid_one2three-help.pd b/hid_one2three-help.pd new file mode 100644 index 0000000..9fc4e58 --- /dev/null +++ b/hid_one2three-help.pd @@ -0,0 +1,34 @@ +#N canvas 541 218 473 316 10; +#X declare -lib hid; +#X obj 5 2 cnv 15 450 20 empty empty hid_one2three 2 11 1 18 -233017 +-66577 0; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X text 27 270 (C) Copyright 2004 Hans-Christoph Steiner +; +#X text 244 284 released under the GNU GPL; +#X floatatom 153 110 5 0 0 0 - - -; +#X floatatom 23 186 5 0 0 0 - - -; +#X obj 156 91 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X obj 26 203 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X text 98 243 For more info:; + +#X floatatom 173 186 5 0 0 0 - - -; +#X obj 176 203 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X obj 153 145 hid/hid_one2three 0.3 0.7; +#X floatatom 323 186 5 0 0 0 - - -; +#X obj 326 203 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X text 18 28 Simple one-to-three mapping object. The first inlet is +passed thru \, the range of the output data on the other inlet starts +at the points in the input range specified as arugments.; +#X connect 4 0 12 0; +#X connect 5 0 7 0; +#X connect 6 0 4 0; +#X connect 10 0 11 0; +#X connect 12 0 5 0; +#X connect 12 1 10 0; +#X connect 12 2 13 0; +#X connect 13 0 14 0; diff --git a/hid_one2two-help.pd b/hid_one2two-help.pd new file mode 100644 index 0000000..29e5f7c --- /dev/null +++ b/hid_one2two-help.pd @@ -0,0 +1,29 @@ +#N canvas 541 218 473 316 10; +#X declare -lib hid; +#X obj 5 2 cnv 15 450 20 empty empty hid_one2two 2 11 1 18 -233017 +-66577 0; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X text 27 270 (C) Copyright 2004 Hans-Christoph Steiner +; +#X text 244 284 released under the GNU GPL; +#X floatatom 153 110 5 0 0 0 - - -; +#X floatatom 83 186 5 0 0 0 - - -; +#X obj 156 91 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 11200 1; +#X obj 86 203 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 11200 1; +#X text 98 243 For more info:; + +#X floatatom 263 186 5 0 0 0 - - -; +#X obj 266 203 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 10557 1; +#X text 18 28 Simple one-to-two mapping object. The first inlet is +passed thru \, the range of the output data on the second inlet starts +at the point in the input range specified as an arugment.; +#X obj 153 145 hid/hid_one2two 0.3; +#X connect 4 0 13 0; +#X connect 5 0 7 0; +#X connect 6 0 4 0; +#X connect 10 0 11 0; +#X connect 13 0 5 0; +#X connect 13 1 10 0; diff --git a/hid_polar-help.pd b/hid_polar-help.pd new file mode 100644 index 0000000..3393da7 --- /dev/null +++ b/hid_polar-help.pd @@ -0,0 +1,41 @@ +#N canvas 601 232 482 455 10; +#X declare -lib hid; +#X obj 5 2 cnv 15 450 20 empty empty hid_polar 2 11 1 18 -233017 +-66577 0; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X text 244 411 released under the GNU GPL; +#X floatatom 100 248 5 0 0 0 - - -; +#X floatatom 100 335 7 0 0 0 radius-> - -; +#X text 124 370 For more info:; + +#X obj 100 295 hid/hid_polar; +#X text 27 397 (C) Copyright 2005 Hans-Christoph Steiner +; +#X obj 101 161 hsl 128 15 0 1 0 0 empty empty x-axis 133 7 1 10 -225280 +-1 -1 0 0; +#X obj 157 103 vsl 15 128 0 1 0 0 empty empty y-axis -6 -9 1 10 -261681 +-1 -1 0 0; +#X floatatom 159 335 7 0 0 1 <-angle - -; +#X floatatom 158 248 5 0 0 0 - - -; +#X obj 157 265 t b f; +#X obj 334 335 polar-joystick; +#X text 275 273 related objects:; +#X text 273 334 example:; +#X msg 97 86 0.5; +#X text 43 86 center:; +#X text 17 29 Converts cartesian coordinates(x \, y) to polar coordinates +(radius \, angle). The angle is in radians (-pi to pi). The angle 0 +is at cartesian (1 \, 0.5) or to the right.; +#X obj 361 293 hid/hid_spiral; +#X obj 245 293 hid/hid2rad; +#X obj 303 293 hid/hid2deg; +#X connect 3 0 7 0; +#X connect 7 0 4 0; +#X connect 7 1 11 0; +#X connect 9 0 3 0; +#X connect 10 0 12 0; +#X connect 12 0 13 0; +#X connect 13 0 3 0; +#X connect 13 1 7 1; +#X connect 17 0 9 0; +#X connect 17 0 10 0; diff --git a/hid_rel2abs-help.pd b/hid_rel2abs-help.pd new file mode 100644 index 0000000..76dc530 --- /dev/null +++ b/hid_rel2abs-help.pd @@ -0,0 +1,36 @@ +#N canvas 435 259 469 312 10; +#X declare -lib hid; +#X obj 5 2 cnv 15 450 20 empty empty hid_invert 2 11 1 18 -233017 +-66577 0; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X text 27 270 (C) Copyright 2004 Hans-Christoph Steiner +; +#X text 244 284 released under the GNU GPL; +#X text 30 38 Converts relative axis data into an absolute position. +; +#X obj 175 116 mouse; +#X msg 193 73 open 1; +#X msg 204 91 open 2; +#X obj 157 75 tgl 25 0 empty empty empty 0 -6 0 8 -24198 -1 -1 0 1 +; +#X floatatom 112 207 5 0 0 0 - - -; +#X floatatom 153 207 5 0 0 0 - - -; +#X floatatom 252 208 5 0 0 0 - - -; +#X floatatom 211 208 5 0 0 0 - - -; +#X obj 252 174 hid/hid_rel2abs 0 100; +#X obj 73 175 hid/hid_rel2abs -10 10; +#X text 98 240 For more info:; + +#X msg 73 129 reset; +#X msg 284 129 reset; +#X connect 5 0 10 0; +#X connect 5 0 14 0; +#X connect 5 1 12 0; +#X connect 5 1 13 0; +#X connect 6 0 5 0; +#X connect 7 0 5 0; +#X connect 8 0 5 0; +#X connect 13 0 11 0; +#X connect 14 0 9 0; +#X connect 17 0 14 0; +#X connect 18 0 13 0; diff --git a/hid_smooth-help.pd b/hid_smooth-help.pd new file mode 100644 index 0000000..3ef29b5 --- /dev/null +++ b/hid_smooth-help.pd @@ -0,0 +1,29 @@ +#N canvas 388 256 475 392 10; +#X declare -lib hid; +#X text 27 340 (C) Copyright 2004 Hans-Christoph Steiner +; +#X text 244 354 released under the GNU GPL; +#X floatatom 102 195 5 0 0 0 - - -; +#X floatatom 102 251 5 0 0 0 - - -; +#X text 98 303 For more info:; + +#X obj 103 131 noise4hidhelp; +#X obj 105 268 hsl 250 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 +-1 -1 16106 1; +#X obj 105 164 hsl 250 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 +-1 -1 16509 1; +#X obj 5 2 cnv 15 450 20 empty empty hid_smooth 2 11 1 18 -233017 +-66577 0; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X obj 102 221 hid/hid_smooth; +#X text 18 36 Smooths a stream of numbers using weighted averaging +of the last 10 values. This object is an shortcut for [hid_average] +with the default settings.; +#X obj 103 94 tgl 30 0 empty empty start 1 15 1 12 -90049 -1 -1 1 1 +; +#X connect 2 0 11 0; +#X connect 3 0 7 0; +#X connect 6 0 8 0; +#X connect 8 0 2 0; +#X connect 11 0 3 0; +#X connect 13 0 6 0; diff --git a/hid_spiral-help.pd b/hid_spiral-help.pd new file mode 100644 index 0000000..35a1a91 --- /dev/null +++ b/hid_spiral-help.pd @@ -0,0 +1,41 @@ +#N canvas 56 302 475 480 10; +#X declare -lib hid; +#X obj 5 2 cnv 15 450 20 empty empty hid_spiral 2 11 1 18 -233017 +-66577 0; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X text 245 451 released under the GNU GPL; +#X floatatom 70 288 5 0 0 0 - - -; +#X floatatom 70 375 5 0 0 0 radius-> - -; +#X text 175 408 For more info:; +#X text 28 437 (C) Copyright 2005 Hans-Christoph Steiner +; +#X obj 71 201 hsl 128 15 0 1 0 0 empty empty x-axis 133 7 1 10 -225280 +-1 -1 0 0; +#X obj 127 143 vsl 15 128 0 1 0 0 empty empty y-axis -6 -9 1 10 -261681 +-1 -1 0 0; +#X floatatom 136 376 8 0 0 1 <-angle - -; +#X floatatom 128 288 5 0 0 0 - - -; +#X obj 127 305 t b f; +#X text 246 271 related objects:; +#X text 264 324 example:; +#X msg 69 126 0.5; +#X text 15 126 center:; +#X obj 323 324 spiral-joystick; +#X obj 70 335 hid/hid_spiral; + +#X obj 362 271 hid/hid_polar; +#X text 24 32 Converts cartesian coordinates(x \, y) to spiral in polar +coordinates (radius \, angle). The angle is from 0 to 1 The angle 0 +is at cartesian (1 \, 0) or far right center.; +#X text 24 81 The angle will just keep going up/down as long as there +is rotation rather than reset like [hid_polar].; +#X connect 3 0 17 0; +#X connect 7 0 3 0; +#X connect 8 0 10 0; +#X connect 10 0 11 0; +#X connect 11 0 3 0; +#X connect 11 1 17 1; +#X connect 14 0 8 0; +#X connect 14 0 7 0; +#X connect 17 0 4 0; +#X connect 17 1 9 0; diff --git a/hid_square-help.pd b/hid_square-help.pd new file mode 100644 index 0000000..64eaca8 --- /dev/null +++ b/hid_square-help.pd @@ -0,0 +1,58 @@ +#N canvas 556 145 476 357 10; +#X declare -lib hid; +#X obj 5 2 cnv 15 450 20 empty empty hid_square 2 11 1 18 -233017 +-66577 0; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X text 27 300 (C) Copyright 2004 Hans-Christoph Steiner +; +#X text 244 314 released under the GNU GPL; +#X text 98 271 For more info:; + +#X floatatom 25 123 8 0 0 0 - - -; +#X floatatom 25 184 8 0 0 0 - - -; +#X obj 28 201 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 +-1 -1 0 1; +#X obj 28 103 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 +-1 -1 0 1; +#X obj 25 153 hid/hid_square; +#N canvas 0 22 450 300 graph1 0; +#X array hid_square 100 float 0; +#X coords 0 1 99 0 100 100 1; +#X restore 321 111 graph; +#N canvas 266 69 327 317 draw_array 0; +#X msg 57 52 bang; +#X obj 57 73 until; +#X text 88 52 start; +#X obj 57 95 f; +#X obj 86 95 + 1; +#X obj 132 97 sel 0; +#X obj 86 117 mod 100; +#X obj 57 150 t f f; +#X obj 94 177 s array_index; +#X obj 170 262 r array_index; +#X obj 57 13 loadbang; +#X obj 57 207 / 100; +#X text 99 207 [hid] output range: 0 to 1; +#X obj 56 233 hid/hid_square; +#X obj 56 283 tabwrite hid_square; +#X connect 0 0 1 0; +#X connect 1 0 3 0; +#X connect 3 0 4 0; +#X connect 3 0 7 0; +#X connect 4 0 6 0; +#X connect 5 0 1 1; +#X connect 6 0 3 1; +#X connect 6 0 5 0; +#X connect 7 0 11 0; +#X connect 7 1 8 0; +#X connect 9 0 14 1; +#X connect 10 0 0 0; +#X connect 11 0 13 0; +#X connect 13 0 14 0; +#X restore 321 78 pd draw_array; +#X text 15 34 This object maps the input range to a square curve \, +i.e. [pow 2] \, "X squared" \, or X^2.; +#X connect 6 0 10 0; +#X connect 7 0 8 0; +#X connect 9 0 6 0; +#X connect 10 0 7 0; diff --git a/hid_squareroot-help.pd b/hid_squareroot-help.pd new file mode 100644 index 0000000..98b4a90 --- /dev/null +++ b/hid_squareroot-help.pd @@ -0,0 +1,58 @@ +#N canvas 416 140 476 357 10; +#X declare -lib hid; +#X obj 5 2 cnv 15 450 20 empty empty hid_squareroot 2 11 1 18 -233017 +-66577 0; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X text 27 300 (C) Copyright 2004 Hans-Christoph Steiner +; +#X text 244 314 released under the GNU GPL; +#X text 98 271 For more info:; + +#X floatatom 25 123 8 0 0 0 - - -; +#X floatatom 25 184 8 0 0 0 - - -; +#X obj 28 201 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 +-1 -1 0 1; +#X obj 28 103 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 +-1 -1 0 1; +#X obj 25 153 hid/hid_squareroot; +#N canvas 0 22 450 300 graph1 0; +#X array hid_squareroot 100 float 0; +#X coords 0 1 99 0 100 100 1; +#X restore 321 111 graph; +#N canvas 266 69 327 317 draw_array 0; +#X msg 57 52 bang; +#X obj 57 73 until; +#X text 88 52 start; +#X obj 57 95 f; +#X obj 86 95 + 1; +#X obj 132 97 sel 0; +#X obj 86 117 mod 100; +#X obj 57 150 t f f; +#X obj 94 177 s array_index; +#X obj 170 262 r array_index; +#X obj 57 13 loadbang; +#X obj 57 207 / 100; +#X text 99 207 [hid] output range: 0 to 1; +#X obj 56 233 hid/hid_squareroot; +#X obj 56 283 tabwrite hid_squareroot; +#X connect 0 0 1 0; +#X connect 1 0 3 0; +#X connect 3 0 4 0; +#X connect 3 0 7 0; +#X connect 4 0 6 0; +#X connect 5 0 1 1; +#X connect 6 0 3 1; +#X connect 6 0 5 0; +#X connect 7 0 11 0; +#X connect 7 1 8 0; +#X connect 9 0 14 1; +#X connect 10 0 0 0; +#X connect 11 0 13 0; +#X connect 13 0 14 0; +#X restore 321 78 pd draw_array; +#X text 15 34 This object maps the input range to a square root curve +\, i.e. [pow 0.5] \, "square root of X" \, or X^0.5.; +#X connect 6 0 10 0; +#X connect 7 0 8 0; +#X connect 9 0 6 0; +#X connect 10 0 7 0; diff --git a/joystick-help.pd b/joystick-help.pd new file mode 100644 index 0000000..8f316bd --- /dev/null +++ b/joystick-help.pd @@ -0,0 +1,146 @@ +#N canvas 31 125 670 468 10; +#X declare -lib hid; +#X obj 168 91 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 1 1 +; +#X floatatom 63 234 7 0 0 3 Y-axis - -; +#X floatatom 9 234 7 0 0 3 X-axis - -; +#X obj 212 324 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 252 324 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 293 324 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 334 324 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X floatatom 123 234 7 0 0 3 twist - -; +#X floatatom 182 234 5 0 0 3 throttle - -; +#X obj 375 324 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 416 324 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 456 324 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 497 324 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 538 324 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 579 324 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X symbolatom 335 234 6 0 0 3 code - -; +#X floatatom 400 234 5 0 0 3 value - -; +#X text 345 199 buttons; +#X obj 2 2 cnv 15 650 20 empty empty joystick 2 11 1 18 -233017 -66577 +0; +#X msg 215 93 open 1; +#X text 1 412 (C) Copyright 2004 Hans-Christoph Steiner +; +#X text 218 426 released under the GNU GPL; +#X text 414 426 $Author: eighthave $; +#X text 414 413 $Revision: 1.11 $; +#X obj 239 375 pddp/pddplink ../all_about_hid.pd -text all_about_hid; +#X text 130 376 For more info:; +#X floatatom 245 234 5 0 0 3 hat0X - -; +#X floatatom 288 234 5 0 0 3 hat0Y - -; +#X obj 212 291 route btn_0 btn_1 btn_2 btn_3 btn_4 btn_5 btn_6 btn_7 +btn_8 btn_9; +#X obj 168 154 joystick 0; +#N canvas 674 327 446 497 joystick_noise 0; +#X obj 73 25 inlet; +#X obj 219 426 dac~; +#X obj 168 376 *~; +#X obj 201 398 linearpan~; +#X obj 70 168 hid/hid_invert; +#X obj 70 242 mtof; +#X obj 168 313 osc~; +#X msg 57 88 \; pd dsp \$1; +#X obj 70 193 hid/hid_squareroot; +#X obj 287 11 inlet; +#X obj 203 323 hid/hid_log; +#X obj 180 65 joystick 0; +#X obj 168 287 +~; +#X obj 238 212 *~; +#X obj 238 179 osc~; +#X obj 304 143 * 300; +#X obj 238 143 * 200; +#X obj 304 123 hid/hid_square; +#X obj 304 179 +; +#X obj 238 123 hid/hid_exp; +#X obj 203 360 line~; +#X msg 203 342 \$1 5; +#X obj 70 218 notescale 40 80; +#X connect 0 0 7 0; +#X connect 0 0 11 0; +#X connect 2 0 3 0; +#X connect 3 0 1 0; +#X connect 3 1 1 1; +#X connect 4 0 8 0; +#X connect 5 0 12 0; +#X connect 6 0 2 0; +#X connect 8 0 22 0; +#X connect 9 0 11 0; +#X connect 10 0 21 0; +#X connect 11 0 19 0; +#X connect 11 1 4 0; +#X connect 11 1 17 0; +#X connect 11 2 3 1; +#X connect 11 3 10 0; +#X connect 12 0 6 0; +#X connect 13 0 12 1; +#X connect 14 0 13 0; +#X connect 15 0 18 0; +#X connect 16 0 14 0; +#X connect 16 0 18 1; +#X connect 17 0 15 0; +#X connect 18 0 13 1; +#X connect 19 0 16 0; +#X connect 20 0 2 1; +#X connect 21 0 20 0; +#X connect 22 0 5 0; +#X restore 440 155 pd joystick_noise; +#X obj 440 92 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0 1 +; +#X text 333 73 Select your device and turn on to make noise:; +#X obj 619 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X msg 503 125 open \$1; +#X obj 503 105 hradio 15 1 1 8 \$0-device-number empty choose_a_device +0 -6 1 9 -262144 -1 -1 2; +#X obj 477 105 nbx 1 14 -1e+37 1e+37 0 0 empty \$0-device-number empty +0 -6 0 14 -166441 -1 -1 2 256; +#X text 8 36 Use a joystick device with Pd. This object auto-calibrates +the output of axis data. Move each element of the device thru its full +range to calibrate it.; +#X obj 335 215 unpack s f; + +#X text 422 177 (remember to calibrate all parts; +#X text 430 190 of the joystick first); +#X msg 394 120 print; +#X msg 220 112 open 2; +#X msg 225 131 open 3; +#X connect 0 0 29 0; +#X connect 19 0 29 0; +#X connect 28 0 3 0; +#X connect 28 1 4 0; +#X connect 28 2 5 0; +#X connect 28 3 6 0; +#X connect 28 4 9 0; +#X connect 28 5 10 0; +#X connect 28 6 11 0; +#X connect 28 7 12 0; +#X connect 28 8 13 0; +#X connect 28 9 14 0; +#X connect 29 0 2 0; +#X connect 29 1 1 0; +#X connect 29 2 7 0; +#X connect 29 3 8 0; +#X connect 29 4 26 0; +#X connect 29 5 27 0; +#X connect 29 6 28 0; +#X connect 29 6 38 0; +#X connect 31 0 30 0; +#X connect 34 0 30 1; +#X connect 35 0 34 0; +#X connect 38 0 15 0; +#X connect 38 1 16 0; +#X connect 42 0 30 0; +#X connect 43 0 29 0; +#X connect 44 0 29 0; diff --git a/keyboard-help.pd b/keyboard-help.pd new file mode 100644 index 0000000..f16b62b --- /dev/null +++ b/keyboard-help.pd @@ -0,0 +1,144 @@ +#N canvas 499 42 567 478 10; +#X obj 168 91 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 1 1 +; +#X obj 11 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 +; +#X symbolatom 168 222 12 0 0 0 code - -; +#X floatatom 296 222 5 0 0 1 value - -; +#X obj 168 195 unpack symbol float; +#X text 239 238 buttons; +#X obj 2 2 cnv 15 550 20 empty empty keyboard 2 11 1 18 -233017 -66577 +0; +#X msg 204 93 open 1; +#X text 1 432 (C) Copyright 2004 Hans-Christoph Steiner +; +#X text 218 446 released under the GNU GPL; +#X text 414 446 $Author: eighthave $; +#X text 414 433 $Revision: 1.4 $; +#X obj 348 402 pddp/pddplink ../all_about_hid.pd -text all_about_hid +; +#X text 239 403 For more info:; +#X msg 209 112 open 3; +#X obj 32 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 +; +#X obj 53 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 +; +#X obj 74 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 +; +#X obj 95 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 +; +#X obj 116 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 137 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 158 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 179 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 200 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 221 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 242 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 263 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 284 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 305 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 326 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 347 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 368 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 389 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 410 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 431 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 452 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 473 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 494 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X text 117 270 Most keyboards can detect multiple keys at the same +time. You can test yours by pressing and holding keys and counting +how many "X"s are shown below; +#X text 8 36 Use a keyboard device with Pd. This object gives you raw +access to the keyboard events. Pd does not need to have focus in order +get the key events. No matter which application has focus \, this object +will get keyboard events.; +#X obj 75 315 route key_4 key_5 key_6 key_7 key_8 key_9 key_10 key_11 +key_12 key_13 key_14 key_15 key_16 key_17 key_18 key_19 key_20 key_21 +key_22 key_23 key_24 key_25 key_26 key_27; +#X obj 519 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp +; +#X obj 168 174 hid/keyboard 0; +#X msg 109 123 print; +#N canvas 162 133 570 420 serin 0; +#X obj 286 61 cnv 15 30 15 empty \$0-open-canvas 1 4 8 0 14 -233017 +-1 0; +#X obj 60 61 hradio 15 1 1 15 empty empty empty 0 -6 0 8 -225271 -1 +-1 1; +#X obj 60 13 inlet; +#X msg 200 202 label \$1; +#X obj 200 180 makefilename %d; +#X obj 59 108 int; +#X obj 59 337 outlet; +#X msg 201 306 set \$1 \$2; +#X obj 59 266 trigger bang anything; +#X obj 201 286 list; +#X msg 60 210 open \$1; +#X obj 200 225 send \$0-open-canvas; +#X connect 1 0 5 0; +#X connect 2 0 1 0; +#X connect 3 0 11 0; +#X connect 4 0 3 0; +#X connect 5 0 4 0; +#X connect 5 0 10 0; +#X connect 7 0 6 0; +#X connect 8 0 6 0; +#X connect 8 1 9 0; +#X connect 9 0 7 0; +#X connect 10 0 8 0; +#X coords 0 -1 1 1 257 17 1 60 60; +#X restore 216 131 pd serin; +#X msg 216 152 open 1; +#X connect 0 0 42 0; +#X connect 4 0 2 0; +#X connect 4 1 3 0; +#X connect 7 0 42 0; +#X connect 14 0 42 0; +#X connect 40 0 1 0; +#X connect 40 1 15 0; +#X connect 40 2 16 0; +#X connect 40 3 17 0; +#X connect 40 4 18 0; +#X connect 40 5 19 0; +#X connect 40 6 20 0; +#X connect 40 7 21 0; +#X connect 40 8 22 0; +#X connect 40 9 23 0; +#X connect 40 10 24 0; +#X connect 40 11 25 0; +#X connect 40 12 26 0; +#X connect 40 13 27 0; +#X connect 40 14 28 0; +#X connect 40 15 29 0; +#X connect 40 16 30 0; +#X connect 40 17 31 0; +#X connect 40 18 32 0; +#X connect 40 19 33 0; +#X connect 40 20 34 0; +#X connect 40 21 35 0; +#X connect 40 22 36 0; +#X connect 40 23 37 0; +#X connect 42 0 4 0; +#X connect 42 0 40 0; +#X connect 43 0 42 0; +#X connect 44 0 45 0; +#X connect 45 0 42 0; diff --git a/keygate-help.pd b/keygate-help.pd new file mode 100644 index 0000000..8033e0e --- /dev/null +++ b/keygate-help.pd @@ -0,0 +1,34 @@ +#N canvas 525 201 462 476 10; +#X declare -lib hid; +#X obj 5 2 cnv 15 450 20 empty empty keygate 2 11 1 18 -233017 -66577 +0; +#X obj 160 257 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 160 121 loadbang; +#X msg 160 141 1; +#X obj 160 169 metro 150; +#X text 33 416 (C) Copyright 2004 Hans-Christoph Steiner +; +#X text 250 430 released under the GNU GPL; +#X obj 237 369 pddp/pddplink ../all_about_hid.pd -text all_about_hid; +#X text 128 370 For more info:; +#X text 15 207 data to be gated -->; +#X obj 281 258 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 40 300 keyname; +#X symbolatom 84 320 10 0 0 0 - - -; +#X text 162 320 <-- check here for the keyname symbol; +#X obj 160 214 keygate f; +#X text 17 38 [keygate] is a simple gate controlled by a keyboard. +You must specify the name of the key which controls the gate. The left +inlet takes the data to be gated.; +#X text 18 89 The "f" key on the any keyboard controls this gate:; +#X text 310 263 <-- key released; +#X text 41 264 key pressed -->; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X connect 2 0 3 0; +#X connect 3 0 4 0; +#X connect 4 0 14 0; +#X connect 11 1 12 0; +#X connect 14 0 1 0; +#X connect 14 1 10 0; diff --git a/mouse-help.pd b/mouse-help.pd new file mode 100644 index 0000000..9080f51 --- /dev/null +++ b/mouse-help.pd @@ -0,0 +1,162 @@ +#N canvas 163 22 660 430 10; +#X symbolatom 211 280 6 0 0 1 code - -; +#X obj 130 118 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 1 +1; +#X floatatom 339 280 5 0 0 1 value - -; +#X floatatom 140 280 5 0 0 3 wheel - -; +#X floatatom 85 280 7 0 0 3 Y - -; +#X floatatom 31 280 7 0 0 3 X - -; +#X obj 193 347 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 232 346 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 271 346 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X msg 175 95 open 0; +#X msg 180 114 open 1; +#X msg 185 133 open 2; +#N canvas 94 191 532 519 mouse-noise 0; +#X obj 26 18 inlet; +#X obj 199 314 noise~; +#X obj 155 336 osc~; +#X obj 113 387 *~; +#X msg 167 65 \; pd dsp 1; +#X obj 139 488 dac~; +#X obj 386 13 inlet; +#X text 448 14 open msgs; +#X text 340 169 get button value only; +#X obj 199 336 *~; +#X obj 312 207 / 2; +#X obj 113 448 pan/linear_pan~; +#X obj 276 426 line; +#X msg 276 403 \$1 20; +#X obj 276 318 +; +#X msg 313 294 0; +#X obj 155 242 abs; +#X obj 201 169 unpack symbol float; +#X obj 110 335 line~; +#X msg 110 312 \$1 3; +#X obj 155 314 * 20; +#X obj 276 339 min 20; +#X obj 276 358 max 0; +#X obj 276 294 int; +#X obj 276 379 / 20; +#X obj 155 287 mtof; +#X obj 155 203 hid/hid_rel2abs 0 1; +#X obj 155 223 - 1; +#X obj 155 267 mapping/notescale 30 60; +#X obj 200 403 loadbang; +#X msg 200 424 0.5; +#X obj 26 250 select 0; +#X msg 26 272 0; +#X text 11 224 mute on finish; +#X obj 26 43 trigger float float bang; +#X obj 312 318 float; +#X obj 132 149 hid/mouse; +#X connect 0 0 34 0; +#X connect 1 0 9 0; +#X connect 2 0 3 1; +#X connect 3 0 11 0; +#X connect 6 0 36 0; +#X connect 9 0 3 1; +#X connect 10 0 9 1; +#X connect 11 0 5 0; +#X connect 11 1 5 1; +#X connect 12 0 11 1; +#X connect 13 0 12 0; +#X connect 14 0 21 0; +#X connect 15 0 14 1; +#X connect 15 0 35 1; +#X connect 16 0 28 0; +#X connect 17 1 10 0; +#X connect 18 0 3 0; +#X connect 19 0 18 0; +#X connect 20 0 2 0; +#X connect 21 0 22 0; +#X connect 22 0 24 0; +#X connect 22 0 35 0; +#X connect 23 0 14 0; +#X connect 24 0 13 0; +#X connect 25 0 20 0; +#X connect 26 0 27 0; +#X connect 27 0 16 0; +#X connect 28 0 25 0; +#X connect 29 0 30 0; +#X connect 30 0 11 1; +#X connect 31 0 32 0; +#X connect 32 0 19 0; +#X connect 34 0 31 0; +#X connect 34 1 36 0; +#X connect 34 2 4 0; +#X connect 35 0 14 1; +#X connect 36 0 19 0; +#X connect 36 1 26 0; +#X connect 36 2 23 0; +#X connect 36 3 17 0; +#X restore 407 188 pd mouse-noise; +#X obj 407 131 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 1 +1; +#X text 354 107 turn this on to make some noise with the mouse; +#X obj 211 253 unpack symbol float; +#X text 282 296 buttons; +#X obj 310 346 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 349 346 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 388 346 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 427 346 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 466 346 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 2 2 cnv 15 650 20 empty empty mouse 2 11 1 18 -233017 -66577 +0; +#X obj 505 346 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 496 396 pddp/pddplink ../all_about_hid.pd -text all_about_hid +; +#X text 387 397 For more info:; +#X obj 544 346 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +1; +#X obj 193 326 route btn_0 btn_1 btn_2 btn_3 btn_4 btn_5 btn_6 btn_7 +btn_8; +#X text 12 36 Use a mouse device with Pd. This object auto-calibrates +the output of axis data. Move the device around as fast as possible +in each axis to calibrate it.; +#X text 13 123 turn on polling:; +#X msg 180 158 refresh; +#X obj 619 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp +; +#X msg 500 160 open \$1; +#X obj 500 140 hradio 15 1 1 8 \$0-device-number empty choose_a_device +0 -6 1 9 -262144 -1 -1 1; +#X obj 474 140 nbx 1 14 -1e+37 1e+37 0 0 empty \$0-device-number empty +0 -6 0 14 -166441 -1 -1 1 256; +#X msg 76 154 print; +#X obj 130 183 hid/mouse 1; +#X connect 1 0 36 0; +#X connect 9 0 36 0; +#X connect 10 0 36 0; +#X connect 11 0 36 0; +#X connect 13 0 12 0; +#X connect 15 0 0 0; +#X connect 15 1 2 0; +#X connect 27 0 6 0; +#X connect 27 1 7 0; +#X connect 27 2 8 0; +#X connect 27 3 17 0; +#X connect 27 4 18 0; +#X connect 27 5 19 0; +#X connect 27 6 20 0; +#X connect 27 7 21 0; +#X connect 27 8 23 0; +#X connect 27 9 26 0; +#X connect 30 0 36 0; +#X connect 32 0 12 1; +#X connect 33 0 32 0; +#X connect 35 0 36 0; +#X connect 36 0 5 0; +#X connect 36 1 4 0; +#X connect 36 2 3 0; +#X connect 36 3 15 0; +#X connect 36 3 27 0; diff --git a/notescale-help.pd b/notescale-help.pd new file mode 100644 index 0000000..f3f69a7 --- /dev/null +++ b/notescale-help.pd @@ -0,0 +1,45 @@ +#N canvas 577 303 464 467 10; +#X declare -lib hid; +#X floatatom 26 85 5 0 0 0 - - -; +#X floatatom 26 160 0 0 0 0 - - -; +#X obj 2 2 cnv 15 450 20 empty empty notescale 2 11 1 18 -233017 +-66577 0; +#X obj 418 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X floatatom 137 266 5 0 0 0 - - -; +#X obj 140 330 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X text 17 393 (C) Copyright 2004 Hans-Christoph Steiner +; +#X text 234 407 released under the GNU GPL; +#X floatatom 150 160 0 0 0 0 - - -; +#X floatatom 297 160 0 0 0 0 - - -; +#X obj 213 83 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -225271 +-1 -1 0 0; +#X text 17 426 $Revision: 1.3 $$Date: 2006-03-17 04:58:30 $; +#X text 18 439 $Author: eighthave $; +#X obj 140 244 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262131 +-1 -1 0 0; +#X obj 26 130 notescale 30 60; +#X floatatom 137 347 5 0 0 0 - - -; +#X text 13 193 If you use [notescale] with no arguments \, then the +output range defaults to 0-127.; +#X floatatom 202 109 5 0 0 0 - - -; +#X obj 26 105 / 100; +#X text 18 35 [notescale] scales a stream of numbers to a MIDI note +number. It takes an input range of 0 to 1 \, and outputs MIDI note +numbers based on an output range set as arguments.; +#X obj 137 297 notescale; +#X obj 150 130 notescale 15 120; +#X obj 297 130 notescale 24 48; +#X connect 0 0 18 0; +#X connect 4 0 20 0; +#X connect 5 0 15 0; +#X connect 10 0 17 0; +#X connect 10 0 21 0; +#X connect 10 0 22 0; +#X connect 13 0 4 0; +#X connect 14 0 1 0; +#X connect 18 0 14 0; +#X connect 20 0 5 0; +#X connect 21 0 8 0; +#X connect 22 0 9 0; diff --git a/rad2hid-help.pd b/rad2hid-help.pd new file mode 100644 index 0000000..c90983a --- /dev/null +++ b/rad2hid-help.pd @@ -0,0 +1,25 @@ +#N canvas 147 313 467 307 10; +#X declare -lib hid; +#X obj 5 2 cnv 15 450 20 empty empty rad2hid 2 11 1 18 -233017 -66577 +0; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X text 254 269 released under the GNU GPL; +#X text 185 228 For more info:; + +#X text 40 254 (C) Copyright 2005 Hans-Christoph Steiner +; +#X text 300 168 related objects:; +#X obj 273 184 hid/rad2hid; +#X obj 332 184 hid/deg2hid; +#X obj 391 184 hid/hid2deg; +#X floatatom 69 195 5 0 0 1 hid - -; +#X obj 72 95 hsl 128 15 -3.14159 3.14159 0 0 empty empty radians 6 +7 1 10 -262131 -1 -1 0 0; +#X floatatom 95 125 9 0 0 0 - - -; +#X obj 69 160 hid/rad2hid; +#X text 21 35 This object converts numbers from radians (-pi to pi) +to the [hid] range (0 to 1) with the 0's lining up in the same place. +; +#X connect 11 0 12 0; +#X connect 11 0 13 0; +#X connect 13 0 10 0; -- cgit v1.2.1