aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-12-19 18:22:46 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-12-19 18:22:46 +0000
commit401c186962e0f05e81cdd855cdb59475467dc310 (patch)
tree63c1d0fffc1d1bb03b0dfe5aad5fb6c5d9a5375e
parentd83bca27f20fd0c5154fbb2fbcb3cba756f4c1a1 (diff)
added two basic one-to-many mapping objects
svn path=/trunk/externals/hcs/hid/; revision=2415
-rw-r--r--doc/hid_one2three-help.pd33
-rw-r--r--doc/hid_one2two-help.pd28
-rw-r--r--hid_one2three.pd13
-rw-r--r--hid_one2two.pd19
4 files changed, 93 insertions, 0 deletions
diff --git a/doc/hid_one2three-help.pd b/doc/hid_one2three-help.pd
new file mode 100644
index 0000000..c7ccb45
--- /dev/null
+++ b/doc/hid_one2three-help.pd
@@ -0,0 +1,33 @@
+#N canvas 541 218 473 316 10;
+#X obj 5 2 cnv 15 450 20 empty empty [hid_one2three] 2 11 1 18 -233017
+-66577 0;
+#X obj 422 3 pddp;
+#X text 27 270 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at>
+;
+#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 obj 202 241 all_about_hid_mapping;
+#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_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
new file mode 100644
index 0000000..4c2cc45
--- /dev/null
+++ b/doc/hid_one2two-help.pd
@@ -0,0 +1,28 @@
+#N canvas 541 218 473 316 10;
+#X obj 5 2 cnv 15 450 20 empty empty [hid_one2two] 2 11 1 18 -233017
+-66577 0;
+#X obj 422 3 pddp;
+#X text 27 270 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at>
+;
+#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 obj 202 241 all_about_hid_mapping;
+#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_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_one2three.pd b/hid_one2three.pd
new file mode 100644
index 0000000..ed71f50
--- /dev/null
+++ b/hid_one2three.pd
@@ -0,0 +1,13 @@
+#N canvas 0 22 454 304 10;
+#X text 27 16 hid_one2three;
+#X obj 184 19 inlet;
+#X obj 66 248 outlet;
+#X obj 177 249 outlet;
+#X obj 121 124 hid_one2two \$1;
+#X obj 196 159 hid_one2two \$2;
+#X obj 293 250 outlet;
+#X connect 1 0 4 0;
+#X connect 4 0 2 0;
+#X connect 4 1 5 0;
+#X connect 5 0 3 0;
+#X connect 5 1 6 0;
diff --git a/hid_one2two.pd b/hid_one2two.pd
new file mode 100644
index 0000000..72fcdc7
--- /dev/null
+++ b/hid_one2two.pd
@@ -0,0 +1,19 @@
+#N canvas 205 314 470 320 10;
+#X obj 131 38 inlet;
+#X text 20 14 hid_one2two;
+#X obj 131 253 outlet;
+#X obj 233 252 outlet;
+#X obj 249 103 f \$1;
+#X obj 160 124 max \$1;
+#X obj 160 154 - \$1;
+#X obj 249 74 loadbang;
+#X obj 249 122 hid_invert;
+#X obj 233 194 /;
+#X connect 0 0 2 0;
+#X connect 0 0 5 0;
+#X connect 4 0 8 0;
+#X connect 5 0 6 0;
+#X connect 6 0 9 0;
+#X connect 7 0 4 0;
+#X connect 8 0 9 1;
+#X connect 9 0 3 0;