Update of /cvsroot/pure-data/externals/io/hidio/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8060/test
Added Files: latency_test.pd test_instance.pd test_instance_GUI.pd Log Message: added latency measuring code on Darwin (to be removed once testing is done), and removed threading
--- NEW FILE: test_instance_GUI.pd --- #N canvas 115 434 475 227 10; #X obj 96 93 send test_control; #X obj 156 25 tgl 35 1 empty empty empty 0 -6 0 8 -24198 -1 -1 0 1 ; #X msg 89 44 clear; #X msg 38 44 write; #X msg 273 166 ; pd open $1 $2; #X obj 394 119 getdir; #X obj 273 119 symbol; #X msg 273 69 test_instance.pd; #X obj 273 95 trigger anything bang; #X obj 273 138 pack symbol symbol; #X obj 275 43 until; #X msg 275 20 4; #X msg 32 166 ; pd-test_instance.pd menuclose; #X connect 1 0 0 0; #X connect 2 0 0 0; #X connect 3 0 0 0; #X connect 5 0 9 1; #X connect 6 0 9 0; #X connect 7 0 8 0; #X connect 8 0 6 0; #X connect 8 1 5 0; #X connect 9 0 4 0; #X connect 10 0 7 0; #X connect 11 0 10 0;
--- NEW FILE: test_instance.pd --- #N canvas 560 22 506 400 10; #X obj 251 334 textfile; #X obj 330 286 prepend add; #X msg 251 186 clear; #X msg 103 220 write $1; #X obj 221 32 receive test_control; #X obj 28 125 route write clear; #X msg 400 185 open 0; #X msg 349 186 close; #X obj 349 242 prepend set; #X msg 350 262 key key_227 0; #X obj 26 187 makefilename /tmp/hid-%d.txt; #X msg 28 149 bang; #X obj 27 168 float $0; #X symbolatom 26 247 0 0 0 0 - - -; #X obj 221 53 route float; #X obj 221 93 trigger float float; #X obj 349 114 select 0; #X obj 400 136 bang; #X obj 259 206 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #N canvas 4 22 552 367 subpatch 1; #X obj 264 314 textfile; #X obj 343 266 prepend add; #X msg 264 166 clear; #X msg 106 199 write $1; #X obj 234 12 receive test_control; #X obj 31 104 route write clear; #X msg 413 165 open 0; #X msg 362 166 close; #X obj 362 222 prepend set; #X msg 363 242 key key_227 0; #X msg 31 128 bang; #X obj 30 147 float $0; #X symbolatom 29 226 0 0 0 0 - - -; #X obj 234 33 route float; #X obj 234 73 trigger float float; #X obj 362 94 select 0; #X obj 413 116 bang; #X obj 272 186 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 29 166 makefilename /tmp/hid-%d-sub.txt; #X obj 343 194 hidio 0; #X connect 1 0 0 0; #X connect 2 0 0 0; #X connect 2 0 17 0; #X connect 3 0 0 0; #X connect 4 0 13 0; #X connect 5 0 10 0; #X connect 5 1 2 0; #X connect 6 0 19 0; #X connect 7 0 19 0; #X connect 8 0 9 0; #X connect 10 0 11 0; #X connect 11 0 18 0; #X connect 13 0 14 0; #X connect 13 1 5 0; #X connect 14 0 19 0; #X connect 14 1 15 0; #X connect 15 0 7 0; #X connect 15 1 16 0; #X connect 16 0 2 0; #X connect 16 0 6 0; #X connect 18 0 12 0; #X connect 18 0 3 0; #X connect 19 0 1 0; #X connect 19 0 8 0; #X restore 40 32 pd subpatch test; #X obj 330 214 hidio 0; #X connect 1 0 0 0; #X connect 2 0 0 0; #X connect 2 0 18 0; #X connect 3 0 0 0; #X connect 4 0 14 0; #X connect 5 0 11 0; #X connect 5 1 2 0; #X connect 6 0 20 0; #X connect 7 0 20 0; #X connect 8 0 9 0; #X connect 10 0 13 0; #X connect 10 0 3 0; #X connect 11 0 12 0; #X connect 12 0 10 0; #X connect 14 0 15 0; #X connect 14 1 5 0; #X connect 15 0 20 0; #X connect 15 1 16 0; #X connect 16 0 7 0; #X connect 16 1 17 0; #X connect 17 0 2 0; #X connect 17 0 6 0; #X connect 20 0 1 0; #X connect 20 0 8 0;
--- NEW FILE: latency_test.pd --- #N canvas 0 22 474 324 10; #X msg 111 33 open 2; #X msg 194 18 poll 1; #X msg 52 88 info; #X obj 208 181 route poll; #X floatatom 209 206 5 0 0 0 - - -; #X msg 302 108 0; #X msg 205 65 poll 5; #X msg 206 89 poll 10; #X msg 201 41 poll 3; #X msg 210 111 poll 25; #X obj 175 153 hidio 2; #X connect 0 0 10 0; #X connect 1 0 10 0; #X connect 2 0 10 0; #X connect 3 0 4 0; #X connect 5 0 10 0; #X connect 6 0 10 0; #X connect 7 0 10 0; #X connect 8 0 10 0; #X connect 9 0 10 0; #X connect 10 1 3 0;