aboutsummaryrefslogtreecommitdiff
path: root/sfruit/countdown.pd
diff options
context:
space:
mode:
authorLuke Iannini <lukeiannini@users.sourceforge.net>2008-10-26 11:37:43 +0000
committerLuke Iannini <lukeiannini@users.sourceforge.net>2008-10-26 11:37:43 +0000
commitfd24ec744ea1b52942999193e372e5769d545159 (patch)
treeddb53a989e196c63cbb9b61a89f2c36ef671f5bb /sfruit/countdown.pd
parent77bf9d9edd54328ac41e1807c7cea2fb0bcbe3bf (diff)
*added a clone of growl written in pd using window_name *added a printing facility for keycommands
svn path=/trunk/abstractions/sfruit/; revision=10351
Diffstat (limited to 'sfruit/countdown.pd')
-rw-r--r--sfruit/countdown.pd30
1 files changed, 30 insertions, 0 deletions
diff --git a/sfruit/countdown.pd b/sfruit/countdown.pd
new file mode 100644
index 0000000..dce1ba3
--- /dev/null
+++ b/sfruit/countdown.pd
@@ -0,0 +1,30 @@
+#N canvas 474 143 383 332 10;
+#X obj 54 167 timer;
+#X obj 55 50 inlet;
+#X obj 54 191 expr $f2 - $f1;
+#X obj 54 295 outlet;
+#X obj 116 295 outlet;
+#X msg 54 275 0;
+#X obj 54 254 t b b b;
+#X msg 133 254 0;
+#X obj 55 71 t b b a;
+#X msg 55 95 1;
+#X text 55 16 upon receiving a number \, count down from it by 1/ms
+;
+#X obj 81 116 metro 50;
+#X obj 54 214 if <= 0;
+#X connect 0 0 2 0;
+#X connect 1 0 8 0;
+#X connect 2 0 12 0;
+#X connect 5 0 3 0;
+#X connect 6 0 4 0;
+#X connect 6 1 5 0;
+#X connect 6 2 7 0;
+#X connect 7 0 11 0;
+#X connect 8 0 9 0;
+#X connect 8 1 0 0;
+#X connect 8 2 2 1;
+#X connect 9 0 11 0;
+#X connect 11 0 0 1;
+#X connect 12 0 6 0;
+#X connect 12 1 3 0;