aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-11-10 21:19:19 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-11-10 21:19:19 +0000
commit26c10651794679b4b5c9d138ba9bda6a481432af (patch)
tree3869059be05d61b21ae23e6ea89abaf4909836eb
parent30be576f74ce016a2943a99b7ab0e665b5cac4aa (diff)
starting to implement the Max [counter] in Pd, inspired by the list discussion about counters; the outlets are all working, and the basic behavior of the first inlet. It still needs the other four inlets, the rest of the messages, and the arguments to be implementedbackups/externals/hcs/purepd@3974
svn path=/trunk/externals/hcs/purepd/; revision=3877
-rw-r--r--counter.pd70
1 files changed, 70 insertions, 0 deletions
diff --git a/counter.pd b/counter.pd
new file mode 100644
index 0000000..ec22621
--- /dev/null
+++ b/counter.pd
@@ -0,0 +1,70 @@
+#N canvas 287 36 745 602 10;
+#X obj 285 266 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X msg 273 312 -1;
+#X obj 273 334 +;
+#X obj 301 334 f;
+#X msg 303 312 0;
+#X obj 381 342 select 0;
+#X obj 382 456 outlet;
+#X obj 271 454 outlet;
+#X obj 75 178 inlet;
+#X msg 381 392 1;
+#X obj 432 372 bang;
+#X msg 432 392 0;
+#X obj 511 456 outlet;
+#X msg 510 372 1;
+#X obj 567 372 bang;
+#X msg 567 392 0;
+#X obj 272 374 % \$1;
+#X obj 510 342 select \$1;
+#X obj 607 431 +;
+#X obj 635 431 f;
+#X obj 607 456 outlet;
+#X obj 382 304 trigger float float;
+#X obj 510 392 t f f;
+#X text 601 480 max count;
+#X text 500 480 1 when max;
+#X text 375 481 1 when min;
+#X text 209 482 current counter value;
+#X obj 272 242 route bang;
+#X obj 75 240 bang;
+#X msg 108 240 set 1;
+#X msg 151 240 set -1;
+#X floatatom 197 404 5 0 0 0 - - -;
+#X obj 75 209 route next inc dec;
+#X connect 0 0 1 0;
+#X connect 1 0 2 0;
+#X connect 2 0 3 0;
+#X connect 2 0 16 0;
+#X connect 3 0 2 1;
+#X connect 4 0 2 1;
+#X connect 5 0 4 0;
+#X connect 5 0 9 0;
+#X connect 5 1 10 0;
+#X connect 8 0 32 0;
+#X connect 9 0 6 0;
+#X connect 10 0 11 0;
+#X connect 11 0 6 0;
+#X connect 13 0 22 0;
+#X connect 14 0 15 0;
+#X connect 15 0 12 0;
+#X connect 16 0 7 0;
+#X connect 16 0 21 0;
+#X connect 16 0 31 0;
+#X connect 17 0 13 0;
+#X connect 17 1 14 0;
+#X connect 18 0 19 0;
+#X connect 18 0 20 0;
+#X connect 19 0 18 1;
+#X connect 21 0 5 0;
+#X connect 21 1 17 0;
+#X connect 22 0 12 0;
+#X connect 22 1 18 0;
+#X connect 27 0 1 0;
+#X connect 28 0 1 0;
+#X connect 29 0 1 0;
+#X connect 30 0 1 0;
+#X connect 32 0 28 0;
+#X connect 32 1 29 0;
+#X connect 32 2 30 0;