Update of /cvsroot/pure-data/externals/hcs/hid
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2406
Modified Files:
hid_graph.pd hid_invert-help.pd joystick-help.pd
Added Files:
hid_centered-help.pd hid_centered.pd
Log Message:
getting the help files and mapping files dialed in
Index: hid_graph.pd
===================================================================
RCS file: /cvsroot/pure-data/externals/hcs/hid/hid_graph.pd,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** hid_graph.pd 28 Nov 2004 04:59:47 -0000 1.3
--- hid_graph.pd 28 Nov 2004 23:57:26 -0000 1.4
***************
*** 1,15 ****
! #N canvas 461 501 543 374 10;
! #X obj 193 9 inlet;
#N canvas 0 22 458 308 graph5 0;
#X array \$0-hid_graph_array 100 float 2;
#X coords 0 1 100 0 100 100 1;
! #X restore -35 30 graph;
! #X obj 193 285 outlet;
! #X text 240 69 gives a range of 0-100;
! #X text 244 286 output range 0 to 1;
! #X obj 193 170 tabread \$0-hid_graph_array;
! #X text 43 176 [hid_graph];
! #X obj 193 107 * 100;
! #X text 237 11 input range: 0 to 1;
#X connect 0 0 7 0;
#X connect 5 0 2 0;
--- 1,15 ----
! #N canvas 461 501 498 334 10;
! #X obj 20 178 inlet;
#N canvas 0 22 458 308 graph5 0;
#X array \$0-hid_graph_array 100 float 2;
#X coords 0 1 100 0 100 100 1;
! #X restore 2 46 graph;
! #X obj 20 284 outlet;
! #X text 60 217 gives a range of 0-100;
! #X text 67 285 output range 0 to 1;
! #X obj 20 239 tabread \$0-hid_graph_array;
! #X text -4 157 [hid_graph];
! #X obj 20 216 * 100;
! #X text 60 180 input range: 0 to 1;
#X connect 0 0 7 0;
#X connect 5 0 2 0;
--- NEW FILE: hid_centered-help.pd ---
#N canvas 389 382 468 357 10;
#X obj 5 2 cnv 15 450 20 empty empty [hid_centered] 2 11 1 18 -233017
-66577 0;
#X obj 422 3 pddp;
#X text 27 320 (C) Copyright 2004 Hans-Christoph Steiner <hans(a)at.or.at>
;
#X text 244 334 released under the GNU GPL;
#X text 98 291 For more info:;
#X obj 202 289 all_about_hid_mapping;
#X obj 102 234 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_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;
Index: joystick-help.pd
===================================================================
RCS file: /cvsroot/pure-data/externals/hcs/hid/joystick-help.pd,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** joystick-help.pd 28 Nov 2004 04:59:47 -0000 1.6
--- joystick-help.pd 28 Nov 2004 23:57:26 -0000 1.7
***************
*** 1,4 ****
! #N canvas 31 257 660 452 10;
! #X obj 168 91 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0 1
;
#X floatatom 63 234 7 0 0 3 Y-axis - -;
--- 1,4 ----
! #N canvas 526 230 658 456 10;
! #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 - -;
***************
*** 37,42 ****
#X text 414 426 $Author$;
#X text 414 413 $Revision$;
! #X obj 519 372 all_about_hid;
! #X text 410 373 For more info:;
#X floatatom 245 234 5 0 0 3 hat0X - -;
#X floatatom 288 234 5 0 0 3 hat0Y - -;
--- 37,42 ----
#X text 414 426 $Author$;
#X text 414 413 $Revision$;
! #X obj 239 375 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 - -;
***************
*** 46,92 ****
#X msg 225 131 open 5;
#X obj 168 154 joystick 0;
! #N canvas 674 327 402 453 joystick_noise 1;
#X obj 73 25 inlet;
! #X obj 181 413 dac~;
! #X obj 168 360 *~;
! #X obj 184 386 pan;
#X obj 70 168 hid_invert;
#X obj 70 242 mtof;
#X obj 168 313 osc~;
- #X obj 70 218 notescale 50 70;
#X msg 57 88 \; pd dsp \$1;
#X obj 70 193 hid_squareroot;
#X obj 287 11 inlet;
! #X obj 211 325 hid_log;
! #X obj 179 81 joystick 0;
#X obj 168 287 +~;
#X obj 238 212 *~;
! #X obj 238 169 osc~;
! #X obj 299 132 * 300;
! #X obj 238 133 * 200;
! #X connect 0 0 8 0;
! #X connect 0 0 12 0;
#X connect 2 0 3 0;
#X connect 3 0 1 0;
#X connect 3 1 1 1;
! #X connect 4 0 9 0;
! #X connect 5 0 13 0;
#X connect 6 0 2 0;
! #X connect 7 0 5 0;
! #X connect 9 0 7 0;
! #X connect 10 0 12 0;
! #X connect 11 0 2 1;
! #X connect 12 0 17 0;
! #X connect 12 1 4 0;
! #X connect 12 1 16 0;
! #X connect 12 2 3 1;
! #X connect 12 3 11 0;
! #X connect 13 0 6 0;
! #X connect 14 0 13 1;
! #X connect 15 0 14 0;
! #X connect 16 0 14 1;
#X connect 17 0 15 0;
#X restore 440 167 pd joystick_noise;
! #X obj 440 104 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0
1;
#X text 333 85 Select your device and turn on to make noise:;
--- 46,103 ----
#X msg 225 131 open 5;
#X obj 168 154 joystick 0;
! #N canvas 674 327 430 481 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_invert;
#X obj 70 242 mtof;
#X obj 168 313 osc~;
#X msg 57 88 \; pd dsp \$1;
#X obj 70 193 hid_squareroot;
#X obj 287 11 inlet;
! #X obj 203 323 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_square;
! #X obj 304 179 +;
! #X obj 238 123 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 167 pd joystick_noise;
! #X obj 440 104 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 1
1;
#X text 333 85 Select your device and turn on to make noise:;
***************
*** 101,104 ****
--- 112,116 ----
range to calibrate it.;
#X obj 335 215 unpack s f;
+ #X obj 339 375 all_about_hid_mapping;
#X connect 0 0 31 0;
#X connect 19 0 31 0;
Index: hid_invert-help.pd
===================================================================
RCS file: /cvsroot/pure-data/externals/hcs/hid/hid_invert-help.pd,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** hid_invert-help.pd 28 Nov 2004 04:59:47 -0000 1.1
--- hid_invert-help.pd 28 Nov 2004 23:57:26 -0000 1.2
***************
*** 1,3 ****
! #N canvas 380 628 465 308 10;
#X obj 5 2 cnv 15 450 20 empty empty [hid_invert] 2 11 1 18 -233017
-66577 0;
--- 1,3 ----
! #N canvas 380 628 469 312 10;
#X obj 5 2 cnv 15 450 20 empty empty [hid_invert] 2 11 1 18 -233017
-66577 0;
***************
*** 7,17 ****
#X text 244 284 released under the GNU GPL;
#X floatatom 153 90 5 0 0 0 - - -;
! #X floatatom 153 186 5 0 0 0 - - -;
! #X obj 153 136 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 203 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144
! -1 -1 12700 1;
#X text 27 43 Inverts the stream of numbers.;
#X connect 4 0 6 0;
#X connect 5 0 8 0;
--- 7,19 ----
#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_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 obj 202 231 all_about_hid_mapping;
#X connect 4 0 6 0;
#X connect 5 0 8 0;
--- NEW FILE: hid_centered.pd ---
#N canvas 360 364 389 315 10;
#X obj 71 32 inlet;
#X obj 71 249 outlet;
#X text 119 32 input range: 0 to 1;
#X text 9 5 [hid_centered];
#X obj 71 130 * 2;
#X obj 71 152 - 1;
#X text 127 249 output range: -1 to 1;
#X connect 0 0 4 0;
#X connect 4 0 5 0;
#X connect 5 0 1 0;