aboutsummaryrefslogtreecommitdiff
path: root/frameclock.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-11-17 06:58:19 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-11-17 06:58:19 +0000
commit94c0bf22453ce44ea85afa8b2b498df9c35bb454 (patch)
tree18301f082e59589a6e10c69e8eefac56cf7c87e1 /frameclock.pd
parent1d377d2d70e7e9842e79c2a7cc81d1f05bc1309a (diff)
switched it so that tabplay~ uses its own internal clock and fstablooper~ just sends it places to start and then tells it when to stop. This made jumping to arbitrary frames tricky, so now it sends a reset whenever you send it an arbitrary frame to jump to
svn path=/trunk/externals/framesync/; revision=12790
Diffstat (limited to 'frameclock.pd')
-rw-r--r--frameclock.pd28
1 files changed, 26 insertions, 2 deletions
diff --git a/frameclock.pd b/frameclock.pd
index 0c6b71e..7cf60b8 100644
--- a/frameclock.pd
+++ b/frameclock.pd
@@ -32,7 +32,7 @@ empty 0 -8 0 16 -233017 -33289 -33289 0 256;
#X obj 433 19 loadbang;
#X obj 433 39 trigger bang bang;
#X obj 155 217 metro;
-#X obj 123 139 hsl 154 8 0 1000 0 0 \$0-hsl \$0-hsl-receive empty -2
+#X obj 123 139 hsl 154 8 0 400 0 0 \$0-hsl \$0-hsl-receive empty -2
-8 0 10 -262130 -1 -1 0 1;
#X msg 371 88 range 0 \$1;
#X obj 435 337 bang;
@@ -52,6 +52,28 @@ empty 0 -8 0 16 -233017 -33289 -33289 0 256;
#X obj 555 64 framesync/fps_ms;
#X obj 24 14 inlet;
#X text 65 13 set frame position;
+#N canvas 0 22 450 300 delay 0;
+#X obj 48 11 inlet;
+#X obj 48 265 outlet;
+#X obj 48 229 float;
+#X obj 48 143 framesync/fps_ms;
+#X obj 48 165 * 2;
+#X obj 48 186 delay;
+#X text 78 42 in the tabplay~-based objects \, the re-triggering is
+based on a delay that resets if it doesn't receive the next frame on
+time. So to jump to a frame \, stop the clock \, wait a bit \, then
+hard set \, and restart;
+#X obj 48 102 trigger bang float bang;
+#X obj 183 264 outlet;
+#X connect 0 0 7 0;
+#X connect 2 0 1 0;
+#X connect 3 0 4 0;
+#X connect 4 0 5 0;
+#X connect 5 0 2 0;
+#X connect 7 0 3 0;
+#X connect 7 1 2 1;
+#X connect 7 2 8 0;
+#X restore 28 49 pd delay set;
#X connect 0 0 14 0;
#X connect 1 1 10 0;
#X connect 2 0 1 0;
@@ -85,5 +107,7 @@ empty 0 -8 0 16 -233017 -33289 -33289 0 256;
#X connect 25 0 21 0;
#X connect 28 0 15 0;
#X connect 31 0 14 1;
-#X connect 32 0 15 0;
+#X connect 32 0 34 0;
+#X connect 34 0 15 0;
+#X connect 34 1 29 0;
#X coords 0 -1 1 1 159 62 1 120 120;