aboutsummaryrefslogtreecommitdiff
path: root/doc/tutorials/intro/counters.pd
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tutorials/intro/counters.pd')
-rw-r--r--doc/tutorials/intro/counters.pd35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/tutorials/intro/counters.pd b/doc/tutorials/intro/counters.pd
new file mode 100644
index 00000000..fcb19016
--- /dev/null
+++ b/doc/tutorials/intro/counters.pd
@@ -0,0 +1,35 @@
+#N canvas 0 22 458 308 10;
+#X obj 317 70 cnv 15 100 60 empty empty empty 20 12 0 14 -261681 -66577
+0;
+#X obj 338 90 f;
+#X obj 373 90 + 1;
+#X text 319 51 infinite loop!;
+#X obj 106 199 float;
+#X floatatom 74 227 5 0 0 0 - - -;
+#X msg 74 121 1;
+#X obj 73 199 +;
+#X msg 109 173 0;
+#X msg 86 144 -1;
+#X text 110 122 increment;
+#X text 115 145 decrement;
+#X text 137 171 reset;
+#X floatatom 254 267 5 0 0 0 - - -;
+#X msg 296 213 0;
+#X text 290 162 increment;
+#X text 328 213 reset;
+#X obj 253 239 float;
+#X obj 296 239 + 1;
+#X msg 254 161 bang;
+#X connect 1 0 2 0;
+#X connect 2 0 1 0;
+#X connect 4 0 7 1;
+#X connect 6 0 7 0;
+#X connect 7 0 4 0;
+#X connect 7 0 5 0;
+#X connect 8 0 4 0;
+#X connect 9 0 7 0;
+#X connect 14 0 18 0;
+#X connect 17 0 13 0;
+#X connect 17 0 18 0;
+#X connect 18 0 17 1;
+#X connect 19 0 17 0;