From fd24ec744ea1b52942999193e372e5769d545159 Mon Sep 17 00:00:00 2001 From: Luke Iannini Date: Sun, 26 Oct 2008 11:37:43 +0000 Subject: *added a clone of growl written in pd using window_name *added a printing facility for keycommands svn path=/trunk/abstractions/sfruit/; revision=10351 --- sfruit/countdown.pd | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 sfruit/countdown.pd (limited to 'sfruit/countdown.pd') 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; -- cgit v1.2.1