aboutsummaryrefslogtreecommitdiff
path: root/fps-help.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-11-16 22:03:41 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-11-16 22:03:41 +0000
commit0148d661b2a7a3762faec5373273b42624a646d5 (patch)
treeab2fdc0b0d01c468c4e2a28940dbcf56381d2f9b /fps-help.pd
parentb55627eeff971003efb7fe745467e83d427670a2 (diff)
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
Diffstat (limited to 'fps-help.pd')
-rw-r--r--fps-help.pd16
1 files changed, 9 insertions, 7 deletions
diff --git a/fps-help.pd b/fps-help.pd
index 1bc9e9a..585290c 100644
--- a/fps-help.pd
+++ b/fps-help.pd
@@ -1,13 +1,15 @@
-#N canvas 134 291 450 300 10;
+#N canvas 535 476 450 300 10;
#X text 38 24 Set the global Frames-Per-Second (FPS) for the global
clock when using the 'framesync' library. You should only use this
object once in a project. [frameclock] uses this object to set the
FPS \, so if you are using [frameclock] \, don't use [fps] also.;
#X msg 135 206 bang;
#X floatatom 135 254 5 0 0 0 - - -;
-#X obj 135 230 fps;
-#X obj 135 128 fps 24;
-#X text 39 157 You can use it with no argument to get the current FPS
-(careful not to set the FPS more than once!):;
-#X connect 1 0 3 0;
-#X connect 3 0 2 0;
+#X obj 165 117 fps 24;
+#X obj 135 230 value framesync/fps;
+#X text 39 157 If you want to get the current global FPS value \, then
+bang [value framesync/fps]:;
+#X obj 177 255 print current FPS;
+#X connect 1 0 4 0;
+#X connect 4 0 2 0;
+#X connect 4 0 6 0;