aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ascii0x2d0x3eint-help.pd25
-rw-r--r--ascii0x2d0x3eint.pd50
2 files changed, 75 insertions, 0 deletions
diff --git a/ascii0x2d0x3eint-help.pd b/ascii0x2d0x3eint-help.pd
new file mode 100644
index 0000000..be90265
--- /dev/null
+++ b/ascii0x2d0x3eint-help.pd
@@ -0,0 +1,25 @@
+#N canvas 438 263 461 272 10;
+#X floatatom 253 143 5 0 0 0 - - -;
+#X obj 241 191 ascii->int;
+#X msg 305 168 bang;
+#X msg 192 168 bang;
+#X text 20 169 output current value -->;
+#X text 343 168 <-- reset;
+#X floatatom 241 220 0 0 0 0 - - -;
+#X obj 241 117 int;
+#X text 38 28 convert a stream of ASCII digits to a single int value
+;
+#X msg 242 63 49 52 57 32;
+#X msg 138 63 53 56 49 50 1;
+#X obj 241 240 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X obj 241 95 zexy/drip 500;
+#X connect 1 0 6 0;
+#X connect 2 0 1 1;
+#X connect 3 0 1 0;
+#X connect 6 0 11 0;
+#X connect 7 0 0 0;
+#X connect 7 0 1 0;
+#X connect 9 0 12 0;
+#X connect 10 0 12 0;
+#X connect 12 0 7 0;
diff --git a/ascii0x2d0x3eint.pd b/ascii0x2d0x3eint.pd
new file mode 100644
index 0000000..9c9eea4
--- /dev/null
+++ b/ascii0x2d0x3eint.pd
@@ -0,0 +1,50 @@
+#N canvas 667 123 490 433 10;
+#X obj 206 298 +;
+#X obj 176 320 float;
+#X obj 206 160 trigger float bang;
+#X obj 222 259 float;
+#X obj 222 278 * 10;
+#X obj 303 286 float;
+#X msg 179 220 0;
+#X text 212 222 <-- reset for the next pot reading;
+#X obj 68 57 moses 48;
+#X obj 206 111 - 48;
+#X obj 119 76 moses 58;
+#X obj 106 140 bang;
+#X obj 106 160 purepd/once;
+#X obj 176 345 outlet;
+#X obj 16 36 route bang float symbol;
+#X obj 16 7 inlet;
+#X obj 327 12 inlet;
+#X text 286 12 reset;
+#X obj 327 34 trigger bang bang;
+#X obj 16 270 bang;
+#X text 244 404 released under the GNU GPL;
+#X text 27 390 (C) Copyright 2006 Hans-Christoph Steiner <hans@at.or.at>
+;
+#X text 25 366 TODO: make it support negative numbers;
+#X connect 0 0 1 1;
+#X connect 0 0 5 0;
+#X connect 1 0 13 0;
+#X connect 2 0 0 0;
+#X connect 2 1 3 0;
+#X connect 3 0 4 0;
+#X connect 4 0 0 1;
+#X connect 5 0 3 1;
+#X connect 6 0 3 1;
+#X connect 8 0 11 0;
+#X connect 8 1 10 0;
+#X connect 9 0 2 0;
+#X connect 9 0 12 1;
+#X connect 10 0 9 0;
+#X connect 10 1 11 0;
+#X connect 11 0 12 0;
+#X connect 12 0 6 0;
+#X connect 12 0 1 0;
+#X connect 14 0 19 0;
+#X connect 14 1 8 0;
+#X connect 15 0 14 0;
+#X connect 16 0 18 0;
+#X connect 18 0 11 0;
+#X connect 18 1 12 1;
+#X connect 19 0 1 0;