[PD-cvs] externals/hcs/hid TODO,1.11,1.12 hid_graph.pd,1.4,1.5 hid_rel2abs-help.pd,1.1,1.2

Hans-Christoph Steiner eighthave at users.sourceforge.net
Thu Dec 16 05:42:29 CET 2004


Update of /cvsroot/pure-data/externals/hcs/hid
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29636

Modified Files:
	TODO hid_graph.pd hid_rel2abs-help.pd 
Log Message:
some minor cleanups

Index: hid_graph.pd
===================================================================
RCS file: /cvsroot/pure-data/externals/hcs/hid/hid_graph.pd,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** hid_graph.pd	28 Nov 2004 23:57:26 -0000	1.4
--- hid_graph.pd	16 Dec 2004 04:42:27 -0000	1.5
***************
*** 1,17 ****
! #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;
  #X connect 7 0 5 0;
  #X coords 0 0 1 1 120 120 1;
--- 1,43 ----
! #N canvas 161 50 507 536 10;
  #X obj 20 178 inlet;
! #N canvas 0 22 462 312 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 115 368 outlet;
! #X text 155 301 gives a range of 0-100;
! #X text 162 369 output range 0 to 1;
! #X obj 115 323 tabread \$0-hid_graph_array;
  #X text -4 157 [hid_graph];
! #X obj 115 300 * 100;
  #X text 60 180 input range: 0 to 1;
! #X obj 20 227 route reset;
! #X obj -8 370 f;
! #X obj -38 370 +;
! #X msg 6 338 0;
! #X msg -38 338 1;
! #X obj -38 454 / 100;
! #X obj -38 431 trigger f f;
! #X obj -38 486 tabwrite \$0-hid_graph_array;
! #X floatatom 34 460 5 0 0 0 - - -;
! #X obj -62 312 until 100;
! #X obj -62 288 trigger bang bang;
! #X connect 0 0 9 0;
  #X connect 5 0 2 0;
  #X connect 7 0 5 0;
+ #X connect 9 0 19 0;
+ #X connect 9 1 7 0;
+ #X connect 10 0 11 1;
+ #X connect 11 0 15 0;
+ #X connect 11 0 10 0;
+ #X connect 12 0 10 1;
+ #X connect 12 0 11 1;
+ #X connect 13 0 11 0;
+ #X connect 14 0 16 0;
+ #X connect 15 0 14 0;
+ #X connect 15 1 16 1;
+ #X connect 15 1 17 0;
+ #X connect 18 0 13 0;
+ #X connect 19 0 18 0;
+ #X connect 19 1 12 0;
  #X coords 0 0 1 1 120 120 1;

Index: TODO
===================================================================
RCS file: /cvsroot/pure-data/externals/hcs/hid/TODO,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** TODO	28 Nov 2004 02:54:54 -0000	1.11
--- TODO	16 Dec 2004 04:42:27 -0000	1.12
***************
*** 1,4 ****
--- 1,16 ----
  
  ==============================================================================
+ = check out GDAM HID implementation 
+ 
+ - GDAM has a HID Manager implementation and probably a Linux one too
+ 
+ ==============================================================================
+ = profile [hid] object and usage
+ 
+ - find out how much more CPU the names (btn_?, abs, rel, etc) use over using
+   just floats.
+ 
+ 
+ ==============================================================================
  = define generic event timestamp struct (probably Pd-ized input_event )
  
***************
*** 86,89 ****
--- 98,118 ----
  
  
+ ==============================================================================
+ = mapping object ideas
+ 
+ [hid2midi] [midi2hid]
+ 
+ midi value + bend <-> hid
+ 	  - use MIDI pitch and bend data for values in between MIDI notes?
+ 
+ object for Fletcher-Munson Equal-loudness contours 
+ 
+ median average object
+ 
+ non-linear one-to-many mapping object (one curve spans the whole range of the
+ movement, the other curve kicks in at a specifable point.  Arguments could be
+ start-point and start-value.
+ 
+ 
   /++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
***************
*** 127,128 ****
--- 156,167 ----
  I am pretty sure this is just a hid_print_element_list() display problem.
  
+ 
+ ______________________________________________________________________________
+ - BUG: multiple instances pointing to the same device don't have seperate close/free
+ 
+ - closing the device on one instance closing that same device on all other
+   instances of [hid]
+ 
+ - deleting that instance also closes the device for all other instances
+   pointing to that same device
+ 

Index: hid_rel2abs-help.pd
===================================================================
RCS file: /cvsroot/pure-data/externals/hcs/hid/hid_rel2abs-help.pd,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** hid_rel2abs-help.pd	28 Nov 2004 04:59:47 -0000	1.1
--- hid_rel2abs-help.pd	16 Dec 2004 04:42:27 -0000	1.2
***************
*** 1,3 ****
! #N canvas 593 306 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 435 259 469 312 10;
  #X obj 5 2 cnv 15 450 20 empty empty [hid_invert] 2 11 1 18 -233017
  -66577 0;
***************
*** 8,22 ****
  #X text 30 38 Converts relative axis data into an absolute position.
  ;
! #X obj 205 125 mouse;
! #X msg 223 82 open 1;
! #X msg 234 100 open 2;
! #X obj 187 84 tgl 25 0 empty empty empty 0 -6 0 8 -24198 -1 -1 1 1
  ;
! #X floatatom 142 216 5 0 0 0 - - -;
! #X floatatom 183 216 5 0 0 0 - - -;
! #X floatatom 282 217 5 0 0 0 - - -;
! #X floatatom 241 217 5 0 0 0 - - -;
! #X obj 282 183 hid_rel2abs 0 100;
! #X obj 103 184 hid_rel2abs -10 10;
  #X connect 5 0 10 0;
  #X connect 5 0 14 0;
--- 8,26 ----
  #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_rel2abs 0 100;
! #X obj 73 175 hid_rel2abs -10 10;
! #X text 98 240 For more info:;
! #X obj 202 238 all_about_hid_mapping;
! #X msg 73 129 reset;
! #X msg 284 129 reset;
  #X connect 5 0 10 0;
  #X connect 5 0 14 0;
***************
*** 28,29 ****
--- 32,35 ----
  #X connect 13 0 11 0;
  #X connect 14 0 9 0;
+ #X connect 17 0 14 0;
+ #X connect 18 0 13 0;





More information about the Pd-cvs mailing list