aboutsummaryrefslogtreecommitdiff
path: root/sfruit/time-snap_beat.pd
diff options
context:
space:
mode:
authorLuke Iannini <lukeiannini@users.sourceforge.net>2009-05-21 05:10:26 +0000
committerLuke Iannini <lukeiannini@users.sourceforge.net>2009-05-21 05:10:26 +0000
commitc0dc3476a8baa832e6874b229470decfd522e3cd (patch)
tree508b5527ad31a1eb4bc8aa31026504cd0a7805e3 /sfruit/time-snap_beat.pd
parent3c670ef38aa37fa309ca0220f251279fbd94160d (diff)
more work on the delegate/dispatch design pattern
switched time- series to delegate/dispatch and added more beat-sync objects midi-stream2notes turns a continuous stream of midi notes into static lists of notes and durations - great for building sequencers but still has a bug. list-extract to "split" a list into a sublist and the remainder ds-criteria to get a pointer to the first item with a specific variable value svn path=/trunk/abstractions/sfruit/; revision=11471
Diffstat (limited to 'sfruit/time-snap_beat.pd')
-rw-r--r--sfruit/time-snap_beat.pd23
1 files changed, 23 insertions, 0 deletions
diff --git a/sfruit/time-snap_beat.pd b/sfruit/time-snap_beat.pd
new file mode 100644
index 0000000..96da63f
--- /dev/null
+++ b/sfruit/time-snap_beat.pd
@@ -0,0 +1,23 @@
+#N canvas 507 404 450 300 10;
+#X obj 185 130 r CLOCK-NEXT_BEAT_IN;
+#X obj 185 160 / 2;
+#X obj 123 84 time-last_beat_was;
+#X obj 123 33 inlet;
+#X obj 188 219 time-next_beat;
+#X obj 123 249 outlet;
+#X obj 123 189 sel 0 1;
+#X obj 123 124 t a a;
+#X obj 123 216 f;
+#X obj 123 159 >;
+#X obj 188 249 outlet;
+#X connect 0 0 1 0;
+#X connect 1 0 9 1;
+#X connect 2 0 7 0;
+#X connect 3 0 2 0;
+#X connect 4 0 10 0;
+#X connect 6 0 8 0;
+#X connect 6 1 4 0;
+#X connect 7 0 9 0;
+#X connect 7 1 8 1;
+#X connect 8 0 5 0;
+#X connect 9 0 6 0;