From 342df480154153f0640bc66144f2b90079ba911e Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 27 May 2008 11:27:13 +0000 Subject: first sketch of output message with variable atom types svn path=/trunk/externals/io/hidio/; revision=9925 --- hidio-help.pd | 139 +++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 98 insertions(+), 41 deletions(-) diff --git a/hidio-help.pd b/hidio-help.pd index 96a5ca7..71940ca 100644 --- a/hidio-help.pd +++ b/hidio-help.pd @@ -390,7 +390,7 @@ IDs (it is not case sensitive):; #X connect 2 0 4 0; #X connect 7 0 4 0; #X restore 174 37 pd open by vendor/product ID; -#X msg 225 309 key key_255 0 133004; +#X msg 225 309 relative x 0 -1; #X text 49 543 (C) Copyright 2004 Hans-Christoph Steiner ; #N canvas 162 133 570 420 serin 0; @@ -422,10 +422,10 @@ IDs (it is not case sensitive):; #X coords 0 -1 1 1 165 17 1 60 60; #X restore 25 134 pd serin; #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 +#X obj 286 61 cnv 15 30 15 empty \$0-open-canvas 6 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; +-1 6; #X obj 60 13 inlet; #X msg 200 202 label \$1; #X obj 200 180 makefilename %d; @@ -455,7 +455,6 @@ IDs (it is not case sensitive):; #X obj 544 315 unpack symbol symbol float float; #X floatatom 683 336 2 0 0 1 instance - -; #X obj 65 368 route x y z rx ry rz slider dial; -#X obj 27 425 route x y wheel; #X obj 10 314 route key relative absolute; #X text 218 341 [event_type event_code instance value(; #N canvas 0 22 454 304 remove 0; @@ -504,9 +503,9 @@ i_key j_key k_key l_key m_key n_key o_key p_key; #X floatatom 63 401 6 0 0 0 - - -; #X obj 455 295 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; -#X msg 262 104 open 0; -#N canvas 121 220 450 300 output 1; -#X obj 93 235 outlet; +#X msg 262 104 open 6; +#N canvas 766 107 771 427 output 1; +#X obj 286 341 outlet; #X msg 112 70 255; #X obj 108 112 pack 0 16; #X obj 159 92 + 16; @@ -526,7 +525,48 @@ i_key j_key k_key l_key m_key n_key o_key p_key; #X obj 304 52 select 1 0; #X obj 303 29 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; -#X msg 261 143 write led power 0 \$1; +#X msg 278 186 write led power 0 \$1; +#X msg 616 87 255; +#X msg 581 88 127; +#X msg 551 88 0; +#X obj 554 53 select 1 0; +#X obj 553 30 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +1; +#X text 179 13 taku's JxCore2 board; +#X text 511 12 Dan's CUI IO v1.0; +#X msg 511 144 write absolute slider 0 \$1; +#X obj 283 150 pack 0 symbol; +#X msg 392 117 kana; +#X msg 428 115 mute; +#X msg 422 265 write led 1 0 \$1; +#X obj 420 240 pack; +#X msg 421 295 write 8 1 0 \$1; +#X msg 419 197 write 0x000c 0x0001 0 1023; +#N canvas 552 22 800 488 ifeel 1; +#X obj 127 257 outlet; +#X msg 545 30 set 0x11 0x0a \$1 \$2 0x00 \$3 0x00; +#X msg 187 201 write 0xff00 0x0002 6 0; +#X text 300 80 0x11; +#X text 308 99 0x0a; +#X msg 197 221 write 0xff00 0x0002 7 0; +#X text 307 120 amplitude; +#X text 309 140 frequency (pulses/second); +#X msg 167 161 write 0xff00 0x0002 4 0; +#X text 331 181 pulse count (0-255); +#X msg 177 181 write 0xff00 0x0002 5 255; +#X msg 157 141 write 0xff00 0x0002 3 5; +#X msg 147 121 write 0xff00 0x0002 2 255; +#X msg 127 81 write 0xff00 0x0002 0 17; +#X msg 137 101 write 0xff00 0x0002 1 10; +#X connect 2 0 0 0; +#X connect 5 0 0 0; +#X connect 8 0 0 0; +#X connect 10 0 0 0; +#X connect 11 0 0 0; +#X connect 12 0 0 0; +#X connect 13 0 0 0; +#X connect 14 0 0 0; +#X restore 48 259 pd ifeel; #X connect 1 0 2 0; #X connect 2 0 11 0; #X connect 3 0 2 1; @@ -539,14 +579,30 @@ i_key j_key k_key l_key m_key n_key o_key p_key; #X connect 10 0 9 0; #X connect 11 0 0 0; #X connect 11 0 6 0; -#X connect 12 0 17 0; -#X connect 13 0 17 0; -#X connect 14 0 17 0; +#X connect 12 0 26 0; +#X connect 13 0 26 0; +#X connect 14 0 26 0; #X connect 15 0 14 0; #X connect 15 1 12 0; #X connect 16 0 15 0; #X connect 17 0 0 0; +#X connect 18 0 25 0; +#X connect 19 0 25 0; +#X connect 20 0 25 0; +#X connect 21 0 20 0; +#X connect 21 1 18 0; +#X connect 22 0 21 0; +#X connect 25 0 0 0; +#X connect 26 0 17 0; +#X connect 27 0 26 1; +#X connect 28 0 26 1; +#X connect 29 0 0 0; +#X connect 31 0 0 0; +#X connect 32 0 0 0; +#X connect 33 0 0 0; #X restore 373 211 pd output support; +#X obj 27 420 route x y wheel rx ry; +#X obj 241 445 print NOT MAPPED; #X connect 2 0 60 0; #X connect 8 0 60 0; #X connect 9 0 60 0; @@ -556,48 +612,49 @@ i_key j_key k_key l_key m_key n_key o_key p_key; #X connect 53 0 60 0; #X connect 54 0 60 0; #X connect 57 0 50 0; -#X connect 58 0 73 0; -#X connect 60 0 70 0; +#X connect 58 0 72 0; +#X connect 60 0 69 0; #X connect 60 0 62 0; #X connect 60 0 61 0; -#X connect 60 0 68 0; +#X connect 60 0 67 0; #X connect 60 1 52 0; #X connect 61 0 55 0; #X connect 62 0 5 0; #X connect 62 1 4 0; #X connect 62 2 63 0; #X connect 62 3 3 0; -#X connect 64 0 71 0; +#X connect 64 0 70 0; #X connect 64 1 29 0; #X connect 64 2 30 0; #X connect 64 3 31 0; #X connect 64 4 32 0; #X connect 64 5 33 0; #X connect 64 6 34 0; -#X connect 65 0 0 0; -#X connect 65 1 1 0; -#X connect 65 2 20 0; -#X connect 65 3 28 0; -#X connect 66 0 69 0; -#X connect 66 1 65 0; -#X connect 66 2 64 0; -#X connect 68 0 66 0; -#X connect 69 0 16 0; -#X connect 69 1 35 0; -#X connect 69 2 36 0; -#X connect 69 3 37 0; -#X connect 69 4 38 0; -#X connect 69 5 39 0; -#X connect 69 6 40 0; -#X connect 69 7 41 0; -#X connect 69 8 42 0; -#X connect 69 9 43 0; -#X connect 69 10 44 0; -#X connect 69 11 45 0; -#X connect 69 12 46 0; -#X connect 69 13 47 0; -#X connect 69 14 48 0; -#X connect 69 15 49 0; -#X connect 72 0 70 1; +#X connect 65 0 68 0; +#X connect 65 1 74 0; +#X connect 65 2 64 0; +#X connect 67 0 65 0; +#X connect 68 0 16 0; +#X connect 68 1 35 0; +#X connect 68 2 36 0; +#X connect 68 3 37 0; +#X connect 68 4 38 0; +#X connect 68 5 39 0; +#X connect 68 6 40 0; +#X connect 68 7 41 0; +#X connect 68 8 42 0; +#X connect 68 9 43 0; +#X connect 68 10 44 0; +#X connect 68 11 45 0; +#X connect 68 12 46 0; +#X connect 68 13 47 0; +#X connect 68 14 48 0; +#X connect 68 15 49 0; +#X connect 71 0 69 1; +#X connect 72 0 60 0; #X connect 73 0 60 0; -#X connect 74 0 60 0; +#X connect 74 0 0 0; +#X connect 74 1 1 0; +#X connect 74 2 20 0; +#X connect 74 4 28 0; +#X connect 74 5 75 0; -- cgit v1.2.1