From 0148d661b2a7a3762faec5373273b42624a646d5 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 16 Nov 2009 22:03:41 +0000 Subject: made [fps] have no interaction possible besides the single argument, then to get the current fps, you use [value framesync/fps] svn path=/trunk/externals/framesync/; revision=12773 --- fps.pd | 33 ++++++++++----------------------- 1 file changed, 10 insertions(+), 23 deletions(-) (limited to 'fps.pd') diff --git a/fps.pd b/fps.pd index a30a525..4d03f15 100644 --- a/fps.pd +++ b/fps.pd @@ -1,24 +1,11 @@ -#N canvas 612 683 535 318 10; -#X obj 110 124 value framesync/fps; -#X obj 110 18 inlet; -#X obj 125 259 outlet; -#X obj 110 153 select 0; -#X text 10 180 default to 30fps; -#X obj 110 71 route bang; -#X obj 167 93 print [framesync/fps]:_no_method_for; -#X msg 110 180 30; -#X obj 255 38 initbang; -#X obj 255 149 print [framesync/fps]; -#X msg 255 126 setting FPS to \$1; -#X obj 255 59 purepd/float_argument \$1 30; -#X connect 0 0 3 0; -#X connect 1 0 5 0; -#X connect 3 0 7 0; -#X connect 3 1 2 0; +#N canvas 763 479 535 318 10; +#X obj 112 189 value framesync/fps; +#X text 279 100 default to 30fps; +#X obj 112 79 initbang; +#X obj 243 160 print [framesync/fps]; +#X msg 243 137 setting FPS to \$1; +#X obj 112 100 purepd/float_argument \$1 30; +#X connect 2 0 5 0; +#X connect 4 0 3 0; #X connect 5 0 0 0; -#X connect 5 1 6 0; -#X connect 7 0 2 0; -#X connect 8 0 11 0; -#X connect 10 0 9 0; -#X connect 11 0 0 0; -#X connect 11 0 10 0; +#X connect 5 0 4 0; -- cgit v1.2.1