aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-11-20 00:22:35 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-11-20 00:22:35 +0000
commitbd3a03cbec06f2193250eee3af7864368ac271bc (patch)
tree543d4d6a9808d002a8b936002f03d2c65988b762
parent5bd2d306455cede7dc0f27f87286e3ac67150987 (diff)
set default to 30 fps in more places
svn path=/trunk/externals/framesync/; revision=12802
-rw-r--r--fps-help.pd8
-rw-r--r--fps_ms-help.pd25
-rw-r--r--fps_ms.pd40
3 files changed, 43 insertions, 30 deletions
diff --git a/fps-help.pd b/fps-help.pd
index 585290c..fbc15c2 100644
--- a/fps-help.pd
+++ b/fps-help.pd
@@ -5,11 +5,11 @@ 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 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;
+#X obj 165 117 framesync/fps 30;
+#X connect 1 0 3 0;
+#X connect 3 0 2 0;
+#X connect 3 0 5 0;
diff --git a/fps_ms-help.pd b/fps_ms-help.pd
index 7e54c78..f4754b3 100644
--- a/fps_ms-help.pd
+++ b/fps_ms-help.pd
@@ -1,22 +1,23 @@
#N canvas 591 561 450 300 10;
-#X msg 100 98 bang;
#X obj 100 132 fps_ms;
#X text 30 34 get the Frames-Per-Second (FPS) in milliseconds (ms)
to use with [metro] \, [delay] \, etc.;
#X obj 73 170 metro;
-#X obj 359 77 fps 30;
#X floatatom 117 158 8 0 0 0 - - -;
-#X obj 56 140 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
+#X obj 56 140 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 73 203 float;
#X obj 111 203 + 1;
#X floatatom 73 230 5 0 0 0 - - -;
-#X text 211 77 set the global FPS here:;
-#X connect 0 0 1 0;
-#X connect 1 0 3 1;
-#X connect 1 0 5 0;
-#X connect 3 0 7 0;
-#X connect 6 0 3 0;
-#X connect 7 0 8 0;
-#X connect 7 0 9 0;
-#X connect 8 0 7 1;
+#X text 152 77 set the global FPS here:;
+#X text 207 270 (the default framerate is 30 fps);
+#X obj 100 110 loadbang;
+#X obj 300 77 framesync/fps 30;
+#X connect 0 0 2 1;
+#X connect 0 0 3 0;
+#X connect 2 0 5 0;
+#X connect 4 0 2 0;
+#X connect 5 0 6 0;
+#X connect 5 0 7 0;
+#X connect 6 0 5 1;
+#X connect 10 0 0 0;
diff --git a/fps_ms.pd b/fps_ms.pd
index 7038a24..78e443b 100644
--- a/fps_ms.pd
+++ b/fps_ms.pd
@@ -1,16 +1,28 @@
-#N canvas 723 626 364 267 10;
-#X obj 50 38 inlet;
-#X obj 50 229 outlet;
-#X obj 50 61 route bang;
-#X obj 50 160 /;
-#X msg 50 139 1 \$1;
-#X obj 107 83 print [framesync/fps_ms]:_no_method_for;
-#X obj 50 192 * 1000;
-#X obj 50 114 value framesync/fps;
+#N canvas 521 451 395 377 10;
+#X obj 50 18 inlet;
+#X obj 50 339 outlet;
+#X obj 50 51 route bang;
+#X obj 95 275 /;
+#X msg 95 254 1 \$1;
+#X obj 95 296 * 1000;
+#X obj 50 124 value framesync/fps;
+#X obj 50 150 select 0;
+#X msg 50 215 33.3333;
+#X text 102 214 default to 30fps;
+#X obj 62 193 print [framesync/fps_ms];
+#X msg 62 174 setting to default fps (30);
+#X obj 107 93 print [framesync/fps_ms];
+#X obj 107 73 cyclone/prepend no method for;
#X connect 0 0 2 0;
-#X connect 2 0 7 0;
-#X connect 2 1 5 0;
-#X connect 3 0 6 0;
+#X connect 2 0 6 0;
+#X connect 2 1 13 0;
+#X connect 3 0 5 0;
#X connect 4 0 3 0;
-#X connect 6 0 1 0;
-#X connect 7 0 4 0;
+#X connect 5 0 1 0;
+#X connect 6 0 7 0;
+#X connect 7 0 8 0;
+#X connect 7 0 11 0;
+#X connect 7 1 4 0;
+#X connect 8 0 1 0;
+#X connect 11 0 10 0;
+#X connect 13 0 12 0;